{"_id":"@addapptables/alert","_rev":"10-b7f6f63a19cbad088b677f3952052675","name":"@addapptables/alert","dist-tags":{"latest":"2.0.0"},"versions":{"0.0.1":{"name":"@addapptables/alert","version":"0.0.1","peerDependencies":{"@angular/common":"^7.2.1","@angular/core":"^7.2.1","@angular/material":"^7.2.2","@angular/cdk":"^7.2.2","@angular/animations":"^7.2.1","@ngx-translate/core":"^11.0.1","@addapptables/perfect-scrollbar":"^0.0.1"},"repository":{"type":"git","url":"git+https://github.com/addapptables/alert-ui.git"},"bugs":{"url":"https://github.com/addapptables/alert-ui/issues"},"main":"bundles/addapptables-alert.umd.js","module":"fesm5/addapptables-alert.js","es2015":"fesm2015/addapptables-alert.js","esm5":"esm5/addapptables-alert.js","esm2015":"esm2015/addapptables-alert.js","fesm5":"fesm5/addapptables-alert.js","fesm2015":"fesm2015/addapptables-alert.js","typings":"addapptables-alert.d.ts","metadata":"addapptables-alert.metadata.json","sideEffects":false,"dependencies":{"tslib":"^1.9.0"},"description":"To get started, lets install the package thru npm:","homepage":"https://github.com/addapptables/alert-ui#readme","_id":"@addapptables/alert@0.0.1","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"teogl","email":"teito.lop@gmail.com"},"dist":{"integrity":"sha512-6hRyUUMNW4ut64y68fphnHLEsGO6ZfmK02p0HUgUaLRMXQbR5z+L/LjqHcCPea68nirXgwtxSemfPltfIPsFeQ==","shasum":"9c36e0ee30c884729de651e4f7d82827e6a8c1ea","tarball":"https://registry.npmjs.org/@addapptables/alert/-/alert-0.0.1.tgz","fileCount":64,"unpackedSize":214521,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcR4oyCRA9TVsSAnZWagAAglMP/15+3pg7tjT79zgDmDTy\n9IwTyfgkK2y0iybLutbSVdyTwhzB8ioeR8aQK2Wc/bEsy3FTm2P/I5A7VMaA\nn8J223XCiAAKWqphz6eIAN/eF+W/zhnA96BU1RUfxFJb+fg/SLRxQ1E3f38N\nhgI2T2ul2zmKU0EkxJktAedzmisDxC0m7Tek7iMzH4WO7XwI47jC2cNFLSw/\n6jv81XLEkdLGe+V6piZUd/PuOzGmT3A4hZdd7cMDjzO+5N15IPoTScZeu6VP\nF556OGLX5R9OBQpn47nu490/nR5cufydf0RscNr7gndrb8MQauAYjCWqTn3r\nXTdIMxcfzKexg/cmmVRv0v5dp0OF4142P1ZHdMo0S5PR7sOp5Wwmh4YJlQfg\nXMPMNvUb+EhbU2nnSiu5AQoGDnDKr2TuD3YCH7Q9UoqWbXjCM7L9JBm5I1mD\nM66MgBKSgzsVWEcFJ43rpvrkmIaKRAD7qcx17R0X5AOVOMfNpAnKC4AnOZzu\nwMcis83GpRmg2J8RNU9CY9/eBJcfripl0FOaI6Sh904YjfyIXIgXWamsmMHB\nNWx1UOnBE4MNaKv8/kR4Gch6ZLzjPQ7OZUBz+7tHIzz6aHRWmBA+TLswYcxy\nrb3C7tsrEy7+TtjnbLpJ2Sgr1t4/wLuMl/uELSjxoZNMs592qA8vXd31s+HA\nZJ00\r\n=E+ce\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCkASyqW5+5oQZz47TlQiwI0Uz255ZdM2OS/BK4V+ka9AIhAP3VyQiHd/JJyg3ifgGSsHqNOUEHp+/Mq26WkpX88Osn"}]},"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/alert_0.0.1_1548192306095_0.3049133701564828"},"_hasShrinkwrap":false},"0.0.2":{"name":"@addapptables/alert","version":"0.0.2","author":{"name":"Addapptables"},"description":"Material alert library for angular","license":"MIT","homepage":"https://github.com/addapptables/alert-ui","peerDependencies":{"@angular/common":"^7.2.2","@angular/core":"^7.2.2","@angular/material":"^7.2.2","@angular/cdk":"^7.2.2","@angular/animations":"^7.2.2","@ngx-translate/core":"^11.0.1","@addapptables/perfect-scrollbar":"^0.0.1"},"repository":{"type":"git","url":"git+https://github.com/addapptables/alert-ui.git"},"bugs":{"url":"https://github.com/addapptables/alert-ui/issues"},"keywords":["angular","angular 2","alert","material","addapptables-alert-ui"],"main":"bundles/addapptables-alert.umd.js","module":"fesm5/addapptables-alert.js","es2015":"fesm2015/addapptables-alert.js","esm5":"esm5/addapptables-alert.js","esm2015":"esm2015/addapptables-alert.js","fesm5":"fesm5/addapptables-alert.js","fesm2015":"fesm2015/addapptables-alert.js","typings":"addapptables-alert.d.ts","metadata":"addapptables-alert.metadata.json","sideEffects":false,"dependencies":{"tslib":"^1.9.0"},"_id":"@addapptables/alert@0.0.2","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"teogl","email":"teito.lop@gmail.com"},"dist":{"integrity":"sha512-h8aJ2L6p7O5edZVxAehrvb4Ks+Iz1e5Jz7Rh850/e6I+8o4tLNHnFYXAXJ1B28pWcLnATggBnKv/QHWrO6kD6Q==","shasum":"b8afebaf93780ce201c2ab249d7de3993f277573","tarball":"https://registry.npmjs.org/@addapptables/alert/-/alert-0.0.2.tgz","fileCount":52,"unpackedSize":220463,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcSz3BCRA9TVsSAnZWagAAj90P/1gdDNEe1DtKw/gFwR0e\nlqYSmUx0s8UGK9FOlKeEQvNlN4cM7FRgbJNlPRg9kELDVhrDt6WzR2f4+YxG\nBqAh70xCX7c88GEkxnHQcmjODP1XD0LsV4Oa8vVvnBvKoy5v+uJrqRWWIGiB\nOGkf360NlHchXxuFal6umyHetjtlqAcF6t7C7zYwRSV+VAAr20LdNPNdQXNK\nsGbyYZX/kHfGxR708YV7fymavBpfzUaneHsAe1cYh3zzgbPssLpk1yRbSsa9\nrOjow7HThB8Csm4uM980ZgSYgESkNIqzo/Dj56R23aDBZp9/h3QtCzBXAYox\npaG4kxv+pEmeD0gOkb5Z0I0UnJ7dX4e5ClMnA6zbuzGfoxDY2cqyvY9Agydw\nSafuA9MZQOEvfJyFdeWec/th5A2hLiD9lAt8W690R2L6OfbSL8eT6G5Afarv\n1N8iPwHXKlNdeUBL36PzHpk4Cv2ZH+wuWc0s3ZreX/3EaN1BSAFDEcpm3jdS\ncYJrJU4HajjPV95DAcmAKRXZIJbDETDNV/6ty2ukSvwv7kmsYVzXOg22C1+P\n6jYgpUY9/ne/Z3oOvLzpzR+6rlExDmWdYTNfrpB1BVa4nV5K6lOWjEdaS9K5\nm07b5Rnnt9a5oZK2MDJwxeZU9ysJSEVDUzc2GkyY0A35/UU54Ny0lnd1OsmX\nE+zQ\r\n=I4Mb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG/bGU0Xz2ywA5VWDMT7rsAoe1h+JYRvlkk5pd5euADfAiEAgPOE+2fsa2FJKETbZgd+mmZXRNHQK7Buqp52jMYqJEU="}]},"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/alert_0.0.2_1548434880452_0.7193199089322591"},"_hasShrinkwrap":false},"0.0.3":{"name":"@addapptables/alert","version":"0.0.3","author":{"name":"Addapptables"},"description":"Material alert library for angular","license":"MIT","homepage":"https://github.com/addapptables/alert-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/cdk":">= 7.0.0 < 8.0.0","@angular/animations":">= 7.0.0 < 8.0.0","@ngx-translate/core":">= 11.0.0 < 12.0.0","@addapptables/perfect-scrollbar":">= 0.0.1 < 1.0.0"},"repository":{"type":"git","url":"git+https://github.com/addapptables/alert-ui.git"},"bugs":{"url":"https://github.com/addapptables/alert-ui/issues"},"keywords":["angular","angular 2","alert","material","addapptables-alert-ui"],"main":"bundles/addapptables-alert.umd.js","module":"fesm5/addapptables-alert.js","es2015":"fesm2015/addapptables-alert.js","esm5":"esm5/addapptables-alert.js","esm2015":"esm2015/addapptables-alert.js","fesm5":"fesm5/addapptables-alert.js","fesm2015":"fesm2015/addapptables-alert.js","typings":"addapptables-alert.d.ts","metadata":"addapptables-alert.metadata.json","sideEffects":false,"dependencies":{"tslib":"^1.9.0"},"_id":"@addapptables/alert@0.0.3","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"teogl","email":"teito.lop@gmail.com"},"dist":{"integrity":"sha512-ZZTjqj7UC6nhUJLA1lmurthwg6YhFscMd8aYbJiRe9WVFxSF+vsSkTv/dRTCmCcLln7aQgmqACLy8imD0H3pqg==","shasum":"9c5f5cac4908eea21b5e187cc632d05c6eeaf7fc","tarball":"https://registry.npmjs.org/@addapptables/alert/-/alert-0.0.3.tgz","fileCount":55,"unpackedSize":266332,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcTdslCRA9TVsSAnZWagAAkjgP/R+Db9n92l+NoGbAHBKo\ncnZjitC81SoJRfQUeOS5WmOewMu7bf4ufYuX65XTEleXw/2i1pW64UNpR/G/\nzY5IDoj8d9qWZq6IACe1FNJ75M1El5/gRgoUJ5vSiJeeZ71MQZo+bOyJD10W\nCB6IuA7qtwNobNaf36I8nbdZhvd7/fxEbOaLoNbCXOOISobSwB7cU10axW0x\nqUMms357u7P5VvXFINSoxAN8h5Y/2cAveeJKbhoV1PgKKpQEuaHgm9nR07Nk\nuNd0P8nmBwVgPGkCIwTgonYeHSuupKNXToXv0jGo75iicF+JwbMO+/uTxXup\nafubBiKKdjv0h5r1bSJ9psN+YQOAB5iVEwIE8KvyDx0LBuFeXO9GSsDDjYfR\n4LAMr7GPMUFJa0bwcudFplQ2QgXFECNYV4gtZbB4v8fn0jzplzLsMZ6Eh387\nkAIrwXVhM01osEbOmT4QMeS9ug4//vg6c8t46SV1OMoRnvvF+fhTIcsBPoFO\nY7PG1xA8kmHWQXa1YecPrERsBvtYLQvspf29QIhquTp/j9omlGPgyHxaK9Ce\nDUeoslMjmHAOyBli+refQYoCj/60gK8JI3c9KuksZZ/P7GzYyL4tvpia6na5\nMY8H3M+HpwSt0QfNAEpLbrCcpEn6eUn/cBNTrOs6K5k6xK7ytSNVpXPK4+NW\nzgTc\r\n=BifU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHx1Cc/srf2WAvEUcjycoinW4iDQFdsW/1CWqs16YQ5XAiAkTlE+n2SOGSDEHdHBvqzvCPEIuumhkd15LI+/5r1Knw=="}]},"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/alert_0.0.3_1548606244566_0.15185871866398837"},"_hasShrinkwrap":false},"1.0.0":{"name":"@addapptables/alert","version":"1.0.0","author":{"name":"Addapptables"},"description":"Material alert library for angular","license":"MIT","homepage":"https://github.com/addapptables/alert-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/cdk":">=7.0.0 < 8.0.0","@angular/animations":">=7.0.0 < 8.0.0","@ngx-translate/core":">=11.0.0 < 12.0.0","@addapptables/core":">=1.0.0 < 2.0.0"},"repository":{"type":"git","url":"git+https://github.com/addapptables/alert-ui.git"},"bugs":{"url":"https://github.com/addapptables/alert-ui/issues"},"keywords":["angular","angular 2","alert","material","addapptables-alert-ui"],"main":"bundles/addapptables-alert.umd.js","module":"fesm5/addapptables-alert.js","es2015":"fesm2015/addapptables-alert.js","esm5":"esm5/addapptables-alert.js","esm2015":"esm2015/addapptables-alert.js","fesm5":"fesm5/addapptables-alert.js","fesm2015":"fesm2015/addapptables-alert.js","typings":"addapptables-alert.d.ts","metadata":"addapptables-alert.metadata.json","sideEffects":false,"dependencies":{"tslib":"^1.9.0"},"_id":"@addapptables/alert@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"teogl","email":"teito.lop@gmail.com"},"dist":{"integrity":"sha512-oM26m7mGPDZPGfc20JbYmGYvotWT7mKwB7lzxhOVUOyL3zTz3GyxdG/xaiDD9IXmyD81tvHGXD/6w0IgG/udlg==","shasum":"cadfbd4a90029f9ebe08c6c5710ae81f8fb73a69","tarball":"https://registry.npmjs.org/@addapptables/alert/-/alert-1.0.0.tgz","fileCount":55,"unpackedSize":269005,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcVb1YCRA9TVsSAnZWagAAb9sQAKEq2ekR7QD1SPLeGVwH\n71qgHI2wZipAE1x/AUFuzGLgSuZkeppwkqCii0KjIC54mznrZjBLFZlrv0fl\nw2kB7l+UPyQVOGb9FTCiv9eK9+yEpvdgm+Y0UbnGzruoQpwaWPivybmZqo5c\nY0ss/heVJ5mzBBnvs956+ZqxkfJCzqwmfeSXWOQ2Ee9qrSC01bsFm4jLdGU1\nbq3HUx2bu2Iz+il6GlltFmtiy2ppa1OP7kymLZM+tQJMZasFnWcKggglsy0g\nvKDj1prc+i5DSr98s7QEWp5c2VE5pfboaIhDMOhlb+5kA4VEsQ7cyKC7wAA/\n0sAMrXR+sX6C4Zd+nyHz8jbQE3HMp8fBQowozl64OQqF/W4i+Kff2fvaKZKa\nHwN9hjFw6Nc/2qL0sTFYVSWWKxTHfGZolhY7KnzzAjBcyIwq52SU+raccmDj\nIHvYb07CyI59mrJ27Vt/agWjx1MyPqY54jOyMGejPJi0n5+X54yFrpziM5Wu\nDO37Yke/QOHrXAs7lHPADsSmpzpor7BhFrcnElSceJ6oyo0VvxrCcdueFinf\nMeXUUP0FRKGCC9/5bUrP8DPOv9Yk5zjLlkxGL0JhY8QkjAJ/qC5OH5+0gVLn\nooheHc9/Ib7ybEfYxF5pUt06gMJRh+vrNP3Thu863D/P2JjJgBztx0h7oI65\nvCGn\r\n=GFs0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHiDeYKNB2Qe+UKZCWgnuqCoQLanoa35Jl3KylpE0GFLAiBMieEfiJZsxHeWvr1T+qJHu1dNuWviDN3e6nrAOQlFLQ=="}]},"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/alert_1.0.0_1549122903975_0.7410685234044057"},"_hasShrinkwrap":false},"1.0.1":{"name":"@addapptables/alert","version":"1.0.1","author":{"name":"Addapptables"},"description":"Material alert library for angular","license":"MIT","homepage":"https://github.com/addapptables/alert-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/cdk":">=7.0.0 < 8.0.0","@angular/animations":">=7.0.0 < 8.0.0","@ngx-translate/core":">=11.0.0 < 12.0.0","@addapptables/core":">=1.0.0 < 2.0.0"},"repository":{"type":"git","url":"git+https://github.com/addapptables/alert-ui.git"},"bugs":{"url":"https://github.com/addapptables/alert-ui/issues"},"keywords":["angular","angular 2","alert","material","addapptables-alert-ui"],"main":"bundles/addapptables-alert.umd.js","module":"fesm5/addapptables-alert.js","es2015":"fesm2015/addapptables-alert.js","esm5":"esm5/addapptables-alert.js","esm2015":"esm2015/addapptables-alert.js","fesm5":"fesm5/addapptables-alert.js","fesm2015":"fesm2015/addapptables-alert.js","typings":"addapptables-alert.d.ts","metadata":"addapptables-alert.metadata.json","sideEffects":false,"dependencies":{"tslib":"^1.9.0"},"_id":"@addapptables/alert@1.0.1","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"teogl","email":"teito.lop@gmail.com"},"dist":{"integrity":"sha512-xjGCgU5s5x3P/JAsvgAC1TdpewSN2D5PiVNgJhTIAL8vYQbu2NGbyPzGxQEcmLLx43Xwao96ZIRVUZahNe0q5g==","shasum":"ba888d1f266271b9697f4a1e93c9c2d3aa88835f","tarball":"https://registry.npmjs.org/@addapptables/alert/-/alert-1.0.1.tgz","fileCount":55,"unpackedSize":269703,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcVwAUCRA9TVsSAnZWagAAsoYP/RK+hpeL7HNJTtVPEmwH\nqPv7ZMz47KBHpMlZEiLnjmRlv7V57ubyxwtBBJhJ4vKJ4BLw6QTM32EDa5/f\ndwlZmK6Pg1k+5UuBfwqFpWMML8a6mTazrF+g7NBo2zP4C4dg4Eo5A99AEj3t\na6lx8tWCeNBsPeEbIGEnMVywzvNqPR1N9fvMfmqNSdCFy99DfyxPhrzmB6zY\nUTPMwsKuwkiVmcwgwrY9SyiF/f1YpHWsi7zPvWl4eBQsATizI2R6P2F492co\nzi6xvyE8/gzrJSICcskjFllgPQemtF+KACPj9lRXhE37aZ/CPwWsmXKz+Isi\nhxxmdpEkHc1ayK4rS/2xVsnDKtYvF4HwQJZdaamCI6guuilMDDhRQVHktoTd\nCITayMVAnUYA63zhCaBWKVTr8MGJpPX5lJB6Ewn0Mc39fMUFFe62/WiudQV9\nS3rTdXDLWnOGy50nzTtjMybIufOLPdIQCVrS9D5DveWxdg8nZ6GDrMUkU3B5\nO+U3uXsdk3Mw+YeZfnAPLfyxG05+exypCgQgeff1EcrsyQ2/qsuLyqOdDdIv\n+6D64ygincf18ZreC4gWiDtiXTKdJpFqNUocw4LiSIR6TUVtnsHyR/b9U4GK\n0+OQgmnB4fxVch0jQV9Np6Sl7VePY1G7ueCBH+pRZ74TdiUfQMA3C9aLXQLQ\nirUS\r\n=ViKc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICz0lKy7bsa172/BVausw7yVOStYIR7bgnusa4YTTKeJAiAYMnYNAplhXwKQcklRCnl6IY6VGq1T624pSYTO+94wkw=="}]},"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/alert_1.0.1_1549205524344_0.4914191926591758"},"_hasShrinkwrap":false},"2.0.0":{"name":"@addapptables/alert","version":"2.0.0","author":{"name":"Addapptables"},"description":"Material alert library for angular","license":"MIT","homepage":"https://github.com/addapptables/alert-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/cdk":">=8.0.0 < 9.0.0","@angular/animations":">=8.0.0 < 9.0.0","@ngx-translate/core":">=11.0.0 < 12.0.0","@addapptables/core":">=2.0.0 < 3.0.0"},"repository":{"type":"git","url":"git+https://github.com/addapptables/alert-ui.git"},"bugs":{"url":"https://github.com/addapptables/alert-ui/issues"},"keywords":["angular","angular 2","alert","material","addapptables-alert-ui"],"main":"bundles/addapptables-alert.umd.js","module":"fesm5/addapptables-alert.js","es2015":"fesm2015/addapptables-alert.js","esm5":"esm5/addapptables-alert.js","esm2015":"esm2015/addapptables-alert.js","fesm5":"fesm5/addapptables-alert.js","fesm2015":"fesm2015/addapptables-alert.js","typings":"addapptables-alert.d.ts","metadata":"addapptables-alert.metadata.json","sideEffects":false,"dependencies":{"tslib":"^1.9.0"},"_id":"@addapptables/alert@2.0.0","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-z5YD70EXqGplvExmujwBsm448FbkL3lQovFkFKmZemFuMXkJnpClwyn3sZMDR+QX4g6xebEwzgHHMgLHWNqx1w==","shasum":"b6f3290d905e7af101976d294859b9a20f733176","tarball":"https://registry.npmjs.org/@addapptables/alert/-/alert-2.0.0.tgz","fileCount":55,"unpackedSize":269033,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdF318CRA9TVsSAnZWagAA5y8P+gIr0qhCqy1wsgfhawkJ\nfD1Y5Hk3dP+rYotK6Jrya/dQpVeSvnnmzre95IRUc4rGqRTrye1kintuAf6m\nQk2E49bid81WCBkkqKp+84D9isJ1aChuN7KbE8ID42K13F+QEf3/zgjoCI3/\nFboVKFhKbVTUjro6f31thQ5LA0vEvQrEyGATC7uts+sMdHYq5ikcFMe+XcRu\nJYnk987UKHW1GikOwOiEYYMDQs2K9oqXfkhYGZYsNzC1M7ekSXFWBoiHo0RH\nv4K0seKB8/lSMd5PcbnNnHwkca1e4YznYK7BBC3lVMtXZ7zPRhKJslc5kfdI\nyiIbbzqtlN0ckSMyTYMuuUz8I4510LbGOY4Zgf34W3pVskmRlfFfBH5Rjfya\nDNF0yRjz0YSc10C18wJ/EJ6YgUuZ9vBcoPHHUxv4OlyQJ7zcOm0uAPyzwx1Z\nMG+7y6zWLoJbduZXnnUPf10XIrSy0K7k1h8m0Nw2LxSQtK6XxAOhS3akdGb9\ne2Mz9k2VOMTzgSHIu5q/dcKJ2xCEPCV//gX3u2MqJlOus4iXNAzuiSym3HpZ\nrbdzGCLPb2T3GQvum/v6NVH9L/D9Qced5DjIA52blqREYLMpRcQUDZVG/56j\nWnS+mZT+SalML9Rk+zHeD7gc2hvoL6o3+NibxWtu1K/MsOLfQcAJOUexYh3P\n8fPl\r\n=sH0y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCOzFiMhlLCcBcau2HF+2+sHhKimvTHSdI+TI+GDYT4UgIhAKoCUwao0TyWJqjSmZsK0ZCPtbMzIOAYGihK4QkwUO3e"}]},"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/alert_2.0.0_1561820539463_0.7462499151052575"},"_hasShrinkwrap":false}},"time":{"created":"2019-01-22T21:25:05.922Z","0.0.1":"2019-01-22T21:25:06.274Z","modified":"2022-04-04T11:27:41.914Z","0.0.2":"2019-01-25T16:48:00.629Z","0.0.3":"2019-01-27T16:24:04.703Z","1.0.0":"2019-02-02T15:55:04.124Z","1.0.1":"2019-02-03T14:52:04.462Z","2.0.0":"2019-06-29T15:02:19.605Z"},"maintainers":[{"email":"teito.lop@gmail.com","name":"teogl"}],"description":"Material alert library for angular","homepage":"https://github.com/addapptables/alert-ui","repository":{"type":"git","url":"git+https://github.com/addapptables/alert-ui.git"},"bugs":{"url":"https://github.com/addapptables/alert-ui/issues"},"readme":"# ADDAPPTABLES alert\r\n\r\nADDAPPTABLES alert is a library for angular\r\n\r\n[See demo](http://addapptables.com/admin/components/modals-alerts)\r\n\r\n[Example code](https://stackblitz.com/edit/angular-alert-addapptables)\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/alert\r\n ----------- | -------------------\r\n 8           | 2.x\r\n 7           | 1.x\r\n\r\n```\r\nnpm i @addapptables/alert --S\r\n```\r\n\r\nInstall peer dependencies\r\n\r\n```\r\nnpm i\r\n@addapptables/core\r\n@ngx-translate/core\r\n@angular/material\r\n@angular/cdk\r\n@angular/animations --S\r\n```\r\n\r\n## Configuration\r\n\r\n- First, you have to configure the library @ngx-translate/core to have the translation into the alert\r\n\r\nThe library is configured as follows:\r\n\r\n```typescript\r\nimport { TranslateModule, TranslateLoader } from '@ngx-translate/core';\r\nimport { HttpClient, HttpClientModule } from '@angular/common/http';\r\nimport { TranslateHttpLoader } from '@ngx-translate/http-loader';\r\nexport function createTranslateLoader(http: HttpClient) {\r\n    return new TranslateHttpLoader(http, './assets/i18n/', '.json');\r\n}\r\n@NgModule({\r\n    imports: [\r\n        HttpClientModule,\r\n        TranslateModule.forRoot({\r\n            loader: {\r\n                provide: TranslateLoader,\r\n                useFactory: (createTranslateLoader),\r\n                deps: [HttpClient]\r\n            }\r\n        })\r\n    ]\r\n})\r\nexport class AppModule { }\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 { BrowserAnimationsModule } from '@angular/platform-browser/animations';\r\nimport { AlertModule } from '@addapptables/alert';\r\n@NgModule({\r\n  imports: [\r\n      BrowserModule,\r\n      BrowserAnimationsModule,\r\n      AlertModule.forRoot()\r\n  ]\r\n})\r\nexport class AppModule { }\r\n```\r\n\r\n```typescript\r\n@Component()\r\nexport class AlertComponent {\r\n\r\n  constructor(private _alertService: AlertService) { }\r\n\r\n  openDialog() {\r\n    this._alertService.showSimple('Alert', 'Simple alert');\r\n    // this._alertService.showSuccess('Success', 'Saved successfully');\r\n    // this._alertService.showWarning('Warn', 'Warning');\r\n    // this._alertService.showInfo('Info', 'Information');\r\n    // this._alertService.showError('Error', 'Error');\r\n  }\r\n\r\n  openDialodgConfirmation(){\r\n    const dialog = this._alertService.showConfirmation('Confirmation', 'Are you sure delete alert?');\r\n    dialog.beforeClose().subscribe((result) => {\r\n      if (!result) { return; }\r\n      switch (result.result) {\r\n        case 'ok':\r\n          console.log('ok');\r\n          break;\r\n        case 'cancel':\r\n          console.log('cancel');\r\n          break;\r\n      }\r\n    });\r\n  }\r\n}\r\n```\r\n\r\n```html\r\n    <button type=\"button\" mat-raised-button color=\"primary\" (click)=\"openDialog()\">Alert warning</button>\r\n```\r\n\r\n- Finaly, it is important to import the styles to the application\r\n\r\n```scss\r\n@import '~@addapptables/alert/addapptables-alert.theme';\r\n@import '~@angular/material/theming';\r\n\r\n$addapptable-app-primary: mat-palette($mat-teal, 800);\r\n$addapptable-app-accent:  mat-palette($mat-pink, 800, A100, 100);\r\n$addapptable-app-warn: mat-palette($mat-red);\r\n$addapptable-app-theme: mat-light-theme($addapptable-app-primary, $addapptable-app-accent, $addapptable-app-warn);\r\n$addapptable-theme-variables: (\r\n    color-info: #20a9d2,\r\n    color-success: #5cb85c,\r\n    color-danger: #d43934,\r\n    color-warning: #e09d3d\r\n);\r\n\r\n@include mat-core();\r\nbody.theme-default{\r\n    @include angular-material-theme($addapptable-app-theme);\r\n    @include addapptable-alert($addapptable-theme-variables);\r\n}\r\n```\r\n\r\n- Do not forget to put the theme-default class in the html body\r\n\r\n```html\r\n<body class=\"theme-default\"></body>\r\n```","readmeFilename":"README.md","keywords":["angular","angular 2","alert","material","addapptables-alert-ui"],"author":{"name":"Addapptables"},"license":"MIT"}