{"_id":"@aofl/map-state-properties-mixin","_rev":"145-2f61c82aa40f6bf10983380bcdf3a0ea","name":"@aofl/map-state-properties-mixin","dist-tags":{"next":"2.0.0-alpha.17","next-alpha":"3.0.0-alpha.12","beta":"3.5.0-beta.22","alpha":"4.0.0-alpha.45","latest":"3.14.1"},"versions":{"1.0.0-beta.22":{"name":"@aofl/map-state-properties-mixin","version":"1.0.0-beta.22","author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@1.0.0-beta.22","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"},{"name":"bill.salak","email":"bill.salak@aofl.com"}],"dist":{"shasum":"26105116b61d4c0877c63ce637c05b4c72ede0cf","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-1.0.0-beta.22.tgz","fileCount":3,"integrity":"sha512-99qJoZzPX+XHvpoJSuiSAalRQMW9/vLnq3Ej5R17K6rXUkbQfaZto2vKHd4ge6mqyTFCrSHuX3XmdPUBV9hAtA==","signatures":[{"sig":"MEUCIQDpVGFIGFz03XoOED33Z3InotLchrhYHTGLncqbxQ79DAIgYa0PLId9ieSpLTBfzj9RUdCMywVfc2q6kZMEuWvW3P8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1616,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbbeY8CRA9TVsSAnZWagAAuVwP/25gGeXbEHdtg/sbHof/\nQ6XM3NvNjJ4S0DE1xUp474h4OtM28Ykb3qR/8rNnf2sX+6L0sEoTrFuyY9+1\nYImHYWRbClH/D05OYbuC3Qt5vWm1FHgvO8PPzUSwLA8N2vjcinNWnoQZkT2j\nvVht0RNp+xYo0mMxVn1vv/XVX29ChPFBuPS1DCXvCcbq/RwmvGxseDbLUbh2\nZvI1sTWhiGM3rI4mWJA3YFYCl+DRodUMfxZpLu1C3hSxA2jjFLZvBUY4cL8b\nbrpzW3nD5mv+h7DgkoXdfNtWocXHqiOBwtX5ZtD+Hr94NoR7A3IoY8se7gg6\nByP43cvdy3rkwYH2ALFpWGZj57tCqB+RbtoN63AaYqwnd6ZtuzBVn2VoU6jM\nppe5sSufahd+L8PmNBs0sBCoStZcrOU+vmZITVHF1+BzlmZC18whsDYiSbof\n8vZTpPTIyh2jmEe482NLiVob06wV7GaewnhCcrTlzmrSzI62KXlXP2r5HjEr\nsoGxffj0hV5cL9egxlJqgz0VehrKXg+I2jsOAkGh6ieMWCSZsXBlms2tCYi3\npkZ4xrg5XF3Lat76ST2EYrzC82ll35QMr4ie4l3bv6PaCWccDFpX3pBtLZiY\n7sDw8C1RWSqkjy0YIbrWEUF8TgaUFWhaewowwr6qP+Cg5PKOz5fi3fgravwq\nTii+\r\n=d2Py\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git@gitlab.aofl.com:CoreJS/aofl-os.git","type":"git"},"_npmVersion":"6.2.0","description":"","directories":{},"_nodeVersion":"8.9.0","dependencies":{"@polymer/polymer":"^3.0.5"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_1.0.0-beta.22_1533929019467_0.9773879405512866","host":"s3://npm-registry-packages"}},"1.0.0-beta.23":{"name":"@aofl/map-state-properties-mixin","version":"1.0.0-beta.23","author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@1.0.0-beta.23","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"},{"name":"bill.salak","email":"bill.salak@aofl.com"}],"dist":{"shasum":"e1206d79cce575c0bd2ff86aa8effbb38df90a5b","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-1.0.0-beta.23.tgz","fileCount":3,"integrity":"sha512-ItMXbmMUONL9UQsPJE736DsNiiwaa1X+dFhftW5GYf2fRUhoswYui5lh7ztEUvJ20VGlI0brw/wgKzwnmK7h5Q==","signatures":[{"sig":"MEUCIQCtpT1C7t+TZMK76auGmdkarRNFcSvOzpH0oNHMqKAFLgIgfG9ivmMddM1h0w3011PKQXu0gqh7q2LwADfCKp9mfdI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1616,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbde5eCRA9TVsSAnZWagAAwUcP/2/3/oM0HyFC97YHnhOx\nzk6ck1KCgDc60SM41wuFuAqqlYLhMkvwubqby2cpqp3lCwybO3SqrQOLoUZz\nciCLWbHI6qyCiS7kWE7BoRpLvMZ8qVSSfUkqhyv7gF83X4JFRtaLtctbaXpe\n4n7WsNqzbt8eBqJS5iOvo97pGAuLhBMiTm7/MrpcemON/C8nPKR6bMaoXdxk\nyrgCHAXBBDP0MEYomkdB07LVP27Q187yNNNrRPNrZ54Z8t4shq4T2inh4AzR\nc31pwB/nah9jWjdQTfIvk3HoctUuBYxnMurfSBOGjw5H+DWYizwgdftdh4kH\n1xnINzk/FqsFgmV6/kbz3PQuqQeYHJrYTgOzKl7CGUj7Zv76Rps/7WHPBuYC\nrnnG+Mx69888dXblRXbYv3rK1fC7H+04fg16MH6kA/kv2pYNTxaneMBrdkjX\nwyXY1Q3Nyp3O0Xa3jei7FFeTaGXTQLicUEttWAMrdSfQVj8aypb3m6Hqhb6r\nsu/N8XBKwl8lTn76IISd0+s7R9vXqZT1KTIShhAdwnW+HGqx0RYxQV6CCb5+\n1gXv2mgRSVlK9JTdw8FqsxvphLzSPC0JqsW4aCT3qR2QULXTRLbQAuggWs/k\nNLjpEKFHdkhHkTO2XunTio+TQhYe2XGB2uQGiYilfqB3D4XKZ3AYyZRuzpiK\nm//u\r\n=/tp1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"ERROR: No README data found!","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git@gitlab.aofl.com:CoreJS/aofl-os.git","type":"git"},"_npmVersion":"6.2.0","description":"","directories":{},"_nodeVersion":"8.11.3","dependencies":{"@polymer/polymer":"^3.0.5"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_1.0.0-beta.23_1534455390150_0.9036015514641087","host":"s3://npm-registry-packages"}},"1.0.0-beta.24":{"name":"@aofl/map-state-properties-mixin","version":"1.0.0-beta.24","author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@1.0.0-beta.24","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"},{"name":"bill.salak","email":"bill.salak@aofl.com"}],"dist":{"shasum":"e5de070a5af720bef8cfe1e1833e96bcc9a5b82f","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-1.0.0-beta.24.tgz","fileCount":3,"integrity":"sha512-T0Rl9r1vb9TretZVN9r8Yv/bsuELJbtJBao9aGmwPcZxcUiCYHdUpbguSFVG1C5r9IS+rgnh/b5s2iGY3DyUQw==","signatures":[{"sig":"MEUCIDU7fXNhynkp1TcpNp3tavC+iVjENYztBnKa4WzMNitDAiEA/L7DNvbSQaFniKb4lF5kWnFYZaikctHqviQYMXVF0CI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1616,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbfeROCRA9TVsSAnZWagAAhkIP/jNBLksS6Dp9llgA5bnn\nTAqESUlJqso8OElTwe8etMojHyMo5LVNmTisbww6E3WMA1XcRpSj9fC3M3mF\nwpZ9kYaKqtDlkPXCV+uJdSoxVplfomSyRnI9TMubI8mJFslNg6ZQGrwXaDBm\njxVewkpDeQdroG8FlQMe72QkxrnhWSjEwgbe1e52BkKss/qLjXFCyYW+S8mN\n9Rhq55tdijVXXvFKc275BawM4qfK2MOB4RD3SNmFCldzDgnejSHy8sF4ZKmf\nfV/HsfDuSH1tlTg2cJLlM5WCjuwc1b9ogS8TRRT/Lmswp1ECivGDesCu2ZbS\nY3rOfl5wlFpCb8vaDDRWTC2sbWkvaUTikwhZxTxcGquVWF+uMIpPQ/wBGCdb\neBTdW8kNYYENtLrSh0aavQvb3wDEMpIdAUY26fTE8YGwWApdNMQs4D5nlafI\nSSNsBgRNmABtjSGVhF+GtfoAflgovkF40QEQj1r2KMEPuzpZtyoXVDQUvxIl\n+uNLD7bkAgxAxMtJmNh12WIMuIHMX8nMUmq//d+eQQ2pScObLLjE3LM42iOM\na1yZgslRYa0q1UhE8zd3pXdmrwyc8cuLXeVyB5S2P8gQUw48vEs0SjfZJrC/\nu9vgfYmVBSRhxy9laowolVsUllk9ha7Bgpk/3VcfePQhFfGF4xzHedt1FA+D\nuPJN\r\n=fJ4f\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"ERROR: No README data found!","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git@gitlab.aofl.com:CoreJS/aofl-os.git","type":"git"},"_npmVersion":"6.4.0","description":"","directories":{},"_nodeVersion":"8.11.3","dependencies":{"@polymer/polymer":"^3.0.5"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_1.0.0-beta.24_1534977101703_0.4064826748151624","host":"s3://npm-registry-packages"}},"1.0.0-beta.25":{"name":"@aofl/map-state-properties-mixin","version":"1.0.0-beta.25","author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@1.0.0-beta.25","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"},{"name":"bill.salak","email":"bill.salak@aofl.com"}],"dist":{"shasum":"cacca516e4398d4a7d36e0f205e1747d28bb8b95","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-1.0.0-beta.25.tgz","fileCount":3,"integrity":"sha512-pZw3G6Sm+NHIo7u3B421BM1RdJdM9yY8COzPbkeNxctYEb8EvPJayk/OSESYmQGwbt9wsm/ufLUiUuBVCZdWZQ==","signatures":[{"sig":"MEYCIQD5DOhpDiwWrPrQg/4zHMd1jdHm9TbejmO+gUIWaPIgggIhAOmg3SQRJW9wUqZxymckmeKLISy+3Vd4oXBk7PSGMGoI","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1616,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbfwquCRA9TVsSAnZWagAAQV8P/1bymSCp4ZzPtMMBFTC+\ngZy2A7uiQl6/53+nnVDbnRA5u7nNo/tD/h2B0cKCpear6WEsm4YJKf2q+1PP\nLBMaNm9xWXxZmr3ha2Ujy9w4kjpozzZI/MLfYLOPiLg43UP8GzeUiWYOdygi\nzHSrvBr5GA0yqBpCx4JQPY34GpoRgUfjJja8vnn316ZpLGPfJ01p54/bcXIe\naG5/GiaQnXsAOM+NfprA8H0wxDW3e0DqaJpViJYvzXSyHI4MPJevqGwtd8SB\nLSS53HdAns5JV0oT5zPfQ2+xhtnsvbezkljSngFvNcuR+ULQFY/j7mGpLjyZ\nixvSaF7rsH+9BqzRpjo9MInhvcn2QGjr9UoU1Onuzb0nUy9fk3+wYztNxDZj\nUHLkTzs50rcvQbVEyLxooERGHi5cAH/hLs/n3vNXRYIv4Ut1yKd8ove1a9Vb\nxFLRKJNTiXYHS+LtIOPEXbSozRDkWWV88Dq/zp9NyqOLTzXyTHGB9FsynWz+\n86dSz3xkL/jRlGRfez0R7Hg74rZmnH9sFq/Dk7Afz3iqktk4g4ENfAKiCaRu\nh8nd3QlBkjEvTXM2YiT2a5RSGOV041PFnwPESiu2cMOl2doZD/5yWuJ9GAny\nSYi96NveaitnsR2fIw9gusJ0A+q+Jbp+wsgWo8SdeoXXN31zBo1DiFetjzOQ\nyTln\r\n=AvLR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"ERROR: No README data found!","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git@gitlab.aofl.com:CoreJS/aofl-os.git","type":"git"},"_npmVersion":"6.4.0","description":"","directories":{},"_nodeVersion":"8.11.3","dependencies":{"@polymer/polymer":"^3.0.5"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_1.0.0-beta.25_1535052461716_0.47487267050413595","host":"s3://npm-registry-packages"}},"1.0.0-beta.26":{"name":"@aofl/map-state-properties-mixin","version":"1.0.0-beta.26","author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@1.0.0-beta.26","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"},{"name":"bill.salak","email":"bill.salak@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"dfae2cb1c856917ff5345639d8540d9874a4c449","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-1.0.0-beta.26.tgz","fileCount":3,"integrity":"sha512-YCGalKYq/Bwumv9N8h4KrF+Mckt0IcjkV4TA1WEvGpQuDpWOTZaFnS7LhVHQUm87wEsHtMaycPgdoSj5KAkkBg==","signatures":[{"sig":"MEUCIQCSBqKePtepMDSxCUmCxAXzlCGp9AgPX+bq1sp1hF9DkgIgaKLodckgaxbng5vLAwzvw86fuAqKhuWP+w6oYACncZk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1615,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbhEDiCRA9TVsSAnZWagAA9z4P/jnljJw8cKIiLNGciI+D\n6x/Aqd2Gd70lgICOBobcRuvMoBYTDAFByAWH4y6NrT9LI01ycWoyG0XNNSrQ\niva1P0dcWAIymYSd2rigMiEjZoaGDNV6ipJHfl7JT3vc/lEDQPsqx1qg7p8W\n7T1tzR2ItmXFMUQF8hCUMAcwHDKrAEa9U2AFuBPGa94CscD4Sb91DycEK8Bu\n76QOTxoxCmFVgyXxFTCl0MZ25bwItYWo69WfhKpHRuCC1T77XybSBqn4DBWE\nbHUxKg68a3uJ2PyQEY+znpq7tU7XETk2y5zwI2puDJXrjjfA5mueTYt2sHnT\nihTIGULHLpzq2hg0xQKdluv7xofmzR+beoHHb5E/Y7VwpmYd6e9EXIo7rjCF\nQNPqfA620Lv2ql9sfc/bqbhAp/hgyZXRK3zbbnRmJA5jyGgkfXDLjnOLvnzM\ns378/MVKK8sxABN+geV4ibusoJy4/TJ68/lXhK0tbKMy+95ds518J5YZk3QY\nFpRC+eR+PDHlYTbd6hVvUNyVo6E6MUUDe6Ze8NCvXhyejNm7HMR0zGZYcZv1\nbu7UbwVcy3MFCAVL5nC/SJwMFH7yRznD6WoTyIxiubdduszylMYkGKQ0hueF\n7PLcXGCdhel1qess3+Jz8f4bqADIHbOcxqGzJMLjSFuIRChS4ofcwfcdboKo\nTQ9w\r\n=fZ88\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"ERROR: No README data found!","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"6.4.0","description":"","directories":{},"_nodeVersion":"8.11.3","dependencies":{"@polymer/polymer":"^3.0.5"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_1.0.0-beta.26_1535394017539_0.08398286200806004","host":"s3://npm-registry-packages"}},"1.0.0-beta.27":{"name":"@aofl/map-state-properties-mixin","version":"1.0.0-beta.27","author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@1.0.0-beta.27","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"},{"name":"bill.salak","email":"bill.salak@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"750d4033aaf95c452dd9d92f500cfa1e000e731e","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-1.0.0-beta.27.tgz","fileCount":3,"integrity":"sha512-6aYUQDMLpVCn3hDokbr8JRl5kDHVphkOtFa81NoQl1zfYwyL2EPfGUwZC2Uvitxok8o2CoScqStRxRU43Sp/lw==","signatures":[{"sig":"MEYCIQC/bA3r6Zt8D5ZMjOAq+j9JCRetAbswSXIYxReLQVf25gIhAOlcMLHoBSvWecHVYtPlrd2bSoPF4TxYxmwIJ2jqlqbf","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1616,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbmARkCRA9TVsSAnZWagAAphoP/jdGyLS4ElolO584REci\nUYqTvbhQ+1Ex22QF+gBB8yLgxFgCOqkyld55sqIov/h//mspFD8Amx+jlJRu\n22fYSZ8kpcrvwxm+UXhg+X38KvxVm6WEKyVBAaxrGgRuxXguRMKdTm9BA1lJ\nJd1b1AQYqBUXWuWHigD/Q9Qd3azzXl6BCyoZ6zFPZ//oJ/TLPGo+uZvrxArf\n1Qr9uLowgB66rxwWmCq71ni65nNYar1Q7suIxdsIzcGlED7ujeBPGSbhrtzS\nk8/5i4cl/M1TImoWS6EzYwikPCSOrXMj0bSTG44jIRfmJKc5Xpxo8BnABiOr\nJAE65oW1tMQ3n6dQPOxcQnthD08A877a1B8Pi6QxycYK4vX/u8blcIF3fYxj\ntyQ4vynNq+ckfPmxXYnnN37WgACGvwcaaFjfzPPY8oITYj9MNiRTRg3X2B7p\nC0REsFnSh5xYGKEAX3uQ+YnCmUt5YfWtLctuoioYqo2RWblJGyRUW9DZSPpG\nkSeFZSz4TCNpPuU0+5TazekYJNfPJLEFdS2RW+xZq0NIZ11pH9kMie2cIBNV\nYWO69PUlRPPep08zlKr4Sz1wAHXC0l/MMY6M9sUqZ2jZKx1WDsqNV0raByG4\npnLJFvsbAUWcJ3zcqn2qx7wQb3bHbc02tvO30hzwZacPglukFgr3QfQO5OM9\nIxgD\r\n=kgi2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"ERROR: No README data found!","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"6.4.0","description":"","directories":{},"_nodeVersion":"8.11.3","dependencies":{"@polymer/polymer":"^3.0.5"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_1.0.0-beta.27_1536689252086_0.09974549921164999","host":"s3://npm-registry-packages"}},"1.0.0-beta.28":{"name":"@aofl/map-state-properties-mixin","version":"1.0.0-beta.28","author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@1.0.0-beta.28","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"},{"name":"bill.salak","email":"bill.salak@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"4bd73045d59c7337072f6c4b83cdbc337fc7462d","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-1.0.0-beta.28.tgz","fileCount":102,"integrity":"sha512-V/91XuVj9SLXhfhdD4LP76skfGqtbm1/jdo7FK2OzMirYlbanViGZTdbh5AztK2eiVjfiRPoLo0WeWJA8vcpFg==","signatures":[{"sig":"MEQCIFxL3ItTTPKrMe8DlXBnLQcBfJALhFoyc5Rm9LnB01CBAiAx9cwkzMdXj2g2PqiK6VNhXB1DjbVhHa8GnbbOy4JzmQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":421717,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbrXWDCRA9TVsSAnZWagAARycQAIepOzpZQgpbdgpuj4+q\nSNc2DgayYEGCgEdPvKnpqFmob+VhkwqW4YTwwR5HI5PRlrLUF9c645I9jgRh\nHtHM06j3goVuy9if+942DpNPqiD4m4D4Aj9YRnSwHUv2Ir9fkyzD5vjxJ0ky\n8djgne1xV/u00rMWRX2dTcCovKYOjkPmgNSH2hS7GXU9PchYZDA/HoQMuumr\nREhrijcw5LdhgyhdZ5k7Dr3i91zv34sd0PBc0LNmncD1PI6zzQ0FEA9vI4Kz\nQ+2xXximmmeqwZdFFOb3LDDu9xHG6qmfggp/IS15bNjoASJ95BLW6BFe4xHB\nss+T1/HFCDZaI8hSb3Mhl4AJAqkSefyryjREgxu3Dq4kU0WcrzxvTHRmBtyq\n7pQzF23M3E7a0hdetnMvKITgKWfJpO5zeLmZrFscU3JELdi7nGCh5hNf9Prx\nZEUk58r+4/m77/D04btXYYOiVmeflCilYxQ0DqtVJV+YykxvKIcfrCUXxJwr\nzuDoEs2QEPzWqFAp6IjvAY491WmFn3MEHbag/b5dK1iBvyq5Pz4xxRYRJ1OP\neX3yBG8yLLUZvqnQD0wTkO74zZK0LmXzCrUUaOteXA3GWP9s8pzehM9py5n5\nkoYt1CWlvZcAbl1w14fauomXpSsB+3iXSEGOdPMBprY5qPJXYwV6+OWN1hHB\n3a8o\r\n=2yAi\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n\n## code example\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"6.4.1","description":"`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that ","directories":{},"_nodeVersion":"8.12.0","dependencies":{"@polymer/polymer":"^3.0.5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_1.0.0-beta.28_1538094466777_0.15601760128342423","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"@aofl/map-state-properties-mixin","version":"1.0.0","author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@1.0.0","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"},{"name":"bill.salak","email":"bill.salak@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"23742075254592d74f5bbcd7f1e93577715e201f","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-1.0.0.tgz","fileCount":102,"integrity":"sha512-oeowJ6LRu/uT3y1tjDU312N/TTm8edCVRrHZeCCiL/PodBxzrz9wMyZMzx5MhhIQ8oVbXxLzVt9GAIU+EueSMA==","signatures":[{"sig":"MEUCIHlC+oX1AtgRGWKIcZJHJAwSDhEmK0JoaPzCfuegWz2fAiEAkiOP0juxTDmqimjEI00qxJIyqPHiDcrn4WB6vLjzJqo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":421659,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbsARiCRA9TVsSAnZWagAAABYP/2yYO5NxaOj54MH4kqGd\nZ5QDv3sX2FylwB4Mk79rAdH3GW+1fjkRGGuzJHvkK8ScqSrrvmEkQR++SqEn\nllSqXiWotaiJU8nQw/AmgHlkNrBJe9xiOxBGYTRO72LOEk02qRdgFL5/F+vi\nxuWkVwy09VIQDdb8YqK8yqRWS436IsIasts9FduJxQ3IqC+bMEMMHPcUN53j\nwt83AuQNE4DmyAQIR8Fw+h/BjJCUDm414irN/GlvRFoB0OxWK1Y+g9+JLmfD\nEUDqGgVlFUf5yFBzyUSMAmcLsp5M/qwUZqPZPtxuQ9QDTSfX9qBWRrLYnrX6\nXzWysWiK7KNogMcol6snjeOtVyEpxtGQvWY455mwlkwcLQlIijredry/2wL7\noA11Xm5qxlqG4Fvu/s9oTClz3HuWSL0ZAM0vGsoiqL9qY8I2jIyB2ICgn/mQ\ntuT+ApBjfkq6fyFEdsTt76OseSG0p7hfPeVVsHM3FK1xk6a2bOCb61G/S2WL\nXZhw1YJc9JTr4/OFwK3rLyR3raUpC6aJ6CLxje79TRcL3IKewlOrdKBTD6Bp\nue3Qqm15D7hnCzWXhN6vmMkva7gr+hR5FaVCkzGRZi9KToO8XF+wHoszggPY\nzce5YrXjHEF8FTx3DByuDPjSlafyXI5Bw4LzCuVTtFUyGDLhRbQHZH78osLo\n8T0x\r\n=BXds\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"6.4.1","description":"`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that ","directories":{},"_nodeVersion":"8.12.0","dependencies":{"@polymer/polymer":"^3.0.5"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_1.0.0_1538262113331_0.6228224393669854","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@aofl/map-state-properties-mixin","version":"1.0.1","author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@1.0.1","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"},{"name":"bill.salak","email":"bill.salak@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"fb3f99b38ebbc0a0d110456974e1d02c5f9173f7","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-1.0.1.tgz","fileCount":5,"integrity":"sha512-KPrspcKtDrcbNREfcAVjf0EWWflGJXjvPHQcjci+2ITw7LBbZsUtM3T9lZNWpSzgorQYRA/VdIGghv71DwuhcQ==","signatures":[{"sig":"MEUCIQCpaAESMYI1lQu0VmagbmuwnnXEx1dVNVSBp91u4GNgUwIgeSGoo/e94xI+X5GbZ4dNxSxwyssSAd1xYjHWhI41TEs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5937,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbsD0dCRA9TVsSAnZWagAAqVgP/jbP/v78PtvTT7LWJRvK\nOUyh0GNE5h1xSW6ufndVzxxcH2F+JLOZLRQ+cwdwb3Te4bGWg9hvg3LEZIje\nLBiUet6ieCA5qx833d/+G4E7YYNNrKw9lynkIsHOu830OLN8T6FbNv0K6IT1\nEIreVK77ADEOsbIUfPrVPhoW1by+A//O3cxQ2MCXmT6AKjcrNcYjMfnzERhA\nX7iKOLP86CLK80plLkUAfvybof4TwZ9uZY9EZ77XH/dFFaq7b0vf6+H5W83w\nWAfLb/QchxPeZxjZLRKVBOneAY9UW0Px08l6khM8W/Ww0SO32qmml4xbx4O2\n0wpZKfLqdS3m9HNo3X3zCWe3OdyIHn1eictVGy1y5Sc04aNZ7QGO7Nf41jPu\nbS2IdZy3Z4fZqopq/ISZzAEdb2FeXpxif6esCfNO6H9JrrIyDqyE+ufsrBCx\n7Zj3fp+zczEX4gvd8ijWsCThbocLHSFAqfxAUmPgl7FM/+46G+pvB8VLMoVn\n8cFobfy7u9HaX9cH2C27VvG+SwEKZUfNDBb4ZE1tHmYyiRKLQu3XPsS61FO4\n4LdCBYzgRUevj1cN75usMTfGIzWTXhhtOHMWPlZLxfhZphRlTvgXpRnyaVgk\nm4iWieltGFxwzpmiiHrPN6bnd8mVayG5wfXVKudoY6hdOVe/6cPq8PgyNq/K\nNP4d\r\n=h9ei\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"6.4.1","description":"`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that ","directories":{},"_nodeVersion":"8.12.0","dependencies":{"@polymer/polymer":"^3.0.5"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_1.0.1_1538276636139_0.896821484538123","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@aofl/map-state-properties-mixin","version":"1.1.0","author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@1.1.0","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"},{"name":"bill.salak","email":"bill.salak@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"025dce93c36a9dcaea7d7bc307e1486b040601e6","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-1.1.0.tgz","fileCount":5,"integrity":"sha512-W7mvZ9D/k0NBrJas2M2CsWfZ0uPQwFUr5KZKl7pcNW6s9twR8S0PDGfQoaQPJiWTHGn+ax49uoXJNANg6g5fHw==","signatures":[{"sig":"MEUCICSXvqacXZzzgNZyAUZVODd73m+Tkf44ys3lzIJp5WJgAiEAvmuYfYUT96OQEh6F1wGVzUBBga/B2l1X6IZQehspjjM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6671,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbx7ckCRA9TVsSAnZWagAArUIP/jNKvJoAIwhB98+oxqjh\n4ZN7wYhltalPZcTRrH5162Bx4CXkGapPUj9q5EOm+7oOXxYAjQF0KRVKx65p\nct5po7O6m3NhIrprZx9UAhR84PwS+FMjJGtAiOI1+MQKGPS5OGBLVehyaW0N\nxCpMw1en29RpJtCYQkp7OJM6TtqO9ERB7uyng9F61A8ZtD3G7l5jhEVQHVuc\nmYCPzanJ8GS4UDYLacVaV3p4KRPUlyr1EdHOIDSybVXPcKKp79hK2OIhKf7u\nDlcLZzu/kvzQvzx0wtVuMx9Ek5Tqrrq+KVMJpY2dzjfo15PDvbfYJCX36hKV\nbZT6KkpV0HGpIAPmxmZB/25dbQGttbYGawHj5xLPdPreAuSPazciK9X6GIGx\noWQuE8XqRChf1Ryh1tL39HNI5H5SMtD5PNRYXTpiAu2rbKQeOhbfueCFNgNU\nXK2L5RfvunsNB3cZFPBi6btm/5ze4rb6S05aYYFkjbo0M4un6Vl4JXu9EXzI\nHDE+QOnOtYL+bsHYDE9F/MCijYMq6ANUuK27vv/dMrPWa1YYiHkq7aFruHpo\nAXrerujY/DolO01g3cKIa9MMNlF64P1TG6yFezNdD4hzhvTHG5IeWzNp2cMf\nJ6vxwCr7PHJrevqxvOpIszxjH0TZkhf0NxDGS0JUePzlsJygJY162/P7/Q0G\nrubf\r\n=6jpj\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"6.4.1","description":"`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that ","directories":{},"_nodeVersion":"8.12.0","dependencies":{"@polymer/polymer":"^3.0.5","@polymer/lit-element":"^0.6.2"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_1.1.0_1539815203854_0.994066873608549","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"@aofl/map-state-properties-mixin","version":"1.1.1","author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@1.1.1","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"},{"name":"bill.salak","email":"bill.salak@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"e14ae0f632252ccd6ce573a6ef0916f11c08ae33","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-1.1.1.tgz","fileCount":5,"integrity":"sha512-kEz1DQ3oZ1blvnxq05XvB/a2TJXVOyolaStxXMZkvEKBo/7euTL9w1zaA8wNCDRukVgBYT29v0E1H67WCXjxew==","signatures":[{"sig":"MEUCIHc8Vf/yBLOG6dZM9RK0+Xv3vaBbsE2xW4SsVvLgSoYfAiEA+Z+9iZEYUReDpDI1J+hAtlMBIy6N2/9Vcp+YxKpceOs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6671,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb12CECRA9TVsSAnZWagAA9O0P/2NxEylvkI9EIgOZN2AN\nEsX4JLi/AuzDvFgef1m2W++aQJZZoOIzacfsLbimhNBH55yORWgwjoNWIPBS\nqJEmg4kqmMTbsPtruQVxVyF0twq+78eJVzQUScrnjJ1QxyCVgOk/jheqWx9n\nbPU2qgN0TlgTtnnifcNaLqErQLQI4UGKveJebax5GMPOmmsb/820G5GZLCoE\n9vvJi9fF68/IG0CfasABXAz30HHxwidraDHPm4oU6krpA1+PzdInJEXMJwcd\nEEsv8JZ73TgZxoaBMFfc8XaLK9INIuKJ9iErXEqIsBbl3XnIkSvVX43p42zz\nqOUKvstbWc3hE3MIvZjGDjIRV8APJcb6DanDA2GKhh0O7bU8L+44MzC6qu9B\nJOZV5VTG5vS+ra5hMtI0QOfmsNQH/fRXLvedL+SzEdTZqlzYLBhSEBov4pS4\nqZXnAISM7aKD5pMSQDYymWLDpascf2VCXf/l/LyTZi1S/HGJ6WoLD0YJjzyb\nKlGvtLSAIvjk57vi8XSjJkAf1aAGUpQq9E89sZ30ddUneZrIctjhLOoEeYn5\nelm9Dg4I7e5SFJyKmYE8oDN0ux24oLbG4ZK4moC/Bm2gagvXBNV0zMLOZc9P\nFBEL3TAh95Fy6Ga3OVe/Zdj1QiUAD8uEsviTinwLW5i5axJ/QrQ/c6npTHOi\n1WlA\r\n=Djdb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"6.4.1","description":"`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that ","directories":{},"_nodeVersion":"8.12.0","dependencies":{"@polymer/polymer":"^3.0.5","@polymer/lit-element":"^0.6.2"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_1.1.1_1540841603380_0.6168491937152898","host":"s3://npm-registry-packages"}},"1.1.2":{"name":"@aofl/map-state-properties-mixin","version":"1.1.2","author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@1.1.2","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"},{"name":"bill.salak","email":"bill.salak@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"d084064d09b517448fc5f705c556b832f6039c22","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-1.1.2.tgz","fileCount":5,"integrity":"sha512-CUZ3NM1aRU6OXiRZ1uEmD5pXcTLUG5frNkS4jCZKVr89ENZjJQkJLpxPepcN8Z/Sxkv4NWw4FXJVdvHK3xY/og==","signatures":[{"sig":"MEUCIQCcruiKobpWdeLvov0FS3S2mLDO70mNRlI504J18zaTwgIgd0WwsvCrJTXL6fhISNrhZpBB9eS2LgflbVD9F6cMyjo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6671,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb12CRCRA9TVsSAnZWagAAnVwP/j1wcba4xrjYZrmkXWto\n6RQUdxXOHKJohPIdD8pp7szHUySb0tWuKiXLgflRz9ZOCcwyZYZUqxzvFTaJ\nKjy14yI6mWhtRC4Rfic5FwWGQAlj8vhuaitm7IP6e4PIxwnhLfBf9nw0QTr6\n0qhefzuBxCpxxuaYCyro0Axy8vAPEXtDUVFG/bgoq8kqeOsS5zeYyiWF+JBq\ngvmVI1ssc3O4T8h2hxaDYiHzrDsZFmV3EegCFOjSJjYmmdiF8bYD5TWJ6nrd\nHRa3xfGktu6sgrUEXwtUJe064h++UoPGa8HAqXHPYsIgDyo2HVDLEejbAbX8\n2RPsbPIH9gXPgPeu5lp7dsabD6KSM9Zo5zDXhgoEKPGhLLtm35mlQ68DfTCT\n68hf919pvLBQxgBd7grRnm8+HSOnaztkiF1mnzthLSVr8wNoCuY+nb2L/SBm\nGOiYa/j+HMH6KmYq2sYMbmjOAEzQa+SYNbdRuQ+xYV0dyI4XipldF9exulkX\nDlye+dEH00CgAu7QqrggXJFB2U9Poy1fps0YEX62Reg0ogHHXT1Y5w4cqiOk\n6uj3yMXAwPzThN2VYifHW5fK13GPFa9xN9Crgvp4d1RnZlIo8d6y7AlfnOeZ\nTqqixGZxwRTbpQB/1y/cq3CehclOh8s7AE9C8zODDnIKCqmPSUFE7RBLJLKi\nA6E6\r\n=q3di\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"6.4.1","description":"`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that ","directories":{},"_nodeVersion":"8.12.0","dependencies":{"@polymer/polymer":"^3.0.5","@polymer/lit-element":"^0.6.2"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_1.1.2_1540841617128_0.5651142448222355","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"@aofl/map-state-properties-mixin","version":"1.2.0","author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@1.2.0","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"},{"name":"bill.salak","email":"bill.salak@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"d87303a2c8f27924da24a618c61c452fcc25f303","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-1.2.0.tgz","fileCount":5,"integrity":"sha512-Rz1klq0KUldcqkqpcGOrZF8QLTdjiJCDShzJFadjeaiRvcNDUhl0SbhknUgiXOZI6dcRdr0BI8hn/PS9teUEsg==","signatures":[{"sig":"MEYCIQCkq9XoDZAyfiDWTbLX15BdD69qJh1Jgm2hEHbzy33GwwIhAMXSQ7Lsh95Lkh8Ia2I6somsPoNFd/hZ1sCz6XGJvSl8","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6419,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4f3HCRA9TVsSAnZWagAA6OwP/17io39ZCBtHqfXx9ZsH\ntCnupUEOsR49sIBWkI27qMGQtS8eSLe9fAUQ1Erocd+vG15LA03maa5T6iWB\n4Q4OiLqtRD80KWpT31y1PM+svj8luRxcAtIrBK7rAvtTYrkvPipj8h47Kadq\noGih+Y0RtdvAg+opybP+9+hPk05/l8lRYUlrkYLaXKr3IKabZXWyFES77ijz\nrCwwXHTaBFXaIcQaKLFLeRBEM3YlDOgeCHKsCgguIe07hVLUNjbP1h3kAFjA\nQFIxLEYfSk1i3zN9qDqZxcVqj3O62I/bt/jUVEfkneZQY77l9EMvenTdTLtQ\naFauOGRbAQb3sknTzVbwEtV4S4NDqS8XvO3K3qsdloOAqQwbrahiDYupR+4c\nd2wVV0MhA057+X/CUDg9HHUHqL5lFuv20fo9hV4THzjmf55JTcBLMfCOoFLU\n2yRe+/lYv5HTZU5ZrxAICn7hOnudJCx++rspkTSVLU8refvqIezCqtL6m2U7\ng77SULBkpflK4W6/tefU0n9mD6FjbaNOUflmXPqBWwcnpkh1jjZUeXIG1k9r\nzuSQox7jyZsLH5nK1c6oCJX3rPP1DfK50OAkvYdIUJD4WgvZ32C0iPPtU1a5\nQeAcpEZsDUAbkLZp/qvjCEL47YlXTVivPUtds0t5gckh7HattVZ/sED+8WhT\n6/Tv\r\n=J9Cf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"6.4.1","description":"`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that ","directories":{},"_nodeVersion":"8.12.0","dependencies":{"@polymer/polymer":"^3.0.5","@polymer/lit-element":"^0.6.2"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_1.2.0_1541537222782_0.05216678997264279","host":"s3://npm-registry-packages"}},"1.2.1":{"name":"@aofl/map-state-properties-mixin","version":"1.2.1","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@1.2.1","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"},{"name":"bill.salak","email":"bill.salak@aofl.com"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"9c3a1980f6e4a13edd8cf5440d6231b314bc9fd1","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-1.2.1.tgz","fileCount":5,"integrity":"sha512-Ki1J4JoDVaCswQkXilCeF3IBuD/DIgcNGfMBz/qUZLdWBK3zPk5yrdJH4cvmtTBrnxD0JFVKRz/6cWS+0KQYtg==","signatures":[{"sig":"MEYCIQCz5jJDDoln+bt6BXMvN5vM1hz4uvCWTkhlixEFZHtR2AIhANg8iM71KvHyEXRPCyF/kmkoYL38yXaibqLg1OcOaqrM","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6898,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb8dSzCRA9TVsSAnZWagAAnwgP/2xgol85OnUMG4y3EB0D\nE9zuz4+ms1oLnEloxSW9UG4qB5NOU2C9DxMNM/AFv35/oiLrZB51Gqbagtcx\n9YhT6yRv1W7JVRtv+I+SSHoXyuioscG0QNDMr+eVLTqE4bqwMy21P9fjvt6g\nZ0rVIedrWhSwj6gLvA9/ksS1aBV1DLUQPTvV+cngc+kJa2Wh4yiFuvSHYeiA\nQAhpkbhKZw2YupvaXWq3Rt9O+v/OWXbHevGsYaF62EeGfzPIVrrq27srx/ec\ngQr2nG47W3RnfVc9XP6G0PKppAht8PG4yB7wBp5vsjSLhKq/xqOjRLASO0Zf\n5xB15btB9E6VQZSjDVXP6UZEX84RJTSrxCdgLW8t+9QHKuREHVZWxA/8JR6r\n7eU+Ozlb8gqpcEuIfZDrhDqLRVY47J0S5eTCeO2h44wcFg99ETYa2FYWFyCq\nkRnhwG+xu0TaSSK6sNgdmqZuJBlSlh+coLyd/s4c2sIcEvwlW+nLYuLcPRLI\n3JGiCtXgjNQDnbc8cj9cyKVoEd/gbSUNaNj2GivpMZUee7ZCXxWADGhctt12\nCW6XzVK2W4kQqIrOPYyLUXxoPG1kmkx5F9K6nX/bgb6r/AJ16zeyDcYvCc+M\nVFT/f4Li6nZPV5uPg8zxdWxtEoe0kc4PaESZanpUGtxrl6IyhPmsz4MOuW51\nEwHO\r\n=jL2h\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"6.4.1","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"10.13.0","dependencies":{"@polymer/polymer":"^3.0.5","@polymer/lit-element":"^0.6.3"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_1.2.1_1542575283320_0.40585336790530535","host":"s3://npm-registry-packages"}},"1.2.3":{"name":"@aofl/map-state-properties-mixin","version":"1.2.3","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@1.2.3","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"},{"name":"bill.salak","email":"bill.salak@aofl.com"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"694637e1ba782333167c2b2bab0865e9b2902433","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-1.2.3.tgz","fileCount":5,"integrity":"sha512-XMyR/rY3DmdQImdZ2UnJwH7JGPsR9tmJahc/ATXhW+TZoUm61s/V7wZ7JWd9XS60QTNnNo1gHnpASnA5nQylZA==","signatures":[{"sig":"MEYCIQD7qp3FoW92LXEjSczoBnHvqz4WeZewnyAYtUk2xjtQdQIhALoEqVmuVSbfMyaeFRHSC2qRRkygP+YotgZfJU0QL3Uo","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6898,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb9KLsCRA9TVsSAnZWagAAL3EP/2MdabIprsBFEd/x3UTC\nHv6ejnOwu0OdcvxWjexeqfnalPsy8xAJG+b1NRlXuzEjBOGPECauOgNwwqTG\npVjrGJr6dT52+WUvRm0OFnb8zWAlGJMMk/6RLiAnGM6hMDLNVINj+T7m6kWS\ncjfyWcfy8lx8JQVy8PJG82AtF3IYtt0puVC671CIIPXtsT2pk2LP3MlDziLW\nU0Ld5HzkY9mmOXbWS9tBXu31v7/K1FmgNTariWOtbCKrDahLA3MzAlCsnQ9U\nXycV+l80zBj6x0GI8hVOY7624QDFuihsxD3Gn/niYy5yG9oeJ5bo2YC2YZhs\n29wM53GasYd2GPMu4YrtWVBIaMUl7fmWUNRbE6qVe+3997TjgzPTD13yg6vy\nED1J4LcZznjnsGghjh9pTNQpEwgZSnmGZkrAFEu/g4+pmhmmX9WGFBKR3ti8\n1a7NxvdFedN8UefKj55U4U6ollD6tIvE8fYHV3GCp1sYgtBviAR7P3FrX3BM\nIY/4nRvFk3JL3XoKKpk/x7irAASyr7I4/uy/8A7Zx/rREl1M6M41taH7I1cQ\nDyCK5f4U7HcDj+lXjzMRTX6GSSNRbe/15Dxpe13HPPilzV/DrThirdhwdxwW\npjKQh14oM5ScYgdNu/VCg3VaSlYCbhXFzGzZRg2CdHPMnREtf0yVi9itMNFy\no8kd\r\n=L547\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"6.4.1","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"10.13.0","dependencies":{"@polymer/polymer":"^3.0.5","@polymer/lit-element":"^0.6.3"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_1.2.3_1542759147614_0.9838025651676774","host":"s3://npm-registry-packages"}},"1.3.0":{"name":"@aofl/map-state-properties-mixin","version":"1.3.0","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@1.3.0","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"},{"name":"bill.salak","email":"bill.salak@aofl.com"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"9bc2171da985c3abbf99287d646f52aebde7dd3a","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-1.3.0.tgz","fileCount":5,"integrity":"sha512-gDzjyb3ZNeKfgn7vo3LO2WoCjGqjF/mCbXpwuyz2T6MnY2z7/vO8Qf25a/4tl+I3GG+QIm/3c/BK8zreRuq+Jg==","signatures":[{"sig":"MEQCIGLN2KojztkLNhWi1WHmhGjZsCVQjnlDaw9LZ4qAoEXzAiBEv7ZCOD3His8On03h++vrwuemQ9N5I3LDw//gJXQbHw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6906,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcCY3XCRA9TVsSAnZWagAADhwP/jtug3PHN73ctuqmCUQS\nZKS8gXEToVQmu/jmfBXuU7/2+QVGjfD9CpquSdJlwEz82urlUF5tDgSc5HKl\nKXIiZ7iygNTHiyyXSEvZC7DqKUzD1oarhOAcLgfq6U+0kAYolilzydA433SK\nQgMWG1g4xoUD7AaSKTM0i85bsTwGkRn7Y81QEDejCKScnp2r/OzzEpTzHUb+\nwTrtPzhyC68Uh0gyU9iemI+KxmwJnqcOgUu0JRp8pCuufg/ftQk/7+tByxC+\n2tgIg4jIU6M3nTiqVGEjzxBN6ijoULxClJmZBP0Fu3UEVn9KkgvlTjncxB/m\nIOO+qAPE9llprzMxyZZG9ABmGPC+PflCBjEXeFQeLdFP2XwiTAqJF5k0HZJp\nV54zocvmjP1lbsGjyHqOjgFbF9Fm0euquSrwRJ+GC+rK+cOq9AgwLeARMvD2\nXfhMC71zAFUGyYZB8rWzSGTu7hi3z2uurGB6Y3gsjryzL+cIuKPpdBIIBFro\nmIDrqHgQ7wKgWjInJFi+bGwtDG9DMroghrFBZtTfm9YyoZcdaQgI5JvSlyRz\nHeNZejPoCL9Um7VCBigkKgJCoADw1o658skJfS2mN383G0rPix6n2ybJPmlE\nxYrH1IVKYsMOLKlPds3XENuwVJzLE/waKzIPK1AZSfP0vGf/mZ6Ll6nFuQTU\n7k+x\r\n=SzE8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"6.4.1","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"10.13.0","dependencies":{"@polymer/polymer":"^3.0.5","@polymer/lit-element":"0.6.4"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_1.3.0_1544130006514_0.4531878412945325","host":"s3://npm-registry-packages"}},"1.4.0":{"name":"@aofl/map-state-properties-mixin","version":"1.4.0","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@1.4.0","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"},{"name":"bill.salak","email":"bill.salak@aofl.com"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"1737b8c2762e3d55641598fdf33333fd7eeae25f","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-1.4.0.tgz","fileCount":5,"integrity":"sha512-1LkT99QBsHKCXTYTlnUYr5xssAas1+vlruEMcLul8Rk2Tp/EljM1/5+uPTe4jqxvZF04Scil/zvaKvn0lJM5dQ==","signatures":[{"sig":"MEUCIQDp0xP4JVG2x3iw+bH9nSMiCLNzu91OsfFmRVSnSGb8mQIgNk9tNic5Kvyjlc8vYFbTo41Ug5vzQoWpPHCAR6K2Nvk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6906,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcJYzaCRA9TVsSAnZWagAAgmkQAIKiiHMUTQP9u6hALz9m\npT9cFfblH9G1vY9itMnCpNVB852p5CjSOt4fyLXBfIKZLlAUWQbf2EudVlnn\nMEWV3iaFy3FEAvMHTjX62/wCgYyH28bCdhtKcrC5xJ7tiar0Wtd3hSHJAlJa\nGSsNHCObMZERXZ7nMjlhLvrGmawKngp4EB19jOCfq8IryxDh2AwwBbHl3y1Y\nUcLXuMRD1wM1brv5NY63OCnC4lkc8Fefmi2lasW0QTglOsEBB6xq1cqgnFdg\n4D0PoKOe/0Qy5oMNHIyBEO8LUz5KFCKwJAfmsRLuM7U2E6jgKsdcLVhvWH67\nD53Cna/6Wi0hi3BZ0pTBYkdKcaHfAyVbCSjvdNW9Sb8ST1gVhltK70hs0d65\n9aMTiwh4nLMapGYf1yyfvXj8iv0wN+UwTCu5zBjDuKUlv/Qp2U0NGSVMkJ2s\nK3e1IqFG3sEoMMwtzp+1ri+JxFDUAb/sh7P2AB6r+q2LHP97VU+LAHiqh92w\njq5tPwVEUHgQkbLxo9yAe6bR8KEdy55WFAuRVgGL844CCenM8D1HYDkrDwfd\n6JMav4VW/kUWh7ApMK05VxtK0cuovBZ2px2BxbzIGtpVUNMCOIYJH6icRcR8\nUFGDg9VuQA+WhKfrvRlrA66ueZEL7KMcqTVqEqNd2hcYX9bidFrAfOejmq5o\n92vd\r\n=u/0M\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"6.4.1","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"10.13.0","dependencies":{"@polymer/polymer":"^3.0.5","@polymer/lit-element":"0.6.5"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_1.4.0_1545964762208_0.507676125798256","host":"s3://npm-registry-packages"}},"1.4.1":{"name":"@aofl/map-state-properties-mixin","version":"1.4.1","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":"Arian Khosravi <arian.khosravi@aofl.com>","license":"MIT","_id":"@aofl/map-state-properties-mixin@1.4.1","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"},{"name":"bill.salak","email":"bill.salak@aofl.com"}],"contributors":["Daniel Belisle <daniel.belisle@aofl.com>","Micah Blu <micah.blu@aofl.com>"],"dist":{"shasum":"3dc0c47471d20b8543bca56e35f8337ea305c188","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-1.4.1.tgz","fileCount":6,"integrity":"sha512-e6+S6LtBnVgAfyI+sILfk/GgSOLu+E0mSWewjXCGnnpT4nbWS78jZWkwJi+9FvYPvBRo5UEGanXr/SnZroResw==","signatures":[{"sig":"MEUCIQCJKhLhK1qfFQZCFoqau8+AfpeILZ/JYB08AKw8YiYaAAIgCXJNjeKaTRCcvyNQ06b09IsfFTAP5DPh/ThVFOdp89c=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8044,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcM5toCRA9TVsSAnZWagAAJxIP/2FHIP0woLUevePXk4/w\nfb1N2q9W1Wo4UClfYBea7tbhHEmy7GLWboqyt9gDoZDB3LfMZc8XHto3V7PP\nTlNSr0++9zfV7Ii5DMmZk9uKUwZZ9ZgpT9fXCTtYDnFe+A4vfGjlAORXdI5q\nQeQSjzPq2fZCuaPViXGDQsUdvx3zAaoW+bLrA878RrlNnETrMF3vSwt1fFzU\nxyWMUy7WO6bDefe2dNWjOWQBdTYWctp4Pzu7h/zybBJi56v2GQ6vbPdELXCe\n9rjOrC8PTULS2MakGbtIe2rOrXKasXlDfR5VlUkeJILn78eIdgyY9ezbNDpR\npXoFSthkvKmullAGh88Qi1HYUwnXtvPO36iF35ZDDGRG8FqnshuwPo9vybR8\nIFJ2z0hiM83GbXSP3E3IDPFm+4Yqt7lS/QzW22PAo0sNCP6qoQYDpZ4E3sjJ\nii6gkmbgoIujk6EXIU9+3nHcovZqpEFraxMIbx9VP5iK87bUmiRim5c1rQBq\nsvbJAw2O8pe9SNA9UfT+BiYRPgi9pxprcw5U2pikzGGAonaM+EfsWAxeX4ZZ\nXfOLrK1snP6PuRB5KZE7L2OADkopiO6xifruUR5x6UJsMR+kW7Li7raULHUV\nwT6jwjWubk7E/K9aSVC6BBgflm3yCGTw0YAS6wHeYIn8kueBiOW4hZsPNG7I\nT3Xm\r\n=M9Bb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"60297b316858cd061ea1c221a7e04406b910ef38","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git@github.com:AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"lerna/3.8.0/node@v10.13.0+x64 (darwin)","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"10.13.0","dependencies":{"@polymer/polymer":"^3.0.5","@polymer/lit-element":"0.6.5"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_1.4.1_1546885991733_0.9550531464768557","host":"s3://npm-registry-packages"}},"2.0.0-alpha.1":{"name":"@aofl/map-state-properties-mixin","version":"2.0.0-alpha.1","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@2.0.0-alpha.1","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"},{"name":"bill.salak","email":"bill.salak@aofl.com"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"4583de70692db643d98df6cd48d26bbdbf10a62c","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-2.0.0-alpha.1.tgz","fileCount":6,"integrity":"sha512-HfMTLl54ZH4yPSUOb+sPiaIeLmXou0L93r6GGIDPwiiKJQqbw3aZ1SggRiyog40S/WL61AfkHZ0ivNyniZGXVA==","signatures":[{"sig":"MEUCIQCiCG987jkCZBUzi6m5TyyNIgIRn4yd5C6gkcySwOm2CwIgKAiOb2+AFSQ4qYip14sPa1/HikVfEXsIcpQt1QqQxXo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8054,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcT7IwCRA9TVsSAnZWagAATfgP+wS6r3DlffEyVbQUuj37\nPb07i2LE8Skg3Wpc34IainrPG2VXZ7fL00Q9sPb1fTCkSu4B/JBohTbfGz0h\nQt4aXzUvqwFbpgUWDSLSM8rXRMdxa16H8G0Fo4lAddv2FhZch+PZUN1MyQDM\nejGEwEsysGrl7NrBBa3d3HnxVdPUIg9whBAGigTewVeqlz3VyXY3V7ixK6Hs\nUA61e4kDaao22c5VuJ+PRb84B/sJZSKZuPh4HWrB5qlJq6wwpCwmj4Sxr+tx\nY1sZqho0kttKiWrUkv8p7IlZp6ziP5a8nNQ+cDDE40TOLM7DOXyOruifcuNu\nK+17SLfU7TBsYcAEBigf+TQ5ae5n7N/aqEbPp6sd4KcVAB7o/Af4Iopfn/yo\nGCrhb9lPyPsvr1vfWS1FRGBmIVOA8oMQ01AJdxWvu5ZJfZ5FhJZXtmspq5p1\n4yktipYJ0HDkSKg7z1I8P1NxbSVEYApfZPTlXMAMwah7T/0xIREHlfqqlEUE\nEAR0gx+SDMp8weDOlJ/GqzUqz9qWfWfj2vM+Kh7NeVpYxcVQZpzpSNx7KrzF\nWC0CaBehvOYRk4W9RWZckHGerR6PXq430xgqGWV0JNC5eIlmesSmnkDZcklC\nKOtUFcbABFjfuyaxy9IgyNNjlRFmAxrA3TENXiheJuyFmFbVGzA3AO1l/OXJ\noJp2\r\n=x9bn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n## Examples\n* [Basic](https://stackblitz.com/edit/1-0-0-map-state-properties-mixin?embed=1)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","gitHead":"afeca11d48651d7710e6942de5fdad812d9d87f9","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"lerna/3.10.1/node@v10.13.0+x64 (darwin)","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"10.13.0","dependencies":{"@polymer/polymer":"^3.0.5","@polymer/lit-element":"0.6.5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_2.0.0-alpha.1_1548726831973_0.8314375907213365","host":"s3://npm-registry-packages"}},"2.0.0-alpha.5":{"name":"@aofl/map-state-properties-mixin","version":"2.0.0-alpha.5","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@2.0.0-alpha.5","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"f7ac274f198b7e2752f8eb7c0cf35dc4e855718b","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-2.0.0-alpha.5.tgz","fileCount":6,"integrity":"sha512-rFnrfj4WZomeQDLv0iO5IA2StDZcloOqTxsYJFXftI9tZOMkTIeJE0MFFbZJqRpHGpuRdJt5ez9FXBbSQ+6WIg==","signatures":[{"sig":"MEQCICsqLbtNVfkWPPyyCoqe8dPp32DH3BV+zNSTAt5N+2z/AiAXV33RDEFKGjz7pKb/x9QSAgBB+EryIJvsgSpxha92sA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8046,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcdciHCRA9TVsSAnZWagAAGPEP/iuCupB30t2+UlB6kNf6\nf4UYcuE1gv8XRpsnWMKsvlBv0/3Slqnm3CdSanbVThf/Fcw+Iir/291NAG84\nla3Llj8EW+0Ir3et5VGODTx3hfkqpd/u8lNmOQ3ZDKhSUmgpeE1qzbN14Koh\n37RrQmG8dPYbJTUMBgGEr25tkuQSJaf9zHrt4fiJIpmbol+V10G2ROgu7X/y\nsYTgHwOjPkc66FWjBX43DU8OwWmcV9IQCnfOGxkCW77yUuIMa4L4xPxmO4Tu\nZE8BOjKq6hS4xE2Z8g4TArS4drON+dhFVZTIxdruryE/R7rAVBIssRULKdhs\nPGt8LeAcdRuZVrcMVIqnu03KiB17cItMbuUZcFinBAossKYC8xuNygueiAft\nnj6fo72BO/ZunnY9qjeh9gEcOdMcpc6HjOttRItszJvlynXzV4pfy1YYV47R\nVUDDmWLhCfnFhVuraNRlq280GBK8DJGFFIitYUzicPDRhgcGp8/i2t/9QW0M\nbmN3JeY6tZtlGmkSe8RoNqJ/4YfkedG58qcKYZd8hst15lbbaVmhqPkfMnTc\nyeSPvdLM4wyeF7+E1F9qyilbvacd4LaTUIYSer7wPAskXG+nJSlJnB1KfEc4\nt23Pl1DY2KxTQKkKKjpPzJnuNxd8ilh5S+ZMXyB6MPXw/kaDqk5wILy39QgE\nDhB2\r\n=PkvY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n## Examples\n* [Basic](https://stackblitz.com/edit/1-0-0-map-state-properties-mixin?embed=1)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","gitHead":"00d91514e0c953e8cd998150ed5705b87db20b39","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"lerna/3.10.7/node@v10.13.0+x64 (darwin)","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"10.13.0","dependencies":{"lit-element":"^2.0.1","@polymer/polymer":"^3.0.5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_2.0.0-alpha.5_1551222918620_0.5184608345204123","host":"s3://npm-registry-packages"}},"2.0.0-alpha.16":{"name":"@aofl/map-state-properties-mixin","version":"2.0.0-alpha.16","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@2.0.0-alpha.16","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"dd082f9d311e04e8fca2b496805c7e203fcac091","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-2.0.0-alpha.16.tgz","fileCount":11102,"integrity":"sha512-wg9fEzgH3rHyPoztDDqWbRYLq5Vl9Ns0ZjbM2dDoeTgjQn1Yb3m2peqgBE2BKN+/3E1Y2U3x72Koi/12drr+MA==","signatures":[{"sig":"MEUCICP8Qcc2NGdQg//j39lDXPLje6iqgmFqrkaeT/9Wo/jiAiEA1GT3uwISSGVjDLCdUewjY4af7mfxWGirZkRC9Q4OrAc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":48970386,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcwhEiCRA9TVsSAnZWagAAwjAP/R/ONAORYOdX3ySHW6dM\nRpWfW3wN9JWNa6aawYfgwTafZDCw59cxM+intOv8rlbr33r3OlpKmESJgsiH\ni7vnWSbkdlz7mX+QV0XzzTxUTkl7g4TciVnBRVWpyB1jN/f0xHOYY6azNQ2B\n9iz23Scz6b2YqLrg5GhST+Ziq2qA6Do7Y9y15PrHXgiikENSrSYAmHkMn5oR\nZPjmNER3cPJge7dqqs8DQEGDP1IDdYe+hsnFdJP1jhIAxeRqqjbpy1dDrylf\nD5cGWcuLM+nj6VsAIwwhRyxefegaurDXaEf9pAKv/+HEppuZMTRLLbAUydmE\nHUbOdxHw8t8OV75LBvKCbUCutrYgl0aPOsmYKXEs4Z7Je6/+XPEIs8FkMTL9\nFcw0VyjUKQCceuDWBt3LgafKGYUVuRgDdcJKSYamKccz50vubEg1qkWaH4hp\nAbiri+yXoOmuVwZ/lJ2w/k5bqSfFyNnGM4B/vjR7M7eQaoB7qjQg2jAUG0nI\nmrqC7wtUtXfwcIzm+ksAtFdZWCCK5Y8APlH0xfFm5jS4fD8w0QKUo0jf68He\nsenAN12N9+1OEN9F5L0GHjxW8MesQDtV1w5DCHpUcL9cCHZdX/1erE4TEzsd\nkBZnGG47004UGmU8yF4GoOfMabr1yRAATo/wwzT4AUr9QFTDGArrEoW2WDiQ\nt1Bj\r\n=h1YY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/tree/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","gitHead":"0b6aa717a40d408713b5b981754243de8a8aeb55","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"lerna/3.10.7/node@v10.13.0+x64 (darwin)","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"10.13.0","dependencies":{"lit-element":"2.1.0","@polymer/polymer":"^3.0.5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_2.0.0-alpha.16_1556222241120_0.08122555147313171","host":"s3://npm-registry-packages"}},"2.0.0-alpha.17":{"name":"@aofl/map-state-properties-mixin","version":"2.0.0-alpha.17","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@2.0.0-alpha.17","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"bdb3676401899f82676ecc54bdfef659c30dc3bc","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-2.0.0-alpha.17.tgz","fileCount":6,"integrity":"sha512-WFmuV5gMJktU2cieoVANNPu59v856lVE/X+4n2VWfwcVhgzJ1l/w84pG6MVi1A8MMvoMQTumiLz8J9Rn2LuyFw==","signatures":[{"sig":"MEYCIQDmeSsBhikHdXn/lIgON/hRCCA4ikeuMLlBp+l24JMiQAIhAPyikFgbSfqsCpMpyCUEjceBSZxdDaOakzwefxayAe+a","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8107,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcw0+CCRA9TVsSAnZWagAAlEcP+wajfqaUT/Xa283rbfu6\nMBi7Au1kCsvEN12HvAO5sAY7EamNgUAYXvlQMaeCGb6gIEkOlU3iJYTgTdJH\nIYgHLfm9ejJUesk7zsD0KiBaGRETI7X76hJlJ/SfPNo9dpUqDNvCZL3mf0pm\nibcf+FArjoD1KgotUBaClLD5dvENFD1mUW/G2rhiEcyGT2p7z0M2SuIhmJJ8\nZoCxxXvyeUr7qfzSNBXOYSC8MG8IdFZbJ84pY5iHkn2lgU++dUkLMk5IHXfp\n62cuZVv7iqR7Bod0CzBglZ4e30u5CPaXzkERY//j8PQ8e3XH1oLdE2GF4cLs\nbl4mMc7tX9ZrVwzJcaWQi14yOEIM3EmKsgYD3WuDcxc4Y/2Z2zHeqcDgYjut\nBxYyzEHE1Tn8+2tal6LTNwYkqdI2G8O40ekthumD1Az6YIhEyYYi8MQ5M/kz\nX/LcEfrz+XkF7mQXH+AbVM9sp9ypd+1sFQCu/wZWFVjBZfbkNZsaMc6cHb1p\nPMf4virk2L5ZLxgiWZwFHpTW81XWbnqsPEW7gFrCllPDoa1CnAiI/IsN/uqb\nGRsHUOB0+tDoZgA9TZWOjFFPVaUC04jPrwzP5SXmfIj0TmQXgeweWUf34TVf\nzdB9WUzjfGkwZEC19tRLPyh1EJas5EwdyNxqT5bcElARMsqsi338LA80J9xM\nuxzT\r\n=rK0c\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/tree/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","gitHead":"6a396437dcb380ba2269ac50a5b3b88e54f99027","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"lerna/3.10.7/node@v10.13.0+x64 (darwin)","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"10.13.0","dependencies":{"lit-element":"2.1.0","@polymer/polymer":"^3.0.5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_2.0.0-alpha.17_1556303746219_0.5110059753202154","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@aofl/map-state-properties-mixin","version":"2.0.0","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@2.0.0","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"6fde7ed108eeb500855cc626529265e3f6431fa3","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-2.0.0.tgz","fileCount":6,"integrity":"sha512-S8WPfx3bnOvIU1t84WUdjA3Q3IR04dW4CdfrKkLHhulGkPgof4n7Hgkp+W9qgq9ArDERmnjEeVMfNG5Fq1yW5w==","signatures":[{"sig":"MEUCIQDnywk3Lx6EuujClSUXcKo5qqS+lb2apYIcunurUHBc0AIgY0Z78De+Tjm0Ww+w5Phb8kHat8hicmZCYfuQBMCgIJQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8098,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcyKKfCRA9TVsSAnZWagAABawP/3K0RGOXKMUsJz3NtstC\nJtjD4IqHU5NO8OKzeyyMK3vPajoSj8/MfqDHQoBAdQMZcGV4agy2lBS47xBY\nLUwLS1VkK5eW9TcKqLdNwbPWa2Xvr8IxD4Qr9FmkGvTuI8OO7kZURTEcqAAs\n93P2R7bHKg/usMnZOWPNQQNB6EgDXukLsH1NkeBPms+fG4xJ0gVYReiDnCow\n0lhjmeMxVK1AHVjC1jMTO1vYHVmgubFE/xc91zvGaQexp3PaT7wlFXRd4raD\na6c8OeNhXYWE21BQ6L5oxmqOY2wmrPXNhPi7Zn7heqjAO8ppsxilO5yCUX35\nJxznGFmRmaMuKtuoDmjT6hBkJ+m0uWRsxhLXC8oqdfJ2/KnoANnRAE8zDaQ5\nAWbQy16Ivaxji/PUOK9frzR7IYGKUcJujcaKd67hc7Rt06ZtHS1wlwc6lOsZ\nZPpgM8Ct06kmz2n2XhX/NM/KcAK73GTf0/P7lcg90unACbafti1tjKTwK0y/\n0lchMzCADlT6Yg3EvqH9+ON1ewsCFZh0o+++lBe1IbKYahFPA3uo/aMvisP5\nFrezOhTXMhUaOYkKEzXNYX7Urp/ZAf+nZrkq+e/hPJFDjtOtgB59OLR5kGq5\nB24r2Wh3+ZvhYr1E7LKSvLoVnwTsI/dcqkA6XeMV52J8iHQrTsMPNcoz4tFy\nskRu\r\n=Cjtl\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"91b9b3074f7031a51ce7afa9b542ff5dcfd64997","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"lerna/3.10.7/node@v10.13.0+x64 (darwin)","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"10.13.0","dependencies":{"lit-element":"2.1.0","@polymer/polymer":"^3.0.5"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_2.0.0_1556652702706_0.18667636624433048","host":"s3://npm-registry-packages"}},"3.0.0-0":{"name":"@aofl/map-state-properties-mixin","version":"3.0.0-0","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.0.0-0","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"0c4f812a4f014f347e9a90004c29f350fe92bfb7","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.0.0-0.tgz","fileCount":6,"integrity":"sha512-IqNMoiLHTiejyX8UrTZxu5DZ0GaGdxWmsX00PYwOmONQ8VDSJ25sxSMiyOiDGOA9V7F9rsggVIesAIQ+DJ2zvA==","signatures":[{"sig":"MEQCIH7Q3Ahh89JXOLRQvoL4b6Ka0hVFPe3JWPtkeWE9fGi2AiBlDckTXZwgEtxlW2M0cOc2bkdMMajLUin/ciriTNkvBg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8100,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdgG1xCRA9TVsSAnZWagAAk84P/3GO0crQGDCClJcf2lDI\n/ZckDozXEzMEvXVZKgSfPYlrCBCxUVkHEoEuJFB57WnTOSD59aka6s1IMOx3\nPS51IVFcoFBE6/9YXsm0KJHCDIdLSCirIoMBnRxUkQ9EWpb1UXUk6Lpu5juf\n9FFg0HWbp6JfWVkyQGG/Lj6ACH80Q15f4yI2zpLKASey3/2adr9MXPA8RkLY\nvBKotO8SH7yqzU3+qwHts1OdPJ+Pta5n5gh9QokF8INNEiBNtdf3WpptupyI\nBwhUFfGZT8jSGuDVSoVEAG1yMaeNQ8UgCSCHosjTz2gWZiizDsoyxv87kDip\n/srLsjmzD60NQXsMHn+Dqyr9BGFafgqx85OdTK7Our89D58TyfKsErsdPfmR\nWNMLbV6hBtSY9riwkc7YwVky4xo2t+oYbpDifsjV9udtCfhVZQw+d/SE8S9Z\nYIWaAk4GUU2Y+6QPUMqhO+Mplx2ZAfJugQxobbCT2NtXoyAnWlGPWjwYTQtD\nxJ+G23SmFRpLETB+25ijTdl8pewll/xK2RwVzmij3QzAmFEUYHk5zQuaev0s\nnAoLXsMB+x/hA5Y9igu4mVM8wUyRAn/EkQMNp2tEWYeekOdu5LomN6oH7EOo\n1ChNQIY9TjFzAeCRVoqtjPurYTcqG3accK5haWpwYEYVSUZp9a4FSN8t7Bhz\nxCld\r\n=xef7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/tree/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","gitHead":"68ed707a605f1a3cb02ab70ff9ed8a188867028c","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"lerna/3.16.4/node@v10.15.3+x64 (darwin)","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"10.15.3","dependencies":{"lit-element":"2.1.0","@polymer/polymer":"^3.0.5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.0.0-0_1568697712992_0.4424789467608852","host":"s3://npm-registry-packages"}},"3.0.0-alpha.0":{"name":"@aofl/map-state-properties-mixin","version":"3.0.0-alpha.0","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.0.0-alpha.0","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"ab54f260de346b246fc3354f65cafb830ef2462c","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.0.0-alpha.0.tgz","fileCount":6,"integrity":"sha512-1attXmRxg5Wu9SSidZe4xkvY0T2icWxaNS73vr7Ba1JKIZEANf0GVihbHbWhhnJahEc730isk5OHWn2MVqYWSQ==","signatures":[{"sig":"MEUCIQCj/g1vCV2HIwEADGgCFN+Pg3GvtREC5gVvQsSFYFOHaAIgS4igyDxD6dacym1AOEbn1iMV237VRBd53ExDjnlcUSY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8106,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdgG3qCRA9TVsSAnZWagAA10EP/jRK6oO6kd+HwjMix1xW\nw/6Am09Rs0hgRue1RuoKCU3EXueZo4U/m3OyoIUqMmM9r7ERrA6pPUAg5eP6\nZM3/I/eTOWf5GbAbA2nh4BBpywGYxSlKOQyoJ3wbuqRScbx5cTiZb03DAS1l\nOGTSB1PH9uoLFQx1+6yOof3gL+wEp2C9iq5ILcdlFF2ZAWa4f5jFERd9y+ei\nDxID14ffymtQuYZPytn0xY3WJFsA/mCitpSZgkyZJhcuoJCKivOKCQADcXM1\n7kWHfocyHWzcNXuL0h7gh4J1wSp1BRVQ4RXRw6eQrHqDtfsxZGNHaWLS9C//\ngCyGPT8M2NDw0DsQCS5TtcTZR0A4BW7AzURamG2hBKvZUc9K5FrTS9szQ1td\nknShs+wUgJHuk8HeqYflVMKRB/BDB5f+hj+9MIaNyZAqds97mLE8DTkSppfM\neMr+NdntvUQr6wBTppmIgxwKBecyuupXsDj29BVZRlGozZjY56O7Uvcxqy5b\np3qi38yfsYfogh6obdy3id1V6SYLloU1dX7GUGzFrKK95+BnLvaiiZ5fe+Q5\n/7w8CWd4gpi6ph1nL93V5/zHcfktCJiL9UedOHFRtBo9NrCoCVEcL9kVA9xR\nDlt5o3PUQjwNzEJ0GG7LxEGRDEaYZOJhXT5+uEu+uy/I4vTh7beNnLiPBm4f\n3rzd\r\n=rDYP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/tree/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","gitHead":"c6c4d16f33cbd321585e3e7c86b1aaaeeccd3627","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"lerna/3.16.4/node@v10.15.3+x64 (darwin)","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"10.15.3","dependencies":{"lit-element":"2.1.0","@polymer/polymer":"^3.0.5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.0.0-alpha.0_1568697833999_0.2178681285457571","host":"s3://npm-registry-packages"}},"3.0.0-alpha.5":{"name":"@aofl/map-state-properties-mixin","version":"3.0.0-alpha.5","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.0.0-alpha.5","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"f5ccd78a0d6885b9bb5211edee5eb5d88da32380","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.0.0-alpha.5.tgz","fileCount":6,"integrity":"sha512-/UK1LD3KWFJkI/BNsGAGKpkjWBnOOqdrSJPMmTl7LYt5GriLZmwEdHeChoXoXLOv4p4IzuS2BtbhsscIrWvbAA==","signatures":[{"sig":"MEQCICJnafRtvC5tJQ8V2/eKxzWv9+83Lar0rjvJ+p+Ps3+rAiBShatxoV1Pp+e9FQRsKceux6yT4wE98HoE2ahPY+Hemg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8106,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdhHKCCRA9TVsSAnZWagAA3GYP/i8+Qb9Cmdg0++9BxW0R\nMFk61numNg/c22kSebPmUAcdmAgvUQZCRrWET/yH+oiTUSpn/DsqOS0VEo9D\niRgcLM777KXVWsi2KZEfMf1tLKZUy8HEHWNZf9CQnwzUGbY4zm6xUSClI8Vm\nwfHC6QECfYbj7yZ7jgYyyxB/zvusV0xzKhqa9AuQUM/vAKQZvvB5twIYw0qN\nw+2oiKpuy39Vy0RTSJY8EfaWz2canVYsUnmPm68jFKAwjrBsDTHOEqQFCB0A\nuSoAnXTVUABIF2mLQDewKKkvdGOp7O6i0SnK/lZ6eQ7PWumk8dZropoSyjTA\ng9GPWElbiN2UttnBhN9MRUZiKoY/s233fn2ts/WelwWBqw7u2qJltjEQN1MJ\nCt5rP3FdVhTs5XCYrFpzI6Bq86BxW01PA7OE7W9L8/8LmntJD0WI/mxTXxIp\nLTf4Bou9KIHt6GuLaMgTcZgn3F6An88UQhXr1PmcWuOP3Kj1hJggzARfPGPG\n0tTjnDodZuH7/vIuU4Meco/A/2vMMU26NoUV4SD/HgzhfGb3UKZm7Nmt61zR\nvxTdtkYhAOUXJ/JxASHC8wPduW7fQ84XGxn1z15inM46yZMqqnswvP7wy+CZ\nmNWGbZfMELy+0pNKOCW1MHjibnfP6IBw0D28+WhE9hQXRvbJXhr4QZukD1Ln\nN3Iy\r\n=nVU1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/tree/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","gitHead":"09f43882b317744481f4b6845b1cfae0461775d6","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"lerna/3.16.4/node@v10.16.3+x64 (darwin)","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"10.16.3","dependencies":{"lit-element":"2.1.0","@polymer/polymer":"^3.0.5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.0.0-alpha.5_1568961153553_0.4328997543991975","host":"s3://npm-registry-packages"}},"3.0.0-alpha.11":{"name":"@aofl/map-state-properties-mixin","version":"3.0.0-alpha.11","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.0.0-alpha.11","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"345b365be5c2297c11ccc3fee62d05ca92dc8eb0","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.0.0-alpha.11.tgz","fileCount":6,"integrity":"sha512-T1QnXnrL/wfDuRifdKpp+vSPc5AQG9vPUuotCSOPbAhUIiKV2vOk3TSp8j+dt8OY/Q/REyBI1nSiX0k8Daygxw==","signatures":[{"sig":"MEUCIQDoOGi1UWfOIo1MBMdx5vyWcIAMEIqRP+OiO4pcLCWAKQIgDr3EZW/ULA99NLDxblsDvT6z1I4RUKhWMw+0LAIrRMU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8107,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdjbDwCRA9TVsSAnZWagAAsM0P/1IEW56cIBXicT0DQcaJ\nkeB3zgfHVSBkfms80+N3BL0sgQw/fFroJihOCwsWLwToCUBuVFs8kfH4WDqx\nb0VtiDSWWzu8ACuzsb2Se7tTtOtt3uGtD3LUaMatpFVQlJYUU5qOOYnrXr+R\nay21oajWitKjVjaXn97nXzomnbn1Y+afsi+1Jh9IXo0+OhVDwUknFRpBTXL9\nMX51WXbFSGWbfAO/0dky61DX97hsCFYOka20J7RzeWnnQFC2JvB5Pj0IObaX\n69dKI8OkCHLq8vOyqzY4SOcuSUJ8mCxkxwYckVoB8jmdT00qDCheyv4WJsaP\nL9K9Vjk85LfQohW539yHWSWUSZH2cjsru4hmmJAwzvBo3u5LdPCsBkvbQ8Yz\nLfTrzgR9JPJkzn8a9QFafrhdkUrwI5FB8I9nUKQ5NzTjG+wopIQtwq+3nHUW\nRsJ2JciLkkp0hrzK/otC3l7JvgRjn/EG3Bc2aU9++UaJH7qY3fLkZVZgebi/\nN2rfxCPm3uMVEfDx6Q7dTYZjEik0tHBkpr4bd9Te4DlSsHar0K32dJ82eu47\n/w3WppCpV6iYFzAZgNKpliqkZ6a1H6tNdrUgTGi+VR2r1Dlb/vIbWpUbRpDh\nNAcRvqZta4CWGVDXtlYkfq8UJZtSKPPHYjnXc1Piu1xBDW3ZY95FwXPCs4sP\nEaIq\r\n=1mRT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/tree/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","gitHead":"ecdfe7e68c95cd3ce9eca2c86626275d1d4559fe","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"lerna/3.16.4/node@v10.16.3+x64 (darwin)","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"10.16.3","dependencies":{"lit-element":"2.1.0","@polymer/polymer":"^3.0.5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.0.0-alpha.11_1569566959931_0.2594778733421801","host":"s3://npm-registry-packages"}},"3.0.0-beta.6":{"name":"@aofl/map-state-properties-mixin","version":"3.0.0-beta.6","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.0.0-beta.6","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"1446aaa3b344cb1a52ad727b2bcf22f064a71053","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.0.0-beta.6.tgz","fileCount":9,"integrity":"sha512-T8On00KeWLwqcIBQJBCUIkQEBktiODw6A8CGKRpFJVUDa9soqRAOMxH6K3EubqdCXxq+0Tddtjf2saRBl0UbJQ==","signatures":[{"sig":"MEQCIHf3l0qP6lRGZoIWZnm5PQ1t+MnO4wSNVXsTeAat4cXYAiBPcvMX7GNxd4o6313Nj9/kHm2lxZO8lLm3NYuiA7NQKA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18793,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdnBVnCRA9TVsSAnZWagAAhVYQAJpr8VvlrkW4T20x7qJb\nONMAu9kgrA9I9ZtpUl8/xNDtMqFgKoFPsZOzyozOYfJGSX3u0RKQGISxjl/i\nXG9GYAiuH4DLk97Vrs0VHMqEb9nYPAnb0l68pwZ+fvkAeNeff8pxxj5gZeD7\nhVLN26CKtxnvQC3ZVxzaLhmHHNGWQ2XHiEIlvWxlldr5eyVIW2k1N3oUgDl9\nRF0tftZHAp3AnCf1jRR54DGvVstBLmpaaP6ulemuE3X0Aq0NPnOGDZUmVQml\nYTj0Vb7pTNrkbbDrGsPxQ3nxsknDz0JHWwqAnm/zf0MqsKImhoUHBagzspEF\nysX3pivoujy2bpIbUoKYlpSw74Q36wgOnwCAhhGMHx5C69xGW4y5xWLirY6M\nduJgmveBEZU8j6FqBhfUQ+VWvZAsMPTucfD1TYTwq8QVPv/zAkSgsx63pD+n\n9bpqxHN3wvwokw1F1z4ZbMiNbJYmnlIzrR9FEQ2sw/lTBPb1bWleOkO8uM+u\nfBp+ez3Na1D42DFq/x26RIrYEDRePctWNTtfxzl0ZsFDP5f+FQ5o0dpORG+B\nyWU+IDrRbgYt4WaYiiF3cDXtPdprAy3h9z4oJNj2Ct0DhICtFqnXM6a8waYI\n6tkiKknpTFy42xvsxNIJ3VJttj6PbAUK6OWxFkTcMZFwCHgD6gM+K98fBepa\nuQej\r\n=yRpU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/tree/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","gitHead":"23e8e9dd00e515c9305baf320436e43f51d7edd3","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build"},"_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"lerna/3.16.4/node@v10.16.3+x64 (darwin)","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"10.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"@aofl/cli":"^3.0.0-beta.6","cross-env":"^6.0.3","lit-element":"2.2.1"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.0.0-beta.6_1570510182830_0.614183755869443","host":"s3://npm-registry-packages"}},"3.0.0-beta.8":{"name":"@aofl/map-state-properties-mixin","version":"3.0.0-beta.8","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.0.0-beta.8","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"a1d46372a7eb55e68d1653475a03a0d45399b7c7","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.0.0-beta.8.tgz","fileCount":9,"integrity":"sha512-eL8QL7D//fEWPycv66IE2D4VO3xd1tFZq0ctFHw5r53Fax7+Ug88AsrMUhfWoFSdPBvY7HWXKHyUXSUxt8QFvQ==","signatures":[{"sig":"MEUCIQDi45gXABg+IT3yWnYNdQ8O8CkWzH98dLx1hSaBrFXb4gIgO+PaBueR1hf049ZFAnngDpEcX4k5AEmFqJfN1KmD8wQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20685,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdnCMgCRA9TVsSAnZWagAAk/4QAIbTn9UgwEBw2CihPRKA\nKuItIGfGGYHs3PS0NhZZ1BXS1eQVY7vK+faaYC+pO0Co7Li4GDbc1aoBunHy\n5I5UaGkRAAj0ZNdfSAbrQhxZSEI53WRLnn1LLNBVc3ZRQn8fpjj18TtP0fsC\niXN2TCuUX0E/aBMONZD8qwdMONppki8L/vyO7WIIGxLc0xGyUNJiM8kTP34o\n5mVV1mJGjWGgZS8dqXn/otFnT+b8MvRnVCPcDP7NTobj+bo7zoaTdAiM8dzm\ntqBXmaydIrHi+z7+rTNFe8Bs+X1C6aeP/tAS2OE4tkvdS2jHjUjp38QKbfPD\npn8HprzQ/OAR/38YJwgz6zm4Ge/PGoxmEIPoSUvOZnnBZAFJLMN9i9fK7L9W\nuJgneMaqyXtOpHRZwUu2POzMw78wd3Cg0thfhK+Hi2Pri38U52dHfPrSb0tS\nmbrCbnWVRfW8T647tRBl4GmW2PwpAdEvnOiLFZQPmVKVNTX3to/RMVUY2pJh\n3RI+LtIM6a9vw8od9r+0p+DLsB3bPxqhg36fEZG8N1TPImmySf7qA5pQeEaM\nN3tcEDQJXPbdECToAPoCjcpOkPq36wFu3JK8NGmUNCnypoaHhTcIp73Z/HdC\nYMe0UWYy8A3D6dswUTt8qtyWFxJuSfaxJ/JOYU9UZ9nyVk9R5AgLEHjQU1in\nrO7A\r\n=Hq9x\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/tree/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","gitHead":"31f766f3cf621147bfa1530b863757cb08e5fc10","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build"},"_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"lerna/3.16.4/node@v10.16.3+x64 (darwin)","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"10.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"@aofl/cli":"^3.0.0-beta.6","cross-env":"^6.0.3","lit-element":"2.2.1"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.0.0-beta.8_1570513696012_0.46910145779689527","host":"s3://npm-registry-packages"}},"3.0.0-beta.9":{"name":"@aofl/map-state-properties-mixin","version":"3.0.0-beta.9","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.0.0-beta.9","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"38e4838566f95847f24598490af11e00786d6ba4","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.0.0-beta.9.tgz","fileCount":9,"integrity":"sha512-CwQdDO1jGlx7cxhG3NTX+lI9Uyl7Eg+DR1ekwT+y1atsxziipw2ADuACt+EOhRsatu9b+ED4AAKJjD0yqp27DQ==","signatures":[{"sig":"MEUCIAibzQaLzVchNgG886oTDLZQA4xRw5448wFtJ7tp54TDAiEAuaItdWDrSMG19eMfddne/JM2AWqqQrVqBj46SlWN/24=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18794,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdnCiiCRA9TVsSAnZWagAAoSQP/0cfn9LcOCiPLTTEFHVD\n3THx8piaaG1apD7T1BGa9XZQ3MPE+We/OiQ/AsA5hcLBNms/Z5A5nGP2gNy1\n2bmUUikLfCl05YDJAsfSiwOn/6DKLhYYtOanN3y3F/aJA9MCb2Y003WmkMUB\nTiMBlZ3r9wV6ZGIZS2tFloIZFKKUZYRfIDqp654uR43P+NZLyvxzIiyWkCw/\nD/PzaNqZUj8OP1R+0CALTMu8DbAq4PyECNB0ypR6nTviqBGNVDI88q0oEON0\nnQWgo2zMvb8ZaM7AP1TATaxg5d7n3len+KykLzPl82fWmhN9WyeEMcwV/Bda\ntsCYP+RJ6h8Wh9yFSd5zqt+3wrREoWze/rZdvlS1SX0X0fV65TRcjrIPfhyr\njS5QhmvEynILKHkPE/Y7bpIEjj5oM9S5Ezb7ugsF9ihCj996CmyG1W8tLtVC\nyvLySe2SJclPdZYbEqr0rdeAummpHqcY9QdWAqrANajRJxJw3Ogz3Jx+afSv\nwcE7EulDzuQXKt6ggQf/8Kuno5XtjQOaYns/xangZi+bdFsuCvO3IzvgKwah\ncfPJ7CXfJ/KXcHimJ8XVypPnwtawY09BKPFNCCTTLbL0/gHIDUXmCl3LVxHo\nzS2jRkEL/eo+PzwcQg2+AbphJxHQbmt0iQHvcRW2zv2Nn68m+MA1ekS3pm/F\nHSpU\r\n=R+2O\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/tree/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","gitHead":"e9e6bf24a51611b9b997dc99e770d43466ba063d","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build"},"_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"lerna/3.16.4/node@v10.16.3+x64 (darwin)","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"10.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"@aofl/cli":"^3.0.0-beta.6","cross-env":"^6.0.3","lit-element":"2.2.1"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.0.0-beta.9_1570515105492_0.4336372641103703","host":"s3://npm-registry-packages"}},"3.0.0-beta.11":{"name":"@aofl/map-state-properties-mixin","version":"3.0.0-beta.11","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.0.0-beta.11","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"6913c0596f68b94fec8c200b340524e0cab742e2","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.0.0-beta.11.tgz","fileCount":11,"integrity":"sha512-9jIZDEHFf2NFKKVGhbelP6Nl1vvFJOSTMXfqlo7PDY91smpBOleNjNp8a0nX77W+xJl+DOEw8Ec1oZuJeM2eTQ==","signatures":[{"sig":"MEYCIQDHOrF9UrbLIITGvIrBhnGWuwe/hulH4McsTSd+TRgT1gIhAIP+MoN9zxhhR351YyUeHKcHeQch72by++/dJO/CCpax","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20902,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdnFodCRA9TVsSAnZWagAAvHcP/2P2m3bKmyUrHX5/7YCD\nOFii878ijC5jnlliMsakiKe9f43De5ttgbg2hArztqkLqLJs34ugi5OKjvWR\n6x+G45v9KIAJrtGQFpkUsYqrMh3eU61U/QRYTeaQoajv3sBqv23pfiihsoty\nrRF7buRGqBeuJ+d4o7ckUccP59ETmiMSqrmCXt6CGaKY5qtaCJx8Uqlaip34\nq6vITq75u2HEMrhmAZNiIDcR3Oeo9HFrPHSKv8/sqReEbplrdd52LdAwbWsm\nIAchuOnR2HO3SwbJDNk8mD4+Nh8CkYsF+7qzXozJWr8sPXbNulDDn2bj6YIb\nH8xZ9O3Nfv+TYtY87wW1JbUPC04/ROLmarW8/0c6yJQyELclnJdzRKe0yrGC\nKk9sDgDq5Bw4TS3W41OyEUPD4OX3OMv88STx+VGC1YIi9YEvaTwaEEGOeio0\nhVSue3yUy2gFyNl79EH8Iqaml+07NjiSUDdTiLbqS5m9HDrXcms/yM2MdfBa\nVhhuZHRZXd8A5QJMhUs4KLk94dnsaJHWHSLMysuiCV1/fYOSCYX+RhtTvLjj\nETZSUQdkIDX8ZyLdUdwVa2Bo3Af8IpadtjppdMV2zUbXoQoScKv+ClCqjMaT\n64KgCpAumCstq8Lnz+YL3bBIaV3bu3ngZI2TVYBdWiOA6/NJeNHIm+rdUGbJ\nH+L2\r\n=ZUyA\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/tree/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","gitHead":"ad7cdc30523ea031f8d1bf5c62440f80f75a7308","scripts":{"docs":"jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"lerna/3.16.4/node@v10.16.3+x64 (darwin)","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"10.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.3","@aofl/cli":"^3.0.0-beta.10","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0","jsdoc-babel":"^0.5.0","lit-element":"2.2.1"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.0.0-beta.11_1570527773355_0.2249717307961061","host":"s3://npm-registry-packages"}},"3.0.0-beta.12":{"name":"@aofl/map-state-properties-mixin","version":"3.0.0-beta.12","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.0.0-beta.12","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"20a6e252f094947cba42949b6534dca147c67d69","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.0.0-beta.12.tgz","fileCount":11,"integrity":"sha512-f7p+2fSqC9QOU2r1XVNUomq8I74KI29llsXfvJyf2vT7PHWqYN0+etIC2WVnBPW7D8Hhey0h9FewZyj8LRVMFg==","signatures":[{"sig":"MEQCIHg2pOM5dhGyv7YhgYLGz3l2A5XSFxaa2+DEJ2pBy0gxAiBUj4/qhN56kctSzyjp152mdI5gPZC5eQPxfZxnsuii9A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20457,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdnFynCRA9TVsSAnZWagAAWroP/idGT2nOYM7LUGHgkPBj\nhUl/LW1wjaeoeBYkbfkORlI+oJRjM3m4LY2VoZwue3jzKzGriAJAWrvU1Fx5\np4LBpdmN7J5v6onjpLGXRDi2KiXJMYrUXzrqfiLg4NVEI7r6d9VSM0bxa4Z7\nVvlAHfkthyl2IyOO+jejk5sZIS+L/hcX1SCX0bdbWCPakSN3HhE9PFnnakYM\nazSTXxCSBeW0vWZdDi9bK07sVUI77drJ8gtb84z5Ft7g8p4bTq4nL3+qTFiF\nWSDxPqM4L/qespBjLIxMEmE8DxHoRvXONrmWEVKdNIuSWFLIAO3QwbjgKaAG\nvW3BcWXFVCX1hHan32W7JQb1W/g6ewvHl5/cdcs0vV677N6LOJhBNo9OrjVs\nj7Z4L+bESSjdqYEEiAOJrPnc21/qef8liQ8fNxqOVM1lZsgweacTK0nxr8k6\nIpjv7GvbzyIf1nSPiDDpRJa0Wn6L9LFK5mbTBXnOIxlRjSXK1BWmyFi1Zyok\nYr3qWKUhsQC0Le4lIRGKJOWO/U82rQW7D05CcZvs4PTkj7xTalmv2gPMlMB5\nUwRevfSM96E3hzU29Wk98OOrd03xNkL2LsE9z3H2HzXyW3B7qwNJ/WGYbIp1\nGi9NQJKZff6Lvez3vs8ZYQMXSqEmjDwFSgp5WExCBvuBrO6Vl9RtCoR0piwN\nY2s4\r\n=ILYI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/tree/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","gitHead":"7fefe74af1885e7b807b6ed3522d9ae661e52645","scripts":{"docs":"jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"lerna/3.16.4/node@v10.16.3+x64 (darwin)","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"10.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.3","@aofl/cli":"^3.0.0-beta.10","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0","jsdoc-babel":"^0.5.0","lit-element":"2.2.1"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.0.0-beta.12_1570528422456_0.06104736469615646","host":"s3://npm-registry-packages"}},"3.0.0-beta.13":{"name":"@aofl/map-state-properties-mixin","version":"3.0.0-beta.13","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.0.0-beta.13","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"06cfe4844a07a9af7a5eb858e578236e2254f177","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.0.0-beta.13.tgz","fileCount":11,"integrity":"sha512-Rgr6JJ1QGNoFkjIG3BOD5zSx0nBrF28IMwVTLGZMRAyhWpF9Zj6hgmXZ3zNOvaA48/FdH59eDzoZjvHaKxaP2w==","signatures":[{"sig":"MEQCIC9EQcCcLtZj+hwo7HDP4RPX7kDtJ5Y9EqaBu1BeWxqIAiAHIp6M3BRo9JxluN7VxHPxaHvkBpcRhyCgJcNVhuMrdg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20481,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdnV5nCRA9TVsSAnZWagAAsY8P/iLMr5Yv+fdAFpKWjwjz\nz5Oj2h//nsCKIgRQ0mt/MdV9qg2a+X/NOKCdWxDAUfAfFnrCAOfUC97Qyt6Z\nP0PdWk8XfYnp4ZTbh9LfOOE8bAxbv39bKL3I6GrIzdRzudTbgyjqw6EngVp0\nS1MUE7FGUxVpvv5HEATWuwYP4yTVAkepQY/kX+LPcJz7RE4Mp9qh4q0nrz4k\nTUlCkilK31VLhQantZ9XMNrfGKCcbvckWGC/6nrPCCzmzmhbF/yrzXndP6Fr\n05QOui9i0sQYj3NaEeOEdrWXON1zCUg15HUsAY7YpguGSqw2Ic/pf/A0Z0HA\nghuqwjnzHpO6JtqyvTcFXADMypd/+/0ddFNv4w7paJdh28DwMnu6I0cu8/o3\nvs2s2x0PSUq4rkRUeSWdXQeKUTEMQhhdw+E9nhZO8O4yEV3nTimJDooqOFqQ\nWCfTfsgcqSulXzAhchLBVxzcyn8gtqF+MRMfVKjBwYrL7wEPo8qM3mOecoza\n6SpEaOW3o4NS29r2v2NO0lK1Alzs1QpYn/5lmzk3pb2G0ugulp7BToWJMt64\ni6OA4gcD2HUPIZ7fuNiWbTnAz4UrdysWUtn74+/s15YqxaEsG2kldOHEka//\nJiDT6t0Yg5WXPdkUZF+WEbpdQhqfOuFL2B0qyAg37KbgFx46J2MSa1O038Vf\nXJ4o\r\n=vpMP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/tree/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","gitHead":"aa2e52c46ae9451fde097de4734398430f2127a7","scripts":{"docs":"jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"lerna/3.16.4/node@v10.16.3+x64 (darwin)","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"10.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.3","@aofl/cli":"^3.0.0-beta.13","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0","jsdoc-babel":"^0.5.0","lit-element":"2.2.1"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.0.0-beta.13_1570594406596_0.25461242456804434","host":"s3://npm-registry-packages"}},"3.0.0-beta.14":{"name":"@aofl/map-state-properties-mixin","version":"3.0.0-beta.14","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.0.0-beta.14","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"8d731b5d8fcba2d84e62af1a9d42dcaf32457419","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.0.0-beta.14.tgz","fileCount":11,"integrity":"sha512-c7F3WhxB9gT8jmldcu0pfZaV/ll7nPSaCc3Kr/9D1fcJeH5KbgI0C2CbW7Y7U57x7OJuayNbSCoj73IJwI8Obw==","signatures":[{"sig":"MEUCIQC0wNfjuWhejD+VK8DZ7G+KcI6HpYKK4CaWcakxiR7J0QIgQeTY6e3GlpyTLcnetE1TARKPeUsRqZeXZK2UNbAQV6I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20506,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdnWMFCRA9TVsSAnZWagAAZM8P/0fC2Pt9J8Ng5WMrdavF\nTBLtDwUHEqQ3+gMwt+dGZbf+EuFGSyd+Q4zyteApUjz93kTecTqtKxb9uOhn\nOD72MHGXkzVcbEgCPTfWbfOtzbWYltKPFysLXhglkbAcgJA+JoldpzAqsDxy\nuFoLhlcJal0MkFQzw1YDi6hFxcffI0BBGLbBZLWhWGua0rxp6w1pVFnoBWHa\nK/XKsS/lsE9ia4bMd8m/XczurUhz8LPShrGZi4r1N4bpDewETYQ1sGLYME+r\nncYIvjoL/U/ZryjtcK/Jebc+tcTGHXSx1X/7g53b8IVVlBr2UKAh2/XUNcl8\nD26QLQHy5I+K6leen4+xxV/lb/k1dWk5PzHwBP8ue9mbvhzePV6yABoAYXBP\nSBujGJrYb49nK0HiZs9P5bG7tKLQqaxuOEefoS0Cnr9OgGuDsiDRSFpEkkfH\nIbu2Xj3/EMKj0YPyi6JGK1sje+s3goytukx4GVP7H04INHUiCu1mhY4U6hE5\n0dZu6jNIeIEthMm2gsvM5CFNdGgq4mDhbkxRfLkbsMBK3hgm16AjjKWFn9V9\n2ZIXGAOP8Zk524Rk3+pvowhwGYvtLmI3oJdn7T3lYufLuaVUyxfvbqF+mSkg\niVCfKDtkHSm7whzLuR5Q5W1KXCeh4RrsrOc89W0kUw241jy1+eUJ0mpkXRqu\n65gd\r\n=X0zD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/tree/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","gitHead":"80c0c882f3af67f4584dc8d38de8a62ca5632c94","scripts":{"docs":"jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"lerna/3.16.4/node@v10.16.3+x64 (darwin)","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"10.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.3","@aofl/cli":"^3.0.0-beta.14","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0","jsdoc-babel":"^0.5.0","lit-element":"2.2.1"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.0.0-beta.14_1570595589150_0.9225095620894157","host":"s3://npm-registry-packages"}},"3.0.0-beta.15":{"name":"@aofl/map-state-properties-mixin","version":"3.0.0-beta.15","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.0.0-beta.15","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"95f3f5c5aa15f1ccbd5d9ff178d63494ad729a12","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.0.0-beta.15.tgz","fileCount":11,"integrity":"sha512-xh4S1fWUgb7+RGc5JZe0bH/YbmwWEU1hhlXLHt3sEPbh2Z7V0owb0mtoRVBEbDeQpoTRXt66tondXS9h/mmVMw==","signatures":[{"sig":"MEUCIQD9fVTJNKjQ71nFCtASyHAbuLzFvmZVef5CVG4/LqJMGgIgXo4Lvzmm+O+GL5HQfYA/OHIe8ho34GLV46Zd5tP7P1U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20506,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdnWcmCRA9TVsSAnZWagAAlWcQAJWUQh8rz7bBlZAX21nK\nYWDW8a+UHcrzmJmfJpi9qvdeXvpCtP/322c9MrL4Um6pr6B0PJIKiuZt9B6I\n6/zUD4CkEVdXRwg/TG7JwFyY5ocRrMbaSRk3D4crP62UV5/c9YP/iOzA7rAY\n6elUJ+k8DRRBYQaWttbfF7SbvwZxW4LE1gPPDSFYI/ZDyrEXk+rgYrWG+l+E\njipL+sb/97k4kIB85S1xcUJXC1F+Gnr9SKPMWETRzgz37n7ni2JPW1aY5jSV\nVFaZSMKZwDMnpPQPfZ1Bz/LXcGzkPXismPtSjMEZEfV7j/vWyUD4ibLCSkcy\nf+c73wl06ZsnMunqblyNGfSqxa1wJHhgkbv479WjxKPfyRL8wJsTZGsxtc4s\n6YFL6AJ4rnZx+Kl0yLjjlj042qSXRW64OukNtTX1pr6LdCrI3ABpNWxWJyOa\nphU/8IieZW/L8LG1qy/uM18lDfV+tmC8teB07eb5NWOo+UK1NF6n4Sn5dxEf\nRk7HMseU16juKIUG2YfbhVGW1nwX9sPGsIqwubSk3PUuQjle8RoVycMdT4hP\nCcWEYujQOmx7blbluvUvaVtZUQIu1sIDy5+AViftcajqB581lNuWEz1Tljmb\nNWxr9lQIoBthlRxWAbj+I4xOlYnUnM9z8YVCrJOHirpfpI66P4tPfg74DIZc\nxBPm\r\n=faJm\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/tree/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","gitHead":"0fab45fd3f4a1789a3683dbaece87d579e9de597","scripts":{"docs":"jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"lerna/3.16.4/node@v10.16.3+x64 (darwin)","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"10.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.3","@aofl/cli":"^3.0.0-beta.15","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0","jsdoc-babel":"^0.5.0","lit-element":"2.2.1"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.0.0-beta.15_1570596646247_0.2757265849387196","host":"s3://npm-registry-packages"}},"3.0.0-beta.16":{"name":"@aofl/map-state-properties-mixin","version":"3.0.0-beta.16","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.0.0-beta.16","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"c4e5a8150269a40146475ee71f304069cbd45347","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.0.0-beta.16.tgz","fileCount":12,"integrity":"sha512-jD+JjdV8n91Un5b/z0jSXc0g3/4Mj1+QGyJjPE1r7q7AA3gTwQKrrJ/Cwv+qyHVCKkoAy8afWz0Q1NI2ADKKNg==","signatures":[{"sig":"MEYCIQDgL7kTdobufCh2RY68dKmhVnIGfCqVaXXm8MXou/EamAIhALJwwx+wLaovfLXsyPDdP98AFLCCf4g8dIi+mjB+L4zA","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20547,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdnWq+CRA9TVsSAnZWagAAk0MQAIY3yoQnnpsHGHwadfwn\nRfd2Ybewl4IXVUCOCrocUTa7Q1ZzSbtK3bD/W9PfKit60n/ZJMMpev2mI2qP\nY22y3Kg+lhsBhx2JQbCQoc++hLcpZXdqN5tiwr33nEtpq9D+zwB2Hq3wSNlC\nFAkH+tQAVoJXY6gm8ZiVOnQ6sZLWYLsDaItFMbgPshBStK0Ruc+zn4MqXLI0\nUAL9XdCrIrgiqGoWK9fYwKXSs/f90JyhOCkVXPAxa0ToEJ+N8NQnNhk9kTW1\nIFGlyhawSg0oXwLsUY02zOOiokeMFe4mJty6FGpewPtzrbVP0RwLAOK9wR9P\nLdDjyuMS+R2fUo2DPh5LrMDFgQ9zDPyHzeTBlmv4h6utyTdVoo1rTlJhaOr5\nkf6ACWRI9jc9zbgbVh0/RLSRzougoIE50jjHjHn0INV2JNa2aQhtdJVulP0+\nnH7qGNu+58TKDirVaZHSuPJWpMD73rKI3f2+J5qbhvWnw4miJWfrRj+u/r2t\nqPPyAaQbTsXX21A2otjY1FrodRC+D0BqburlvKnSA8yWgD939L0tW1ZzNyYU\np6o9PFzV6qVwa/ECh3nMtVbt1ivezW3NitBk27JkbjYBbQEyXgnKlagJbGoV\nXIsiHoFqIGlEU9jUygmwN4WzpdiZcv8a5f+ooRUUfZo3cg7iLEW1bMhonVOV\nQt7n\r\n=xNXD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/tree/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","gitHead":"32c2f889b64c30fba2458f8704f7c135b47c5b95","scripts":{"docs":"jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"lerna/3.16.4/node@v10.16.3+x64 (darwin)","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"10.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.3","@aofl/cli":"^3.0.0-beta.15","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0","jsdoc-babel":"^0.5.0","lit-element":"2.2.1"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.0.0-beta.16_1570597565490_0.19155931657415537","host":"s3://npm-registry-packages"}},"3.0.0-beta.17":{"name":"@aofl/map-state-properties-mixin","version":"3.0.0-beta.17","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.0.0-beta.17","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"a4c9a92b1bbb8ea6602ec934442f093b0d4cc512","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.0.0-beta.17.tgz","fileCount":12,"integrity":"sha512-bfbeAFd6FQ7NSWtCj8yh1ZRdGWG2T27/ks5GVmKE6Mv2aenz7NfYwJRJr43bhO50+RtSxXLooXt4hk5xYblk2g==","signatures":[{"sig":"MEUCIQCw9V+0uxMddxxLQvXkcGI7Me1Pd/qHqbCN5WPp4KqVpgIgLxgmGCtmTvTPOPau+9amTmOBNDoDP7JN6dtQTfU9HX4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21174,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdnW8wCRA9TVsSAnZWagAAgfUP/A1rBpFGahwfM4orB3Zc\nIryi9fmSqdm6v4ZL87iK4aPoZTUROdf6/cd+c3cnEaW37eAmfq/+96db9yPk\nWuU2vte275ZE71kP/kYsBUZgM8J1G4r53Uks3R3UWFH7sY1so0F0HRPVNzl9\nEBwhaHLcF5PZJE7hsR0qAcJgbDkG6ANIV1cUOUsBJtHgxsiC9GCgEtn9WBWu\nPu+UiYoF0zZzoX2GTgn8mw5EcivH8ZflSkGAZMYhNpnLwbEu/GG2I0UyUH1O\nI012dJfxmsrxyNq4prdX5IsxFZxqRlBuPTnFjNXNKYay/d8zKK3SPWBqCZXz\nkJ2hJW45PYtC6Z4heX2KEZ04ZHJLBi6Y/M++uH2WyuHMSVKATq8MIrIgW/91\nx5ACqOmPTPaKfjzDoj7fuNAa9p2wF3iyJ6DgFafIPGEsPCoV4MSpJqiKudL2\n/FcpJypTyBb5swekDfaWsBo2raAg6dV3g/Xm5bC3P2oj1RUNStsYOSUEfaYi\n9jyYbr1ROlGccjTy7ds6RTbtjmZkAT+yedX4TEnScmbe3OFxgcxPkBxRtTR6\ncIseKRryiQTZN7uFM4YG2HkBMDxLA5poXaPyJzI6qAfUiCJntoNr5AK8XDEO\nhCYJmnnagVgkBdblaBVbboxIuusv2tnLN3kqvYJbWxPRLBKmMGxP8II9lyn4\ntdhD\r\n=7Bmd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/tree/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","gitHead":"1a9a0010d531b8a6ab7287dee07687c312379976","scripts":{"docs":"jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"lerna/3.16.4/node@v10.16.3+x64 (darwin)","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"10.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.3","@aofl/cli":"^3.0.0-beta.15","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0","jsdoc-babel":"^0.5.0","lit-element":"2.2.1"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.0.0-beta.17_1570598704181_0.7161157563440612","host":"s3://npm-registry-packages"}},"3.0.0-beta.22":{"name":"@aofl/map-state-properties-mixin","version":"3.0.0-beta.22","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.0.0-beta.22","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"0310d08836e39e206e7971f3315fc39bf9f43ba0","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.0.0-beta.22.tgz","fileCount":12,"integrity":"sha512-bj/d2WO2aySaN5WBe0vYXFweVo0ASmQVYYGpCX07Ybf8LIVQlEJCT2Nb5rVcWLzZIuNE++KkrOEV5Jt9TQadZg==","signatures":[{"sig":"MEUCIFD09nkUWZwRPVOv80ygamI4X1RGoYbpQcBfo6qcVYIwAiEA1yBb3yNr4/iOstTg3uROlqlqFSUPWb/AM71i4LoeCoo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21174,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdoAfUCRA9TVsSAnZWagAARfMP/1HNGs2O/0KXJ4ivnPN9\nAKkizshFmQoxg26P7qk+rfiqf0TVmW0V8abb1aX6JH9e/ZonldwhjfDLBDOw\n3+77j3p/eVV79sxAqxJnjnzEBo0vFC2I1xGNOT5gQGY1sO4m4o3o3vyofnFo\nHnAcl3Ly8ZgrAnSn8f76D02EKaxHOnpg65MhHq8d7+b5BDhxfEkTE6C5/lNc\nwF0WtsehxhJGDznvC5i8BXxxYN0Jw7SLaRGfY/1Ons7+gimISJRr14LbijbA\nRiq9F7hzbSX0f+BqcBvgexP2nHIaepiQPowWD7SDW2MwldIYz6wY21xZNPqg\ntmK3OD0ZTkWhjz/Sr0SzJJvjCI7GhhGE1w65sXyJLZdB06FUxxgzc/4ZkjMw\n0HO9wwSKsq3tVNzm/9z7Xy5mbCcf/mp7SfS3j2KZPkiAQV+SdNUt0I2QwymG\nUtWWAmv0AagNlJ3l6lckvGxBEVJVhUZWVpI6QniqgVuurc5pU5IMcoqE4rF9\nexoDYuRTj5Vn4bSZbuYKjg8WRi1cN2klm1daADxv63jSPAWS8vNUTbegKgjB\n8kpLWArTkr0RARcErGoug0Fcpb+DVBBvAekODZtlx+pqZTWS7sLrSEhLokQa\nR6ZbUx+HGD9cib3NfhgzixGYJnLzfZD+bgOOwUWCLc4nNm63CF4AaVE1CFKy\nudWq\r\n=tIEi\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/tree/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","gitHead":"6009b3c38f31f159b65265ddbc3653c0087909be","scripts":{"docs":"jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"lerna/3.16.4/node@v10.16.3+x64 (darwin)","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"10.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.3","@aofl/cli":"^3.0.0-beta.15","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0","jsdoc-babel":"^0.5.0","lit-element":"2.2.1"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.0.0-beta.22_1570768852310_0.48322086103400363","host":"s3://npm-registry-packages"}},"3.0.0-beta.23":{"name":"@aofl/map-state-properties-mixin","version":"3.0.0-beta.23","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.0.0-beta.23","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"e1159cd796c1d51e05ac8f7d6b0c15f5045027a1","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.0.0-beta.23.tgz","fileCount":12,"integrity":"sha512-dIK1B6HTgzAnz2Q3NU8XquCcerIA2cfjxgQ0d22sxO0aDR0C3zXDgyvdqSz01lEpqG68j8b+7LO4WT8xG7FtcQ==","signatures":[{"sig":"MEUCIQCYig0m5c0Qo/Jq+r/9bSfypN/tktExNosvmdoU1JsW/gIgGwP+RhahzrIJ3OGJXcofITLCLuIrH8ESLSxpojeK3LI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21174,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdoBWxCRA9TVsSAnZWagAAsUwP/jvU7dfwl3ldU8h4HQvV\n924OJ6iE3HXOp6YrrSabsNSd53Lhe4Ol5c+C0j3FF141DH0IjXNjEzVjPpWk\nfMa7Kid8+6inX29099Tc/TMW3blJhRrIm/WwSxbuw+F1E0Y4fV5myt+ClSzN\nmocDNXlc130/+18T4PhhPWYrtAiNfbl99BVGwmcugcKUGfkL5y9smZPkrvmx\nVlyx+8Rf+ADAiNNgzlCvZNeQS/wBTsh/6NTwD12jzSAp50CofRqW4ywps/f6\nRAseueIh5DvpzlWelHj4Ka+dZNCFdlf6PE83woDSUtfMzc1ReJ2OyGUsHzMV\nOCXvYV3QCTP0dtiSgq+Emt6ks5712XpuRm1U48VCdd0OQhUxTkg88JxWve+8\nStMldVXjK2J4zzLoIa2/G9qahFuQ+tzCmVz8vEEVrhrzfsU2WTwFJpkZvpXm\nMRuv63zMd2COuJw2EABqRENXD+/Eerm5+n8evQlhCnU9ZyJT2veQLxaIzfRU\nyQGQLxlBX2plMvo4k8oIPegUj3mETtY9gjcSn/X6skPya4BO+qt9I3n65ZT4\nfcWrNvnebUvi4du4ZmgQmlfRKP2PnjsDvIh19k8h4YMVVt/6ZP9ZejAKhy3A\nrr2eI7X0OV9qWMI+gAmq1Uc0YPbZBM0vXT19ecJ30yRHXNYRMd2OCE+PwOQ5\npP0a\r\n=yKhU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/tree/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","gitHead":"35327a525c0190a3c1ee36be061e25eeab73ed33","scripts":{"docs":"jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"lerna/3.16.4/node@v10.16.3+x64 (darwin)","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"10.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.3","@aofl/cli":"^3.0.0-beta.23","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0","jsdoc-babel":"^0.5.0","lit-element":"2.2.1"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.0.0-beta.23_1570772400617_0.16712576868763707","host":"s3://npm-registry-packages"}},"3.0.0-beta.24":{"name":"@aofl/map-state-properties-mixin","version":"3.0.0-beta.24","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.0.0-beta.24","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"1df1b6b941b86087576e73ed02392f841efad537","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.0.0-beta.24.tgz","fileCount":12,"integrity":"sha512-UnHhxvorYh8g9jE1v1bYQhl/5J6otIih9uNa+/imTHqPX2aqubyAiRaAVR4dMKXS9dSkMY+tMJF4LU4lM1OUCA==","signatures":[{"sig":"MEQCIFo+X8SR3fgDlpwUUqkpCYfBKAy8cM71A6DI7VNeEztxAiB22rCezwsn8lqRbdPjKCUIvPjpO2REoCIq/+FjCOx5ig==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21174,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdoCKKCRA9TVsSAnZWagAANu8P/3VfTI42F7NdKFKU8Du3\nE/YVC3qtMPl5mpizerRVMbBmbB7LzneB3E0IL/A+XINQtpvGbbIvsORXKXVx\n1spcH0JiJo1npovpW0yXQzEO+/30lfWD0exRpZOADlQsOohd8Mwp+c4e70W1\nVJy8PfW///d4x0IVlmLLqXPyU63AvuG1Mddiq293eeYOxyxnumw6SmBZ6lzo\nzi2aMEiFlqd5NBfq9SdRAFbbH/HK5bPNdxNalQx6P1OpIMxmuYJtqyqkhqwk\nLf+UwG/voo98q+QZh86Dj3skiFPtruYQrRw+ckoUTKJpUs/w8OLZ436J2qte\nBnbASDrJysx73Xs/nnN1lMTzN9GIokpYnU715RGPt02YTQSB2RfX7tTJ68nA\ni0oNNisETiIszWvSYaw8rRAKMlR1tFgc+sHKWYVlN2HeiLsXWfON8HTc9wQs\nyJ0cv3IdPuY+4y0aaUjvVzk8y8v4buYTNFcQxmabiBgq9lcR5pALZLXSbe3p\n/Wuncd+IMmn0kaQiYIgQJi1W7ICwbA5J2EPD3FaGzR/odavybNZ2zc5/uGDt\nC6YlDOynMf2fgFCRzQFUAlxo8aUpIQ4MfL2j2jwe+jz+VJR5mMGaAp01XnGf\nb3z0iIrGjJY6hFn/rrk49DiUK3O/NzI1yaKhXamvXjNiz2p1QdWxBhon2zEu\nyJW7\r\n=CHJv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/tree/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","gitHead":"be81016959caf66748582258c92f8c73471a9f67","scripts":{"docs":"jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"lerna/3.16.4/node@v10.16.3+x64 (darwin)","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"10.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.3","@aofl/cli":"^3.0.0-beta.24","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0","jsdoc-babel":"^0.5.0","lit-element":"2.2.1"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.0.0-beta.24_1570775689564_0.4917442358049917","host":"s3://npm-registry-packages"}},"3.0.0-beta.25":{"name":"@aofl/map-state-properties-mixin","version":"3.0.0-beta.25","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.0.0-beta.25","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"80d3800f6df8585c4d604a9b00a6c21aa7bef429","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.0.0-beta.25.tgz","fileCount":12,"integrity":"sha512-+/93NtbxwwA2dgTm8v8F1/T+mIl31OuD4HcU3TADUtovHZYDQK2LH+nKVk1DEDRi5PQJN4vzxIy1E+VIuNylYQ==","signatures":[{"sig":"MEUCIFICPU6EHT5hpxVIaod79ZwaEl9VStu+BVOO0+hLqX4lAiEAyhxPDsUTj7emD8s8ToFfAx8f0Hr0BEnU7vYATx7neqI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21174,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdoDCbCRA9TVsSAnZWagAAbwIP/3L0Mut5z+sAaJKXOcFE\nGYxsj0Vx2jcGk7yq6Yw54MqbisMeNp/jEpWYH54Ohx9ytiOSuvX1nhr6E0+I\nSk83lc73wlwDgK+tR4S9DKc+qf8XIUR+Mu1SaOeNcOke7P5Jsu0TlHSBPnBv\nnGddd4dWEgZKas7f46aJCdmonRQRDMd3/dQHUA91b6PUKWntHTswOMNiEY4N\ncRYqjO/UxMqFigXORsfjcI94lgJ6L7kcnipP7PQSj0l9zAlrQPhfNQhMjTtC\n8ogE7OGPSgdKSW3iK8HA9CA8qkUi4ot8+8g0kRcq7WOVRwwM/+tRfs8hlJ01\n6U3hxO4xgm+t5IuwAxXQPRx3m9wY9DCMj3QgzDGO/QolezNbLQfqxUYvkJbl\n5wSI+znpfXJ/NW4gTTQyFI+Xp7ZyRVj3DEsnfoQqnZ/WJC8ur3PCIl6sEcxF\nZjCF+ILrv80ZusZoRq3X48gyhFTxGVqwLaRzD5GmlFf1RQiA+PLcJWk8JuO4\nNG9NWbfvVe7IspXCrwOrsEOTrv478Dbrs3udblii+C6JVz2qRqywTRPhJDbS\nA+BgUXnYCQjBXQzH+KkWcYOM2fqO1jfPTG+mNHWGSjTLyOfbubF5bq1ClIxl\nNd3P0AHCYCvuNmJIGyzQrv8eLQsv22gJexjY3SonP8tougMZXChmSoabmpDF\nsobD\r\n=0gRp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/tree/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","gitHead":"658a5f60a694ddcc2ddc62e8db80688cc6b71c68","scripts":{"docs":"jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"lerna/3.16.4/node@v10.16.3+x64 (darwin)","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"10.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.3","@aofl/cli":"^3.0.0-beta.25","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0","jsdoc-babel":"^0.5.0","lit-element":"2.2.1"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.0.0-beta.25_1570779290517_0.9803383156736749","host":"s3://npm-registry-packages"}},"3.0.0-beta.26":{"name":"@aofl/map-state-properties-mixin","version":"3.0.0-beta.26","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.0.0-beta.26","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"902f46229645dbc78219015c42d6331c77f0d56f","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.0.0-beta.26.tgz","fileCount":12,"integrity":"sha512-SMk1FWXRFgj+2AUxgSmtl7oMbvphiVMEH2xYNA0u9LHsaUOuqfQZ5qZuCErkhZtRTkLhsSA+CaxGnA1Lrqa3Ww==","signatures":[{"sig":"MEQCIC1e39rFGAOkU9fZJDYfqJvs8Cd1aJJASGtjjSoKDykxAiBqeiytcLkNX+ZFjOIRpLxtm7dNnAOMnZvmHrqU9adPGg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21174,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdoDP2CRA9TVsSAnZWagAAkF4P/17oMD19/fxesCnMdny0\nzXlajHFL0Raps1Kd2WG0Ak2PpG2fiphwHT33p0bYrIqSMdp9DlvMleHNaBKs\nFPSpethLNb6Q6y0M5ZaspwjpAW+sISVsU85+3ftUdpKNItL1zzageCifKWOH\nAsYICf7VbeeeHUmi+NVdMHEr1ApUxTcgPKaBjOW658SIA6NQre9s1v/QQ+HS\n4AMBtf1BqpmPHYVSk1meedBhTi4m4rbAxtoytWEMQNyYhZTq0kYTA/BtzrW/\n1LPUPQjD+8O3JEsl+dFUElfpMcJrO/5G4KlsC+zjkXE31Xh8nySPNSV7/iQN\nE4bW2YfDJ7JeaLqqCKBLz1JJ+tbTdXSdaRjrb17dBFNCBzDSCYDYZ9dpugbE\nlBN+/AQnnNef3M9uMC/RzDNHZfzr8RXax5nypyEjLO/sodknG5A0/NJENrYn\n4KxJ2cVBoflTwyjo4Wt+Q0SEN1rcitnuJzNQ/SkrwPZZDn8x8gQ5ByfeMwB8\nBO9f3MNJAHVk9oMcbtTqvcC+WBJUK9jANbZiTtAn7BZoHLRnC7BSaPneHw3P\nWcKs+XxPtwB1NiVhe/3y0pUmCWRaJe6hKY9lMPiTUHQ6cAgG6oM/QF2hNxBB\nKt+doYkyNHWEYm1oDMlNd7WGonBArfLjS4NraJzEqp1iOGHBKfg0PrdXjuhH\n+v/7\r\n=HT14\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/tree/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","gitHead":"12fa62b6d27f95d1517f1ec4707c284b865a7081","scripts":{"docs":"jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"lerna/3.16.4/node@v10.16.3+x64 (darwin)","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"10.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.3","@aofl/cli":"^3.0.0-beta.26","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0","jsdoc-babel":"^0.5.0","lit-element":"2.2.1"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.0.0-beta.26_1570780150331_0.19974544966617147","host":"s3://npm-registry-packages"}},"3.0.0-beta.27":{"name":"@aofl/map-state-properties-mixin","version":"3.0.0-beta.27","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.0.0-beta.27","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"2bf7f08a09243995bb7ab397131fcee289bbb607","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.0.0-beta.27.tgz","fileCount":12,"integrity":"sha512-WfQJBW4M6FFQS8bcUmFwgU66TUHsLRtzBnEaehHxpl7uGQ+j6bc5ANDT8oKBCd3IBhioKmDHG2R/6QHfjZqzgA==","signatures":[{"sig":"MEYCIQCH9bhXT0/gDyRn3BCQzH/ttP/Y1K9836V2BZ15T5MheQIhAPg8c4ymijf2cEi6y07sVICKiaWwBYZ117vFD6uCwHwz","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21174,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdoDUcCRA9TVsSAnZWagAAD+AP/1/tT4koXKewIsMtfQom\nWwN+qdC8+Z8ro+5xwTW/gn2K9EUp10dLvAQyC6A9ylm89+Xz0wryOEXFi4ba\n+5o3Gt1vich5ONue65AUsRE5FaFVc+IwnB/eFC/1B8um4TXz8y2VgLXAlVUg\nuQi5BHxg/wK1rEdb/Ff2x+FjYa0GsCBVmLkcWjy001kv+zi7cEplxNDQWgb6\njq7RVVk9h5+ZDivgTw/yfPkspR9FkqI18m7u9ZunUhbqVDn2adDUGJB3S6Hx\nZ/1Up9bjdswqHaKGWPFDv/XmeaT5NmatAVhpF5AhIq0BCUNBnC6M62+B2yHr\n3Zje7Sdyw/9yksuThqnS4lJ752I3/TnTB2lwiia9NWdJx3ikMRRBBjuabbYk\nP8uIsj+Bmg9dVpQV65ei8jgouhz635XFGbjSezKZoAVfuEp3lmnSAWoxNW/V\nhUDBGwDVrzGSwiS3RX5LUb8ZqLP+7wscy1XvMhq+KE91+JcrqJt4oqn6vdzl\nrQ4qDA0YY5Oo/RxzMRhRJMtIqNyKZxMykLTrO6QvQWfyze/f3ADqPJK6E3yy\nM1OHa+ovSJYjOeY6TgT08zdJzlD6tzfPI3am6MZ5Dm9gvRy2NjKF2uVMEMAz\nZGR1XLWHE6JbQ3Qid+maNn9Ck7sOYJiocImx73G55vU3P3/hK8ERQCMVYa4i\nlxDR\r\n=Sl2h\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/tree/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","gitHead":"de2f0be87aaadfa43212214d4f491d68930b2495","scripts":{"docs":"jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"lerna/3.16.4/node@v10.16.3+x64 (darwin)","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"10.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.3","@aofl/cli":"^3.0.0-beta.27","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0","jsdoc-babel":"^0.5.0","lit-element":"2.2.1"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.0.0-beta.27_1570780443834_0.062216593783669616","host":"s3://npm-registry-packages"}},"3.0.0-beta.28":{"name":"@aofl/map-state-properties-mixin","version":"3.0.0-beta.28","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.0.0-beta.28","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"af29ac18a976015c3c92b376794f1dac29f695f2","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.0.0-beta.28.tgz","fileCount":12,"integrity":"sha512-GwI9El/h6274fFqOsfwxze95FdDr3o6LiQitwe+mXb7TT+hBLeMdZ3fTQp34bR47MCowsI4OR5by21xGBJh0Dg==","signatures":[{"sig":"MEUCIA+nxVFxTcpAjHIQ7JMzWPgdszLG3QwRBv4ZwST0B41mAiEA7UhAF96Nob4vr2/hOJtaQH74VnB1m3RT/RGHiSEals0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21174,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdoDbFCRA9TVsSAnZWagAAXcQP/ixSiu+cT866GaFWP1qc\not95acX9YeVfQMzURLiVsK81krDTvlOHiMUQprOVaJgdK2FrD8gf9IjxzIU5\neo1vlmdmAJp30btIsQDgQb6P452Zg/A6HMRq++NBIHAhGoAuwKfmUpJEdwyw\nUsEoRlEcm879yOBsR684foSbYZfVLlwpMWPStrFsl9SKdaiQwJ/WvYrPB/R8\nAPHmhEYqbm/efKLZ9ivqRK7Kr0wJX/X+mQvskEyItsezEtrqzFvb5N2icNBh\nMoz/4jTr4ySfzH7SCejd7F1m1uAAbJExt38WuClqCOTBQYZEG1UrpZZt4bOF\n6DXUFsn7+rTSeRtFe6uNsmmIh9D/WAaRxTTfgpZceoG++OBklmlmjTzxZRgr\noiOxm09vUq5kXkMb4ucYnB3kgEA0XTbzZ8LNalB/jhhtGaRhtpjPDHJt3rUh\ngxVPcAu1zj19wch6yUk63SZhsFjjSl1iiYfrwmad302g74irJRs/dX6uKUxP\nWLp186iJ3EExwc4H3z6BPyPKM1RvVuK/+PEoD7OmviXvLmfSrGoE4Uv/gtQK\ngxRVY/xVaC5nOHxnHT6DFxOjuagXxDHN9HQ6scz/ymEujsm20ispG0NbnAi2\nMK9V1IZxjqIkhr0ifMNXV97YOHuwe8x7I+Mv8laQ3hozWOERZagGXGJ74wGN\nQhTr\r\n=Qs/g\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/tree/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","gitHead":"dbd14b0bd931ea76999d514d051dcd0a3ef6a8c0","scripts":{"docs":"jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"lerna/3.16.4/node@v10.16.3+x64 (darwin)","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"10.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.3","@aofl/cli":"^3.0.0-beta.28","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0","jsdoc-babel":"^0.5.0","lit-element":"2.2.1"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.0.0-beta.28_1570780869288_0.3052128278996","host":"s3://npm-registry-packages"}},"3.0.0-beta.30":{"name":"@aofl/map-state-properties-mixin","version":"3.0.0-beta.30","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.0.0-beta.30","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"ab1370b2275d555706f7024d313e8822c6f7a8be","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.0.0-beta.30.tgz","fileCount":12,"integrity":"sha512-MD9iAUrCtVI+AUTkfG54MDHQcQysDMLVqlRFwwHw5elBpedwkAk0YEsDteG/33B4tb/7Oig+jhQvK7Lqtx0v8w==","signatures":[{"sig":"MEUCIBpytFtmCyPELvfqwkx/qJECnhrx4Hb9x+tjTqeaT4IIAiEAnkWJ58E2gGnIzgYCZ9AHYeZkvpWe7z0C+CmODLVfv/w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21174,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdoQkmCRA9TVsSAnZWagAAoTAP/j19MppzElGXpB17DyZt\nxaULO560S9bEa6ok8ZQnoIkmASRvJ9x7jc3BWbGYRGcjDPeJy2OyFy+d2770\n+oL7B+R+PPnrgdMIyPjtquIYY7U5QOTICvlf2QAcQfObJPYZOXSFCvL+oP5A\nYqCSh/R40NWachfLd3wq0Gg/YvqraEVYW9huVHT7uiT9DtUDkJrHPbvB4hXG\nYXOrXnv2RbclWhbmDoe4ttu2a1fXGEfv30rh79ixGG7Vq9OHUAQKjcAkFbJR\nonPBRvkCpAGlWBig7lR74bWRPUFF2RLTYraKrxZyOJnBkjh27IRim6QfKr1c\n0B11RPTsgH8PP8K2FQRlhsksfwh9Ov0rAZCOBWy9kC2s0aKjNKiteJcY6tlF\n3gI50ClpRWl+gtDf5VMlUSZjQEoV4M+NPCl0GfJmJY2jp2cyEhnSu/CQ7lBQ\n7B2TNhueHeB0Yl6z8fWP8mW8FjTeQ8hJRtzJfIUXGAh2cbBt9gDKbY1Wz2gd\nGgzlNlAYN4cAvrm99kGqu/PWEpJXTKoKv7mTHVf6i7+ga/TCvVfu+i5vDuNc\nfxT3xt4RNbhop1OG8EmX3bBejrmZcE8tfQVQC2PtRzITIF1WSsGceBG0PPxJ\nHTl85QNUSwEpU8tptWJjsnkwNfHrvn6Ijp7eTQYKhRHB1xlVJBOsphmVvmWM\nNfkI\r\n=g1ki\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/tree/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","gitHead":"7bb6b9b6e2c1d77cf7e65680aeb6a4c60e0300f4","scripts":{"docs":"jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"lerna/3.17.0/node@v10.16.0+x64 (darwin)","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"10.16.0","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.3","@aofl/cli":"^3.0.0-beta.30","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0","jsdoc-babel":"^0.5.0","lit-element":"2.2.1"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.0.0-beta.30_1570834725505_0.16595700321525375","host":"s3://npm-registry-packages"}},"3.0.0-beta.32":{"name":"@aofl/map-state-properties-mixin","version":"3.0.0-beta.32","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.0.0-beta.32","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"0d60d55b191e795fed820c7aaa45535df7881bef","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.0.0-beta.32.tgz","fileCount":11,"integrity":"sha512-65+56a+JB9hwY2kWGgHbgw4oJf5/ZSG7qS1ruvQYuTxrRZalyCgMQ65rJ5uBE2J0+BAuEP1zvm/17Asolc6VTQ==","signatures":[{"sig":"MEYCIQDruaVRj2G1dvVFi+THKDEgqG4ki/H9EJcWegjpYy9nggIhAMhzC4f/HKpq4UxjWdLW+fh0mckc7DKKgeGiEDUk/hAx","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20016,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdo8oYCRA9TVsSAnZWagAAcQAP+wYYihhOCYCl7ZggYfAQ\nFeamRLydKOR9tWJWNIAqvfn9xolGDMVsBrsiELKO+ax0cmhEJVF6jHciVXMf\nVMgSk+pfy0GzOMXSKRuMMDtzOa2y+w+U18p+toB/wo2MYhCS6aIpbWGtrSfU\nbn069RTFr3b9IExAinQy/+RKl79Aft25IVXc3KQhRO0L89yv49DoejkuvGGL\nlLXEBUfm/dLtm66EIDpr/4Yis4Ifc34rPeB9Y0rgBdJbEQzCiiJiR5bO9YFH\nmwd6+5EpKgFO44mzMl7CjZkuatrqmJn7x88tZn2g44ko3e8C2ksxNAP9Auap\nMthXlJ6Na01YQWPlvcHjnpd5JLuI6iKF8iXkAXfATUepB8+R/pYIzBYg06kx\n/Virfghs183GVWgvHpdkC9Tt0tZk2oawwMZO4z4PUMDNxIcilieiipTD10Lt\nNKztMvelH5B0BmvRsU1ScVytzaDEgcuhUqlGpV9q2SFYhNmwn+pcOIMFl0Pw\nYzrLFlvZO5rOZU9BcbZLG9UDXDveChLPObNS0oBTzESb8LakwEppkjyKzaBZ\n/hqC8WUvF2Z3Yrb9Zk9DF/qJ+4HJDtP6hwDlyy04W+TgmdjR/16PwhR13UTc\nvszrlyvUzy1Emmj83X8NgkFNt5RRIXGgkgcpKu6p6XLgnmS+MEt2OmT2KO9j\n2ydQ\r\n=4SdN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/tree/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","scripts":{"docs":"jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"6.11.3","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"10.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.3","@aofl/cli":"^3.0.0-beta.32","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0","jsdoc-babel":"^0.5.0","lit-element":"2.2.1"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.0.0-beta.32_1571015191824_0.2591508960919886","host":"s3://npm-registry-packages"}},"3.0.0-beta.35":{"name":"@aofl/map-state-properties-mixin","version":"3.0.0-beta.35","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.0.0-beta.35","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"0f2243e8eea0a07041e9e8729ce515dfffd4e7cb","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.0.0-beta.35.tgz","fileCount":12,"integrity":"sha512-xlV31TBcZPIx8Pi4jxRWhvxlbIyFdAwqtmi3Zni8b43dAkvtosKaS8KJDtkZbhQnhkesiybMRqMympzMtByRZg==","signatures":[{"sig":"MEYCIQCmE/nUpn5mJH4a1oKtpRyv50YMnACfIeHVUlRV9mFmTwIhANqLd4FI23Pn7gZhv7PtvctjyaGQSnjGmw4SYGxC0uIu","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21154,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdqWLGCRA9TVsSAnZWagAAuG8P/j4kZeCBTcIJKnTGpB2U\n9swrO5WX0Q5ICt3RTOco6JrSPZNBkIvIMFp+Ah7dMJt+GEN1xD9giszX7AR8\naRDrWN3S0ACzw5qdMgcTKW5ZNp6InchmWhnegqbsD88Y3hbvi8E1GDuNMf0a\nOev9hViEQUVLt0fg/C+k0V4lAR8pOXf4gH2K5GtB4iFOppFOcRevXzUMrqe0\n/0ZFSwPARdXLEerndPD9i+3OafXPrG45QzqlhCzfjRYmi0Ukj5XtAMnWIheT\nNuef4ByKdPhuu48JCmo6NK0oYVXsCBYN2VsfHP7/pgmOd1FFDMxPV5voQJne\nc+KtjL4pJZlgRK3yX2mMh0FNO9gkbULvuOj+uZLXXo2UHbob6XWkh3yz5yDk\np5WVv21+BEENlc6ovy/NC67nNAooSg48ceOAqcjztFTMVwplswujiw9s0q3g\nC6V/XOJlzgRUB+YhzxEoSys6mf+RQBIaduZu+ol6vX9GJBo6rZSg5SZFqv3f\nqvCdcVHQbfLLGhkVl/Q8hkp/QtWbLdnp728wwfRgS50mFWGH0bnuV1vNq8hb\n753k0Y0180Gy40QYrHzC8nmk7mh3SBjUdCO81T8Esa2BrwkB4+/YM07PP2Re\nyM2kZEyOU9BPz/Z6Ug+znN83LIxs6Yb/C/Ih4pbwd8q7JY8rYVJbQzjuwMxl\njWmM\r\n=gL8b\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/tree/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","gitHead":"6506e91bedeb6cd9a30c22f437603e14e02a3ca3","scripts":{"docs":"jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"lerna/3.18.1/node@v10.16.3+x64 (darwin)","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"10.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.3","@aofl/cli":"^3.0.0-beta.35","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0","jsdoc-babel":"^0.5.0","lit-element":"2.2.1"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.0.0-beta.35_1571381957247_0.7417006387778018","host":"s3://npm-registry-packages"}},"3.0.0-beta.36":{"name":"@aofl/map-state-properties-mixin","version":"3.0.0-beta.36","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.0.0-beta.36","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"2873791ccb249b7e61ebb42637344143c5646322","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.0.0-beta.36.tgz","fileCount":12,"integrity":"sha512-dREHYTB+GuRwVpAZU2V6J6ubXo0/QGo3QdpW22Hg/Cx5QYouRKmUon3j3/yb9BEYkhuqywtjN7fpM35IUWzStQ==","signatures":[{"sig":"MEQCIDYn1871F4LhffGCMXdP2L1c/kTuW0xrlZYMNR+1CqxWAiBmos27zXOri5fb30DPvvVG2fIWho+swTa0oF53L8rVug==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21151,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdqullCRA9TVsSAnZWagAAwh8P/iH8DqRfn9BaBk0xeAgJ\nAVvxk3312EBw2Ku4mUB1aKY+kfChfO50RiEtYevZ5KA+sgbkHcdHpJpOl8ch\nVcvbq/Q1GWRsvySkf/Xl4bYcQ0ze55Y5isiv3cNGjmj2f/4E66Z0pmuFgsTO\nH31bn1GPChX5XEsOa4VOf3LGUlTw207oE3U1140InV3eQ2UBP6uwKLWOj7tX\nBOaq67qvll2DTq9qrumQsCOcUID7v3Y6xOzMjYcgDZjrptZjbK+Fds7yQMh8\npoEk0nJoflh/9SQW5h0S+zIijeW1s9AFtEVcqYqrT4koSKjYzyEyGM/5Pg54\n/3+QlSKPaf5wikS8U/nPcR2RxTBMU8T0gE24isOxXx3fCHhjIp0nbYgJhDi6\nqrbrrP+Abc/lTvYAMIT7qb8xBj9Aan4qixkaKsuGsF8bMsq+53qY7e2xwJue\nDPEH8ruPyjbUoldZOG72D6kH7N3mc8dXLcOl77R4GX7Vf+fmDi1MIsB2uzvC\nybt8p2rni2r78XnLRT3hKlw7Wj8qXqubmt6LyNUTQJg7bfsSUv2CYOLGCVby\nfxlxcmTjSRM1myZM3A2OgjTPSGSQlHXbExwFRCoywbtUhAPNo5TZWLMpn0Yg\nFF/Z409e5cMpPyLY/+SJDnBfhOzV/D9ZUYkR7LnSp5QdfgzZNl6eM2Attgw8\nCTvW\r\n=YMEZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/tree/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","gitHead":"9eae9fc87437b61f0019ffedccbc3df7c8e02a78","scripts":{"docs":"jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"lerna/3.18.1/node@v10.16.3+x64 (darwin)","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"10.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.3","lit-html":"1.1.2","@aofl/cli":"^3.0.0-beta.36","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0","jsdoc-babel":"^0.5.0"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.0.0-beta.36_1571481956785_0.04463461423720605","host":"s3://npm-registry-packages"}},"3.0.0-beta.37":{"name":"@aofl/map-state-properties-mixin","version":"3.0.0-beta.37","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.0.0-beta.37","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"c5c03c3294b00381c7bf70990334c0828bf7dac3","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.0.0-beta.37.tgz","fileCount":12,"integrity":"sha512-ZtzaMFsjur913xORnD8DpJ0ibGouwHr9dVjVO/KWkG+g/71vpqqdv3y5/CQhhpxjDsJjkSF48WdPGqcpfZgdyA==","signatures":[{"sig":"MEQCIAsHxdS8wRF/jmoASn+IMTIGfSl4+8As0E66USINo6H+AiAToplVGyqqvF/aBJkty+xRZboUJSrIrCO90YW3uZjCvw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21151,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdsT+/CRA9TVsSAnZWagAAoNgP/i4Q8oscXNscdxu6i1K5\nYA0jyTICrLa8pw6yyk5pFxNgWE8vNYJmYnBur7iY0GMi6et38okUrmk+QBCR\nije9Z3IJB1F/HzvQN8Nq7lXikIFQaTqCav5fTBD0jQHPYvTAQMjadzYorOsz\nPufFhm9quUKOKxNlVfoq0jiT8wD5pZV4PEL3RZEWSRUMDGSmQYlcEtA38eIF\nmUjLBuLMIgZHXGvMjIJSpWCJXTr72aSvXzRpjjdz6MzJ+tFjZS3ilictaEKC\nZ9Wabp59EOuqyz4RYeHetJWqsyFoBKA+lXOpXs2Gk4MCHEXFRjEa9IT/prJI\nM1PiOB/SO0QtNRrjwn28ydTO1IZDc1iJYtnvi6FvuA1fQ4IHO+HvXl9kDVrz\ne3SdNjb9lE+WcbzLg3JxIYTNyF+g9+B4s9C4xhLTHvA4UtfpSjbHvgE7FgYE\n2KfMxzgtKs50TeQlXRZi71rECU6GTHS13ci9th1br52SGdmTxXhEuvyO3AOE\nRxC7AeVAOu+KtUMR8bNVGymM6NYzd06SNjkagcKU534t9i5VONPIOkUJlCE0\n9SRZf79aECaYKaSV6rhE9+ZpteQSAedNwKxiZizQ6gafoo6cg/Fw/tQ+K6we\nMY5HKjwf7I7xpEPAoX37FFdvs/uuhVOe8vEDMEy++nWKgOLTAc48BIdEls3L\nsS+t\r\n=Do/c\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/tree/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","gitHead":"90abdfa3f72b91bd0c98e09afbd59c21621fe846","scripts":{"docs":"jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"lerna/3.17.0/node@v10.16.0+x64 (darwin)","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"10.16.0","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.3","lit-html":"1.1.2","@aofl/cli":"^3.0.0-beta.37","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0","jsdoc-babel":"^0.5.0"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.0.0-beta.37_1571897278767_0.7847903935849494","host":"s3://npm-registry-packages"}},"3.0.0-beta.38":{"name":"@aofl/map-state-properties-mixin","version":"3.0.0-beta.38","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.0.0-beta.38","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"78dd7158f2febbd95a29d05e1d78cae7aded3017","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.0.0-beta.38.tgz","fileCount":12,"integrity":"sha512-0MdrVGOdAuz51kl3QuQzeH1aAY1xAd6ssJzlqV5XmsMrPtFqZ6RNU6tNXsNXHLVmxhDKQIbotRmlhaLmJQnDeA==","signatures":[{"sig":"MEUCIE6OxV/RLzJ2AVgMmUO2YWiqll8mzsVikRJ8du+U6VSNAiEAsrldIjb4Ae9jhZVcALoxITXPE5EyDvmaxcVlFfQzW+M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21151,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJduhQsCRA9TVsSAnZWagAABawP/3QsNZK6qllwFmD2/RV+\nbF6+dZn4p/KhX/GgYx8FYtCGvqjEy9mtzH4BP4sDmIId++WkU5yzRqXAtx7f\nzngaMgp07RlI94Be6vZMU99ItWfjy8wtigf2jz6dwJr/jdJ3NHaVdVVGW5yC\nYVqfcPS+RwI6KP1g2wTu/dfumKG2OksmR8QaSwBZ8P3TpJAoh8fTP6dbWdih\ntGxXjfV256s4Tbsq914hAOdLi+UZBWxMdO9vNWPa7uOQV9NQ9wD1ccgUM9jp\ni7FybuGMwP0GP06BDpVlMfpX+A/19LKxi/h8a3iNy8n4sD6BDnrBRhDxRHo2\nnUqfOpUXIZ05uvChbJ+6eItUDXV2eEm0yl/wNi+NGaIza/b62NfVt6hjTu2q\njEQ8jA0qlioNEFjW24I05d4gmJ+YzQYpxUkbxfkuBhnOn7wGRTyj9HDHLn1s\nJQhvkFp4Fm1J/W0xSmFZ/30RWAkJHBSu6pI1ZNU/ea6lkUp2cr+8inkCSDZr\nWvYc25bLZnldR04zqWMfVXiqD7qlg6gwx8/VVawvIgp8QqcSs7D5vJl/RLcy\n0HqeJh5OBsn4CZsu50rnlhbfs+Jb5+Pp85kLu1ljOHoEmxQNas0SO+/DUDtR\nUEpAEf7zh2ppTyZP/da1weR+NeyC0UhkhzaHk2yj1BlKM6MSD1miMxWSjtiB\nBoUz\r\n=EAwb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/tree/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","gitHead":"9fff03a99453d439b551d48a69e5d642b9957854","scripts":{"docs":"jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"lerna/3.17.0/node@v10.16.0+x64 (darwin)","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"10.16.0","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.3","lit-html":"1.1.2","@aofl/cli":"^3.0.0-beta.38","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0","jsdoc-babel":"^0.5.0"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.0.0-beta.38_1572475947733_0.38892173930197327","host":"s3://npm-registry-packages"}},"3.0.0-alpha.12":{"name":"@aofl/map-state-properties-mixin","version":"3.0.0-alpha.12","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.0.0-alpha.12","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"7b305a03580ca49a0e0e9d3bce669d662f1af39c","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.0.0-alpha.12.tgz","fileCount":6,"integrity":"sha512-oko76sh2fD4OWe72mNlhVs8Q45CkyWWItGB3sw4I4fyRhXD7TokNPxUD1LcNAj27mzqsABzzdwW8twMmaGk/YA==","signatures":[{"sig":"MEYCIQCfEW1jDmmMep1E2X6wI/rf/+4ZdhL8S4T2TtB5DLO3UwIhAJ7Tokohz+IO82zwjulH8p0PcPDlNa2VFzfoaXUp76rL","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8107,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdvNfICRA9TVsSAnZWagAA6nkP/0CQcJaVSWn/tm37hK9+\ngdnml3v+aZSsUhMkiJ85MavUlvG5Gwu7344kZV6xuMkDPy9++V/XMOZp5dOc\nBPgWOoEzCZQSwzvMOzy9r8m8xVdJaNoEpnHE9KQNQDHmDnVgUEdMASKwCULg\nYpFzYADJf2sD2VmzHEdhHbJqcGLVdvIQmf0bdq5KvIhRBGF4XNwrtIH2OKcb\nc8wKurd/HVEo3WzbkaYxr1Znr9/aziHuWzN4W8Hg1xpAzWku/LGT8zZ8+oP/\nCeYu3hhBfmlvo6jrPc6ltyB0QtbC5AwK4QiOICMjVq8LcpFejWHzXfLb9xUX\ncsKuaGWpScPIA5d4yVuB4HSeiRwK27BtU+YhyMsS+hHR8MZDZZ52BruR4xBB\nl7TaVqGLCSQ5YipmegFEfObAvleTIkaJYKwN+Bsouwli8rLlVYAIQtu2jn4D\nuFkiQl6KQ7/SV5A8o9I2+9kQoE3b/oM5Jz5n26ATGksMqPqoXMSHW6HZu2Rv\nroHUF8m7Nn1tipdKo7rAUQ2YePos1mrJsYKOXdHWFkNJlC1sVTIyZYoRIyN4\n6F3iAhHzwirI5q0SajRY2ENUh0eKNG9QlIANrYxbNPmO3dg3LTBZrAQsD44M\nVSV6bpO7jsBOKMvs9km4wyvK6xgDlGhk/jPi9uc9/lIvkLECSroxB84bzCkn\n4H8M\r\n=F72m\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/tree/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","gitHead":"e76c3cfc8d75ca087492088254c9ef0e4010c0c9","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"lerna/3.18.3/node@v10.16.0+x64 (darwin)","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"10.16.0","dependencies":{"lit-element":"2.1.0","@polymer/polymer":"^3.0.5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.0.0-alpha.12_1572657095984_0.9989088926055394","host":"s3://npm-registry-packages"}},"3.0.0-beta.40":{"name":"@aofl/map-state-properties-mixin","version":"3.0.0-beta.40","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.0.0-beta.40","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"7aa584951a236af0cc1ff6d58567b0c1905c343f","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.0.0-beta.40.tgz","fileCount":12,"integrity":"sha512-oyJc/iysqWb1CHsMFAjd6JT6DOkyukUrn0GfHH9+9XmCBwhxVxmSYFKEckSeVVIzw8eMKBe4UtcgEygTRA+4EA==","signatures":[{"sig":"MEUCIF2TY2Mep8pvbmSD9Dd2zmkMqIxJr9/GYQpzkSFUM5lIAiEAtbJBjWG7lCTR+aSXxDorUokIkUjO1UCedmoVjbMM+Y8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21271,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdyeE6CRA9TVsSAnZWagAAVN4P/123cq9ANFQNk7y/0V75\nL0oqiPTF0k2xE0amwm2NnZK2BoiaXxQQdBBgYgwePU6S3R8vWzdECkRZXO95\n42trJoltOpU+VV+23j9wAQgWS7TWwyXGd6A/Llb9Piz9CPQUerL9qudhKTn0\nrWnt/e5JU7DK5HQZCKhM/Cg5ig584jjwtbOzCy8HcJJxagAHSIvHeP/OAoqq\nnM747uMwiCCI7usjzuraPvnzyJLbOPk4AsawJFP1kv/bG8wtglQ82FBph8hT\nDqbZ4gj7Qi6RsBfJjrGyVFAr3/wxJCXJLDzqFZ5qkQTIxmYhN2SNjxfE3+o9\nbv1WydfHrbhpN7Ly5fh7/QkyFqHNECfhxEHlheKYmDEBWDuqOZzzGgomhWhw\naIQpV78AXnvw9fTX89ioz6NV/QPmdRMgIlWKJqIG0OJuvMjzVCGF80Kx14GB\nPODaW0lhlAWdZu1kjCixFa92G958CQrY+iPXNQDX9HzNAbX9bC7c7W6Bs8zT\nmeWsDZjRsbxIswapkmR4vQ3E5lvoKBNK6URrsOODdv6TwlJVts7RUpVALX/1\nYleUCdoO+HMbCrOV198hn8hSi/Sac1b/QkGSJoqYIMXiOIFRWX5yuJrfpUG3\n25l5PKQJz2ECOEo5Z+Hl2QAIjkiMj7dkxOOrWA/imNlmSanAz49qDLEg0MSV\nGVbS\r\n=THJh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","gitHead":"0bfdc05f0d4406219d0b432a55fe53ab1726f4c0","scripts":{"docs":"jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"lerna/3.18.3/node@v10.16.0+x64 (darwin)","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"10.16.0","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.3","lit-html":"1.1.2","@aofl/cli":"^3.0.0-beta.40","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0","jsdoc-babel":"^0.5.0"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.0.0-beta.40_1573511482353_0.02998680205292259","host":"s3://npm-registry-packages"}},"3.0.0-beta.41":{"name":"@aofl/map-state-properties-mixin","version":"3.0.0-beta.41","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.0.0-beta.41","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"dd4de58610095b9a8be3eff90438eddc0a18a526","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.0.0-beta.41.tgz","fileCount":12,"integrity":"sha512-IH4tzdGgqo9ZlCbPkODObpu9QTvlq+W95dMaCeCIDuDJ544i8jf0L5JLvm/gUespMIW2Z5n+fGpxck4GNDTCXA==","signatures":[{"sig":"MEUCIC7OOp1AQi0i0eO45+CznIhSHvhgQHiWejJ0w/L2TBc3AiEA1xLmlfB9fqTk6DAj0+oNuT4rg6ImO6F0HnUfxtlheO4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21342,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdyjtNCRA9TVsSAnZWagAA/XoP/RWUnW9SyBhpGuQtveeG\nK1lDBIrOjV14HtIxSdeLWGhvN5wkrdkJ0dM/hb4tffLm4E7LxiL6gCXsLgb7\nTQUJRo3o7EN0v5rnVpXzZM8Ia6MujW1rCXz3V4h6HaB5NqkVqTZIZF7wdPPq\nEWAeY8nt/N/4Lb5qsPn1XGmmX/l5RcJzhJRdfXmCz7kjORF6AjgMsXl7AGlp\nGaRWSdP6yagtW4sWgvOwGyLehx3H7fENUhvhFoBTJ3dATa0EHWY/USHRnHv6\nfkBcm3a3gc6XNYqofaG4VSX0+egdj7YFms79haQbJCJWBx3JaJFEWdA4xbJT\nurLtkddc+XQuGbUciWy+u9VHeRi+kg29FhzjA2B0SYI93hAQDNwGVOp+UBpR\nz4t3MYNvOz/usaAK2suhpLCBuJuIRXiFbxo7kPlBW4pbm969OP1TC0XYsx0C\nMYYpMD2mPJXIfC8CVMHAcnQ3fcdmrX3a6lr8kJqooEMAMYr4Ubo0JY+VpSVf\njIvai2SGYKjyHE6wF6qta+sqw8G36qoghp6lfyq5DGUTeehHJE85vTzLvxFm\nSKzZC928axbJeQlOs8ex6NY28N9xkyq/QzzuQ2coGHEnDu90DUrI7UbWod8i\nDwAgbXF+IafXrIaCptzK4u6rNRs2TCaEcmUOGgjm6CTV+Kvk4GQehZXfYZ3j\nmOVl\r\n=8MjR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","gitHead":"212bc663acbda22a9679fadb2aa64484e35dc068","scripts":{"docs":"jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build-ci":"cross-env NODE_ENV=production aofl build --debug","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build-ci && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"lerna/3.18.4/node@v10.16.0+x64 (darwin)","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"10.16.0","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.3","lit-html":"1.1.2","@aofl/cli":"^3.0.0-beta.41","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0","jsdoc-babel":"^0.5.0"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.0.0-beta.41_1573534540764_0.7443329040070381","host":"s3://npm-registry-packages"}},"3.0.0-beta.42":{"name":"@aofl/map-state-properties-mixin","version":"3.0.0-beta.42","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.0.0-beta.42","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"a7c491d724d25b9c42ae0c742fcba467766abf14","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.0.0-beta.42.tgz","fileCount":12,"integrity":"sha512-4IcWIN1YMyF4yiN48DqvamuEg8tRQ9KuB3uQB6ol/iQL8Wn11IcIPhpoFvlxfjHE1ChEcubJmqkb6YLnEukYFQ==","signatures":[{"sig":"MEUCIBhOzF5e09Nv+yfgU4dwAYV9KiHmWcfmSerlXvaoUlX5AiEA97ACqatLIICezmANWljFk8myoUq8ATNGWTAsTkerV38=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21342,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdykjwCRA9TVsSAnZWagAAoU8P+wTD/TNj9Xcacec0VK7k\nld2QvqayTNZ3pQ89fyCj5b1hlI29M4YWdoFnIZ5+79NfiGSACXxURNeyC6YF\npwNEjfE2uLWR4op8p0x8BdQQxNW27Qld144ogpQTDQY54u6EbtSNLHBSDSHP\ndh8hQ6Xeq1VEESXrkR+gLGL1dv7NavsCYV5gWXrKKmqh/pfkjtZBfT4o8XBr\nXaAwmuC1PhnPfzcDO4/3Gw8GuEPAYmA3F6wsizanGsMGzI2Gy/OTUbljDPLN\nv8GTAJPtvYOLUykv+RSBNR52rKzZ+ereoZIQ4gNNDk43FR7tbXVrzwlIBXqd\n7DG9tx1ISUW9CiFuyZfuGls5SrJhA6r+o3ryY4bBW++kf17iEEcfb2r27zqZ\nBg6/G62Td9BUXplxL2pi3FY5BGG6iNsSHn7orKlLji+03HK9QNjCe5q95z9w\ntwofFMgqUBEAiz0aSzx+xgivI2g/RIBObxbxf13Ate5iVLqjsPrEPFG2YXQr\ncysUtmDG1k/bXF/sQr0Z7f1qtKr2sEQRUyNIBMiTEOwlN+bpCKDgpsoQwuTo\n8ktoQioQnc+g7+FsqMT1Tj+3o2r01Z7GEKWT6RLI2LuuTusS0lYP2LGpBDIr\ndv26Xexy+0g8Vh2BGrcZkRUBMcLm4qfZK8PcynRzoPkJPRSmI+NAPZROhxyq\nHyp7\r\n=apdf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","gitHead":"699b13b7bf651fa15a25ee2873b72d9fa1ef14a1","scripts":{"docs":"jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build-ci":"cross-env NODE_ENV=production aofl build --debug","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build-ci && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"lerna/3.18.4/node@v10.16.0+x64 (darwin)","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"10.16.0","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.3","lit-html":"1.1.2","@aofl/cli":"^3.0.0-beta.42","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0","jsdoc-babel":"^0.5.0"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.0.0-beta.42_1573538031909_0.43180607815606376","host":"s3://npm-registry-packages"}},"3.0.0-beta.46":{"name":"@aofl/map-state-properties-mixin","version":"3.0.0-beta.46","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.0.0-beta.46","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"4f5ea4d156afe21575529379160c34d53ab87c32","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.0.0-beta.46.tgz","fileCount":12,"integrity":"sha512-onLFVf+4j7vWn9FgWdwEOC3PGJT+GMzC/dp8wZQ2yg0PkIyaPgP2/5kF81Jp8gKHNlB8kzmelkViDcKhGeZczQ==","signatures":[{"sig":"MEUCIQDcrV1gcy6GMGxPK/7NcdIpabxrTaC+58cScYckcEtsJgIgSkBRHjbump2NbcdIFSWf7aaYdwr/gik+cjnvLDHCb04=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21342,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdzc38CRA9TVsSAnZWagAAQXAP/Rm5Pw2LPwe1bKWIzgdz\nMJiOwspPj1gjxq1CLEf2ZMFyHmjjMzyxPfLVTJ94BmG4lAfJVL5Onfb8pfPG\nK9hCpGqIoGuomQFeQ+bRQWmNRDipPdqNuWGDOB3lNXTQA74ffWwQhXpEteBK\n8vSem/pyh+NBMxGgXHeM6OulPQTE4U6e/gxb5RG/7Xdn+jFrnTGprA67gxZo\nBJVfL/Yt77TUZf6yany9xmKD89fS9MeCdRZR0hZ60s933KqswGGbjDrRk7oM\n28PACMxO8QON/QDzEtT0D0u2GbA84wLxwriQ5l3rVVOWR94qIYh5XjZ4b1Qr\nj/+1tDXlUinQrc38Hf7aqmBqF+OF6LkQxVcV0VUlWEnchTA0c5/2x9q9mCll\nWP9+rVkEc2HLLGSvSk/Z1BWmc3Crc7sLIa6Ypfsf2tBH7Ud6RVARl6gEPWbU\noqezNGiXvK6wVjVfm3wZr32pH13LzN5nYps43kuzSIyhqwoHIOh69Cxe8G3c\nJ4C+oSRDr/x1f5j+EAS8JCs9Jm9WQ+BOb4j2l3MV8/VeEaOolNDON01CKanR\nhDJudiB3fJB9ncfhDBhw7YIsYytY56GcTrA7pSML0Db7g4zA4dUnlpTyRhY/\nEnm5X2XUEBLVw1nTMpMZDLgg3AkjmuQtl1iocduISpyXLcJM9s8gVk6UfkyY\n4Gcv\r\n=wUdF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","gitHead":"4d18597a6b3e63324cc8b2f401d986dff832a62f","scripts":{"docs":"jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build-ci":"cross-env NODE_ENV=production aofl build --debug","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build-ci && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"lerna/3.18.4/node@v10.16.0+x64 (darwin)","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"10.16.0","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.3","lit-html":"1.1.2","@aofl/cli":"^3.0.0-beta.46","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0","jsdoc-babel":"^0.5.0"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.0.0-beta.46_1573768700064_0.7784748485128397","host":"s3://npm-registry-packages"}},"3.0.0-beta.47":{"name":"@aofl/map-state-properties-mixin","version":"3.0.0-beta.47","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.0.0-beta.47","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"c94f5e6b099995a3a01a85a5476554076a553c6a","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.0.0-beta.47.tgz","fileCount":11,"integrity":"sha512-7D3AWeA2CBO0W2V48R5aaCtpxwwKAP7mQXR/anwj5qfEiCn3TqbGaXvobsfGomzNicNSvwa8jV13xyOMfKImGA==","signatures":[{"sig":"MEUCIQCl4BJPQLik3qoqOTZkzs4Z+y9dXaQf2ap78C2VZAU0iAIgTgcChc1Pw6BQl+WwQlOacOta66UIT51JPDLeATSXuZE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18030,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdzfX2CRA9TVsSAnZWagAA+lMP/3SzIO860xQW7Hp4pyVc\noapyULTDQOPoXzxE2hqOv9Lzu+QB0DjTwDU45yjCvalMX0Lj2TPIKvc96w3Z\nvQy1ENjVfY7I14GxD/Dw/ve03CBVhPe4E5hALPnYNh8bpRMm4r2i2fnuE+Pe\nhQJVwMVktf1sjRrR3wI2gS1NPF7Wu/1JJbc4Q4WT0QeyqeWAoRmTMPYmA4QW\nM4tuts/0jfH+I12XxCJjlWyrV1UuxhczSdWFhF7XxHDTvK9PHpiOtxWc0YhY\ng7etPvTgjkSKpjo6BdzavF3T+Osla09hIsJ7FCN2nVt1IPyklZFeyUPffVQ+\nJMjOqV1aU6nzFZhIEoGf89yHLYH3fmjOVwrNasmkUzjWEbey4MzbQI/rZUE5\naa76FHlggP8z83bmUWXV96N620bdhXwVhjud7sbkfhieY72VwKfhSnM1Zu1y\n7rMgs6dilQ8XQ/PKe9tBMM6Ll86yHeJ3tQW7vH3IQmrLHzJu2nUpxXxyUMGa\nC9ILjt7QHT2lQekROs4qo8iDSkWcYdxx4ku3oKiXHdlhpzsCTyx65NtEFLMo\nJxT54m//VMwk0wCFSRUoV/Yeu96k4KfKTvTmVAmijfs0j0W+gFdqzp3zEx+e\n+ROmjo6alv2Zpp54mwJojFUsvL+W0CokHx71HyNX1xd1WtBlQrqPSOTDAz/X\nr1gp\r\n=FyHO\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","gitHead":"11344382e361206a6f67f05f4904149ead37c1ed","scripts":{"docs":"jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build-ci":"cross-env NODE_ENV=production aofl build --debug","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build-ci && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"lerna/3.18.4/node@v10.16.0+x64 (darwin)","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"10.16.0","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.3","lit-html":"1.1.2","@aofl/cli":"^3.0.0-beta.46","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0","jsdoc-babel":"^0.5.0"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.0.0-beta.47_1573778933632_0.2215528849814088","host":"s3://npm-registry-packages"}},"3.0.0-beta.48":{"name":"@aofl/map-state-properties-mixin","version":"3.0.0-beta.48","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.0.0-beta.48","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"f5245769ac9ba1067659527b068316d1b81abb0a","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.0.0-beta.48.tgz","fileCount":11,"integrity":"sha512-mOZ+tU+GYrVMn3sugbFtQOLofNCY5dyaFXuHflNNLR/MIN+oZfCCqEVcfrIHJPqQDiIYyy2JLb5FyFtNBE5ILg==","signatures":[{"sig":"MEUCIQDSGW01qUvfKjtkldlXPJg3mvS27gT1754I4+pG4+PaMAIgVG3f+LtWWvL4v+tt3cl0qrwe29hALAN4Ymy7ehh3o/A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18060,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd0IflCRA9TVsSAnZWagAA2tAP/R99i/+pVHx5Hkgozc01\nJejXo5fD8DMSHWV7X5soPpZzOK7tZF+FcOJ4uZordjzzWh8prztxj9bU7WxB\nUPRYRYjmRwx2jLg/zcnltu9WPDWEWbDDLNoCbVsL0Nm4UnOjt0+V3zXM7bi6\n/Q0HI0+pL607Ca2tBJ+bf66s2BcqYp6xG88D6UD2+uy1TRSXLipk7wBFHme4\n41a6a1iV/wGIqi6Ik7NzQ7NnC2w9DZBmhBGkaXOYX6oltLI75BmsOWBGEKn7\nTpA/I7e4pY1esG52RX8IMnLW3/IqBG2cO6GcQTGPQ8lSZdZ4Y5P2OiEvczoz\n0drg9wW3VbO2KNPPAlYEfqrew8BA1sXM/NI3EQpmAPQlWEvqgADP0TLrBzSF\n3z+/vBTeqMxEnbvuzECUsAz6aUGbBQcIluy8CvmxUSMkPF9nw6g/iQQYxRUd\nAFHt4CC92XUAVYbaEXH+E0vT6io+jKGGtBM0IPBRRZPbx+Iq/4t/92KzgYiz\niwDhJ0/aExiHHUAAiBjAbk6ni+AjF/HPaYQZQeg+RYfGMqQ6LioEPkxkla/B\nA3m1RnouHV113Qg89BpWRyep2j3FS+HbdqlChS0Cj7In7srfpD1fKC9b1jt/\nylprdARFHnJJX6ZNH5TOGP5fbIn4bOQ80nv2eVlZeYHEprplpF75FMAYuT23\naY3N\r\n=65oN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","gitHead":"d77a51a21b591d1ac0032de47395878116e8566a","scripts":{"docs":"npx jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build-ci":"cross-env NODE_ENV=production aofl build --debug","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build-ci && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"lerna/3.18.4/node@v10.16.3+x64 (darwin)","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"10.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.3","lit-html":"1.1.2","@aofl/cli":"^3.0.0-beta.48","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0","jsdoc-babel":"^0.5.0"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.0.0-beta.48_1573947365132_0.23049211965389138","host":"s3://npm-registry-packages"}},"3.0.0-beta.49":{"name":"@aofl/map-state-properties-mixin","version":"3.0.0-beta.49","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.0.0-beta.49","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"dee3e6e634915f9a67cbcfc7488af4e72f78aabf","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.0.0-beta.49.tgz","fileCount":11,"integrity":"sha512-hzaTPXY6FJNK81LDgHi3rl9T5avNF+N6DX9kgpqyI4L3EyVNQ0A/1yUU0QjpZVDw0TK11k6e8oIQ0VsI6nDuHQ==","signatures":[{"sig":"MEQCIBoNwB++ReC244pOb8l6xhdeaG1sewZpkaUp4FIQuOUZAiB/uM4OfLemaNE2TXz+xaEr75/vTatf3em0Lw9hnK5o2g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17985,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd0MCUCRA9TVsSAnZWagAAiSYP/i7C4O7oI8wujj+dqK/p\nd9IXc0YcAT9yDXcWBJSl8QI6u2PFB7M5euvgi9fOs8q+BeYuS4eRYUnZgX9Q\nbSi/VsXYA5fgk/lINXCD2Y7u1r57X8vVpzBUOPgHJSJxH/7kSvt/nm8tomhn\nyLwIdI5dWbwgiRAJ6oHnBv1qlxqPvWoPr7TichJZe+Lc2RMFtd1WmpX9bjYY\nAM5bUFlLo4WdK724GM0BOowbv+j4RuVVHp+RjCSBerqrhWDYH2y9t5ULq1e6\nrWdJZxZ5x6jEPdv/YyZ590imm6uxnDQ/Szn5y4/Y1I6PekdfvQr2Ch8c/moY\nWgSckSSHXJGOQCpXjiUQcWTlg1CGkN6IFHqH4oVbfScPaPAC6oFx/e05tInU\nNDQGoaPmo4pvZ/ehw3JcJNjRyjF62QxEeKjX5OrNXbbbIekVSRN9wMIOdE7a\nkfd6fh87dFRCTsGSCJMr49q6A06Br1/JWqo3fTmwlLpoAbAHi+JEClnlcTHC\nVKyUQ5ngqahij6/rrKm+D2fZZn3C6I50I1swdM8FrM9kfvUhf2qIksgOpGex\njW14espKjmyZb1oogA9r3muyfmZPAJCszcSGJqM5uayFw3JKOxomD6Msycg/\ne6uiLZf9rvIl8digLWDpvpVWStK3VozbsV2/tFhOWwKsG/O46/MWb8UFvBPX\nGZle\r\n=hV7W\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","gitHead":"a2642ff8dd100adac8db3d609f63e2bc6a2247f5","scripts":{"docs":"npx jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build-ci":"cross-env NODE_ENV=production aofl build --debug","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build-ci && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"lerna/3.18.4/node@v10.16.3+x64 (darwin)","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"10.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.3","lit-html":"1.1.2","@aofl/cli":"^3.0.0-beta.49","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.0.0-beta.49_1573961876101_0.9763927672167225","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"@aofl/map-state-properties-mixin","version":"3.0.0","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.0.0","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"56d61d12135220fa52eab7d10466f48ec24894ed","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.0.0.tgz","fileCount":11,"integrity":"sha512-n9Lw8vvoi10BjumaoVmXYZvnOyZsoAwZacFNYq3tc0Auzb6UoH0iC+BZDJOJm+Dx2XZsTuXAP7chdC44HldQnw==","signatures":[{"sig":"MEMCIGWdiKcLXh2jGtJQ3GhNpSSWW9yKc/WWnbe3lc9s1nUAAh95dno+iFVp9M8AMvCJ53gJn6U0y4l8M8qtZ3iYKpwK","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17969,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd0PFkCRA9TVsSAnZWagAAywcP/ihKthFPFVImv3ZJfB62\n6jKnlUEdqpbs6yw/iKMeSWCYTwTpjloC6TkRjEh0cz0oHV03roXzpnYC/Qd/\nucWVd+ie1kKkDrz+NU9DY9BP+Tt1TphrQbI7jOoeEmCc863IrWTV9ZuPRtAY\n7of+L7UbCxYSF6JAkU3hq8vYn6cZAohIlEGMkLgPVWH9Bdqe26Uy3IUwlYia\npBcsHvItc+SSf5MqGMVLLPrZg5dKbc00bB8k+5OBkPKyNd5KCV7Oa2osns1Z\nSDoc3EMd6CCsoumyk+uujBtd7AfPZDIl99ocB1G9h5wwPtHNHThqAvkTTvWy\naazjtQKGiYvdCguPWO4b+pu+yJhLZXgAHpvVzlNp++rhVmWwRMUhw97+YAUE\nKKJt9hp5mTSZOv/PJuXzOQqwRLYNQVXSWU2QQmKDcWtK40ltAdrngcjHDSzh\nvXFoMJ7yYyEblYD8qhb7GcBTggToU01RPJ77Sg+juHnkv5A2DCI9vL6Z+Q4v\nu4SQ4bBS4Q+uSpNonOiu5zB7KT1/TIkRuveVimo0qpBloscIi+h1XqEibtt6\nUa7iOOLrADNZROOXPBgsEZNLdbOsFu/k2Z8mZguTfmmpP/1G34ql0KGisyt8\ngL8rSePewKDWYZ8FQab+k4xSXXSB1Sut+QuQs+hcd124gJjKT+DPOIvKjt9D\n0jaJ\r\n=Bsus\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","browser":"dist/index.js","gitHead":"bd783440a25a2c579fbb506b92d90bf4fb7e0289","scripts":{"docs":"npx jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build-ci":"cross-env NODE_ENV=production aofl build --debug","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build-ci && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"lerna/3.18.4/node@v10.16.3+x64 (darwin)","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"10.16.3","_hasShrinkwrap":false,"devDependencies":{"jsdoc":"^3.6.3","lit-html":"1.1.2","@aofl/cli":"^3.0.0","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.0.0_1573974371615_0.4953763458815401","host":"s3://npm-registry-packages"}},"3.1.0":{"name":"@aofl/map-state-properties-mixin","version":"3.1.0","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.1.0","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"2054fb58a1d98fa1d9736e770841f484a3349688","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.1.0.tgz","fileCount":11,"integrity":"sha512-F8wmeLFVxIGBMLGQskcBuoB3yEoiv4fuk+6R3amYrcFijS5L/rLQIzECEp6z+7rWtKddRBNlFAXszjk/iw/F6Q==","signatures":[{"sig":"MEUCIBMxgIboc4ooLDsfR5gl53XH13OxFKPSXFPBRUeIaLlNAiEAo5vzMJCA9Y+ZoKb58AIuHHpvL1PGNRpTtFWxUDwBfDQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17947,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd11XSCRA9TVsSAnZWagAAD+kP/0LnYwaXi8RIEDgFloop\nGswbYkSWN7T5AGLm6ZQXeTGjjBFl9KrI5LQbvDMWAF+uZv8apSiVDCOO6gEN\nnUxGJ6dAa0TTqbKZ+O6LQD8NSwzLlrP4j6/dVqIlQp6gfNHaM/4MLaJtE2TI\nQiUWIe5P9Ix9K/Eyql0pxbsLjBWMgw1VE5rqrvdXIAgbzeCeNp8D0rKGMLFE\nCP9q8Tqr5O0/7SEuj32VLEAARX8haMp/djTWko9AfpNcTjFeNLhagqG5uYlI\nhwne25mK1GVk4GiZ67o0DYU4Q2dmMtiHFxq511VltRzLz/VOdHSEozKjj0CX\nv4/QIGp/53OrR7lmgUpMqcCmS00GXdt0ZnMSyvFFv+eDVBXlr4JRQ6T918Bn\ne8YXBteQeWMuQpUiZkWEZ7s02C8z4vattb/TVeGYnMAB6q4Dl8RC34DjNWE2\n1QL9d1Hadx96u3nE1qJoHzbpUgFg4imxrut4EkYNi0S81D9O/+WfAmH+V42D\njYXQfYEvykd9BREG9RrJQHPl5JUYs/0Kyv/l9DtlVvqM5VfScPahH2lL9d7g\n8IKoJpXvZIrm39InxDL9vOO2Ho+qqAda0eLJmelO4nTXLaV1VuIHmsISl90G\nhrTiygX5oOsLcdc0BUMKTGej0pEZzxD0tdl4ySSHptEEIx1YjkG17IwEcXqY\nZIEX\r\n=SWpY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","browser":"dist/index.js","gitHead":"cb7c610ce117e6fe41168dcb3e2758d12900b277","scripts":{"docs":"npx jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build-ci":"cross-env NODE_ENV=production aofl build --debug","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build-ci && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"lerna/3.18.4/node@v10.16.0+x64 (darwin)","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"10.16.0","_hasShrinkwrap":false,"devDependencies":{"jsdoc":"^3.6.3","lit-html":"1.1.2","@aofl/cli":"^3.1.0","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.1.0_1574393297998_0.5839511067322376","host":"s3://npm-registry-packages"}},"3.2.0":{"name":"@aofl/map-state-properties-mixin","version":"3.2.0","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.2.0","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"3f491ae71770074882507ab91cd18c93d1d07a0c","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.2.0.tgz","fileCount":11,"integrity":"sha512-bfR5TnVOLNEZQmTCZrXFPMV6S1Jk+1sRGApsxDXUzIcHZOSzT6h7fMqAn/HDYwaSlKYr/24bpxPS6NljqPD2cQ==","signatures":[{"sig":"MEUCIDmRggdR47z6c0a+jm9rBIhHt1WytvxSseZw1up/Mc6VAiEA5Ta0beFWIy6Tmqz0NMDII4MNMbh+BvLHjRKio4lZK1w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17947,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd2jKlCRA9TVsSAnZWagAAEX8P/i5D0breuIH1rwJj3IkL\n6oHv2pdb3wSI2pmC1pYtg/rVLqdYEF3HLDDb38FSWoW0S8CcBidiN7v19Rc8\nicCJI2JhcX9lG8HjTe7O+rybrf7i4kJlA2RTG+RLAUPkyhN1MITN8DErxs8s\nBc2Hfl//2Y3mzB4FqHhaBq329KWDqNGcVMlmNVr3QqHyKrN2x/G5Su26q/1J\nDrmlvil+/15tBiX9O62Ab6q1x7MI6ds6ZgODIkaq3+M3uKTnXZQebRHAvvAG\nf5k9d4vEi8e57Uqk7T+w9tT5hzD9mRLYuncsQTQNPrwkA9z53sJAe6vb6YBD\noEcOWR5NTA4I5iOpK+tZ0R2/d+9ZF9M4hVMcBy+IGK/+ftbw45HBzAZnsh67\nFLHJgswJUednzp5TLBkKuTxl18cmxn9Tq2RcrQ6Pt+ggK1bnJN2fGJ61cvqb\neaOuJZpQjoSZy/jCErfZz5K4sosGJn+JzQroaIPbrp7yZsMxpWEd5XBF4p+9\nyGxWlBXhq85KLwjwwf0ruepJxn7l2Z+2bmteCYr4GZQf+zUsDpI3lYR6viRt\na2Z3I2nx/Uuei4zV2VGeGeaZcZvLSNXw9uN4L7/oFEwQbgAs/Ootv5026RKL\no0FJABIL233Pm+ZVl1yQwtajhB14E3mgQuuJIIRhTh+1N2YPzEd7Xhm9dWzd\nBTFF\r\n=Z2Q0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","browser":"dist/index.js","gitHead":"8275111725390a8f797467a12e045c905a78623b","scripts":{"docs":"npx jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build-ci":"cross-env NODE_ENV=production aofl build --debug","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build-ci && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"lerna/3.18.4/node@v10.16.0+x64 (darwin)","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"10.16.0","_hasShrinkwrap":false,"devDependencies":{"jsdoc":"^3.6.3","lit-html":"1.1.2","@aofl/cli":"^3.2.0","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.2.0_1574580901255_0.8986930330097855","host":"s3://npm-registry-packages"}},"3.2.1":{"name":"@aofl/map-state-properties-mixin","version":"3.2.1","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.2.1","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"b4bd99f2c77c225b02f79a737556b75a759fabf3","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.2.1.tgz","fileCount":11,"integrity":"sha512-fKff7jwenBWZjE8kWeTPW5csnbCF26CwOgRXw/kKmE4n3+pHwEWC6nrmHcqPuv9TD2xuILdSWSI5/CAeCdW2YA==","signatures":[{"sig":"MEUCIDxRXTr6vdOpZU5HwhbWcDCahj5fIZaeVeurR/B059o8AiEA+qARB1erI/kH6tJxpPIUpdbrSa4KHL2XLBxaNC0kPXE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17947,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd2jlpCRA9TVsSAnZWagAA5LMQAIODOG9rExV56JwI0yqZ\nGwPY9W+F8HZhsAyrr1uv3mJ+xIwsfLkMBtJ410BuHpPHgp9Sx3Ioghh+dYHt\n7t4owWX9BkJVWiunAsE9VA6lme4mdsEAWuGLBbYFRSjPGJAT74+l+hBgZ9hd\n7v77t3BCW6q+eE0WR15/V5d4iMtj9na4fx4GR1Ad/mN2RtukoLNHyxJby3OP\nKEyihNA89uUaJABm0JLlVuQVOKGQLKr1dGH7xLiA0IsYAdA2MGXeV5ZEZ5vR\nK/5E7uXdau5ZyvbdQ174zj1qVoXKrA3BU8LaS1Tt5r3pF72oGhpjYWo23s4b\n7K7GPB/CV/sf7bA3tqftdjeQ1gxPts1zqy7k15wN9Jac7gPm74CsjVncBcDA\noCrVmQmc4XvpCBSTTZMkRStZKcP0LZAIa+THqfE+TwyUY2bpWoI6pkEiLKPF\n5UGiBXsWKnFhqHLXTPka2SeLr8+oy+46Ytq5Ym/D9xReAGNHCfOrZJycBEsS\nUsrw1kNnJD/jCOTBh9BoHmrurykOpg1w5xgWtW/2bElBz/jZH/JFTCMga32D\nNmvcCusS5afHHeY7bch7x6VyYWs6zLMd5SehF8oSaUGFaVGnB/Qey8VDohTF\nhXOEAqRgAKKaiNFuvLi5CLons8Z7tFmRj5l0lXRfZqW/eMpxZam4JnFfPO0x\nfGTO\r\n=N/EV\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","browser":"dist/index.js","gitHead":"a3a91753b98e4423d9fa5bc05d8cc8f8754fd040","scripts":{"docs":"npx jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build-ci":"cross-env NODE_ENV=production aofl build --debug","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build-ci && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"lerna/3.18.4/node@v10.16.0+x64 (darwin)","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"10.16.0","_hasShrinkwrap":false,"devDependencies":{"jsdoc":"^3.6.3","lit-html":"1.1.2","@aofl/cli":"^3.2.1","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.2.1_1574582633498_0.8138948491097238","host":"s3://npm-registry-packages"}},"3.2.2-alpha.2":{"name":"@aofl/map-state-properties-mixin","version":"3.2.2-alpha.2","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.2.2-alpha.2","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"db2208f7cf7dc10c93c5cd86716c89be7848a50b","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.2.2-alpha.2.tgz","fileCount":10,"integrity":"sha512-cY6KlyPY9/ttuCU/Q5SnuGg7kmYGE2bgsJUqGcreok+llgdry1KItr8dDBYUtiwymaO0A+0NOAmdiBh5qPIpyA==","signatures":[{"sig":"MEYCIQCeI82cqPZo+SMyrgz6Rka0PgFY2D4XzxeTx+ompvRFXQIhAI7/YSuWOExK8EWwxKCpt/RQ4qqDhcw3yrFAwgAnJbCt","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16408,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeHiQpCRA9TVsSAnZWagAABicP+wasaKhqDeqLwpkW/L15\nN9Sm1/LRGL/lBcistH+WTVWcC5DdDHSAxsLdqJ9GFqPE67HA3ppGqsddFfhG\nGLz8WOrgTMFbvnU3zDm4llokR07DGf0BNQBtJqppVDqvOsyKmzT4t2AE9eTq\nARMZB2SVrC0GW+H5cliuaSygioa2kupoP8yYV+xtaGiLeSze+Ijq7xKVswfq\nmAJH2zICTBSVuUeL/bANMcxuSXFLEhJ5iW4mVnfNGehDaxZ+ZKbP9wflDhBw\nA4vfB+Im5P2MIW/z/DnWR5LX6qDwUaLLCdrAB1nuTnFgXV0hIqEdK5tGno90\nVf/GDkjpWG8igLu6fDr/z40XycaMOM4XZxkgMxZBGYaX+SF4B+HeZ9vhKH7T\ni0p8TsITjA/2qWn9sSDfbghSe2I8DWPU4xv6y0qfsvlqjKNn2ke8aU/MO/l9\nm0xeMJ09O91dA1uFsS6upLI5VuyJ1vzQgNEgtP3ClKgwWxBB56JXyIKJZtkK\nM9180lRWbBHVzilItSS7en0mA7BJpFvC9nSr8mrtZDbEwohDp2zkDyVZ+eqr\nKW2JAh5eDks9gTpAlS7WPpsiPRbHv49qDQGH7U7eFdQO3H5CT8CeHgZQ7Rp4\nuI9W9+5FHSLh9VPqky8VcGU0lB54s3X91xP0I6HnjbamCmrWwMKq7jTpgsNe\nOcCE\r\n=S9DQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","scripts":{"docs":"npx jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build-ci":"cross-env NODE_ENV=production aofl build --debug","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build-ci && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"6.12.1","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"12.13.1","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.3","lit-html":"1.1.2","@aofl/cli":"^3.2.2-alpha.2","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.2.2-alpha.2_1579033641115_0.4574708338343283","host":"s3://npm-registry-packages"}},"3.2.2-alpha.3":{"name":"@aofl/map-state-properties-mixin","version":"3.2.2-alpha.3","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.2.2-alpha.3","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"809f6c7653430397a4eabb3adc9a2cf7513cd097","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.2.2-alpha.3.tgz","fileCount":10,"integrity":"sha512-058Qn+qhT0BNSPvx3ni8xmCzBj6K1zjHJXXwWzzW1bI1iA4eVZeYYu5UZG1ZNC+D3LBmKXVRZTFumsJQy9dr5g==","signatures":[{"sig":"MEUCIHrOruawmbuuPPsvv3J/lS1VMBEYAD+eIR9KDH/FCRRxAiEAkUvvsinH2aY1BNKRryMWhpK0gafUia2v3I+IRaLBvMA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16408,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeHi7NCRA9TVsSAnZWagAAqy4P/Au3+zViO2kkGwLwO6Qj\nJubnfd96wSu9TdrPH4Lhc299/J7ZsrRRAziOFQur5Y5lPx3bQf+D2pS5fPqp\ntr/9x6VfeXVKCKDZ2vQGXXAvcz6NEFMiJwJpsfGvlG9eBFZqiWlw/SAZKi7i\nk+egZT1xjBf0kH9X/uR22wny2JhRWpjd/C1mItS2lm+Gmn5DnPkq7vS1l8jm\n0Njh5YB/ynSi4vvIF5RTuLdz/trBxVPuYWkpcjQXwP6ZI1fO/eYlPsZYiGYg\nyVgV+7w9z2IMzr3OYoTR7/QVXYplTfbV8mI6mzGjN7BBnMVIXC+hBBJ048kp\n9y7GgUj/Rr22xT25J1AEv41yrMOBGYU/aljUHuZl0eYtnAj1ljzXPp9xbcTM\nd/wPrWvqVFSwPQjN7n9b/WcBd7psxfLWTAFWSe3m9AOS9CfVb1h4xqhvTU19\nveBXlBzKoPh+6EDt7umC+299QLK+ngHlVPGVEBFJnxEvLTu0VKcNbriZS84O\n42AA7r+zjfQv58LOZbdVHGCrwKh27Vj02mAY/SwZL+wAHygQx6fzQWo7MCbR\ncYBiGvdYWUYFpgVQmAKk1c4yXJzzFtVJA7aatB1wZ9UNV8+AQJO9CFHLRHIP\nihXw+lU/aTtbnXM/ndszPY2zTdqEwQ8xXWQr+uL8dWkAdaGXF6JD+9aXELeS\nNY3E\r\n=xdjb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","scripts":{"docs":"npx jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build-ci":"cross-env NODE_ENV=production aofl build --debug","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build-ci && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"6.12.1","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"12.13.1","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.3","lit-html":"1.1.2","@aofl/cli":"^3.2.2-alpha.3","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.2.2-alpha.3_1579036365023_0.6266383644247595","host":"s3://npm-registry-packages"}},"3.3.0":{"name":"@aofl/map-state-properties-mixin","version":"3.3.0","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.3.0","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"abc2149ac911dc42b8beb464c1da61b7a8117c3a","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.3.0.tgz","fileCount":10,"integrity":"sha512-DvCbDL5XSFMzhey4Qz1DD6HyGzBkrHNE/jsVyDvPBfOu/FOcMkg0txL25T4Pgb4XoodOqFLkU1OFKPEpypDL4g==","signatures":[{"sig":"MEUCIFwAcg30961LcU0L8za6QkKm9Zhx1jOHr3nDzTCLQ0ZAAiEAruhMDVxWyBXXHcg97AsLtTSYkUd5Vszq7iRQ1KzLE/4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16431,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeKNs4CRA9TVsSAnZWagAA06UP/3FDAQaHMFS8zRosGSFR\nulq9B9HKp2D89HzQFgNPMc0acxsY1Sw3+r+q39ANiKwWZkGDVl4/0lCZKdLL\nL/E7Ey4I4clZZwrKqcBKknjaDkNIJS3dLRn34SWXXBllBuoQ3fxSkTTbuDqd\nI+f7OqXc2GAYWLAZZ9LC0OqJOiJrn0A2StN+stEtbG3yJGELVXsQ7vMqaipE\nma5NYi9sV8IJ9h8FajPBb3KP32+nwODPyhYfc5leapHcsvI5MPknBElDfa4H\niVJb5Xwg1H9GBS2hgmR1n8JB4ty41inuWDCxy1hmbID7WfQDtCNUTKOghGPc\nmRS9+jjdApb91IjwjE6b8kjoL267+WwMbviu5UzNrBZh4h5CMOJ3Hdh53g32\nwCNeMsqAd9eA6xUWx+vwPZx50fQi8nn3JrhgZllCO0iEUGdoLvKu9JzKJIr9\n4M764WuuXWkPZXjTDTtwJ4MSheTIZsjVvjNCprBPVe75fLzHHXYN14PLNBa6\nC7Fm790q8+wM46s3nbslm1GXHBJ43GZSPSnwh8ULr/pe4rFMGDQQTREig4km\nL2Cgj1vAI8eJA2cjldT2d++VOHCzEGYeB0NymARkfVjVwUTyOHI6P5JSTMh+\nPFVr8NwXnVWrD98g67kk7XtqIksoKTFy/M5rIjcpTNKRxp8cANnt7CdzBxbf\nZjJ7\r\n=gQ0g\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","browser":"dist/index.js","scripts":{"docs":"npx jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build-ci":"cross-env NODE_ENV=production aofl build --debug","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build-ci && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"6.12.1","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"12.13.1","_hasShrinkwrap":false,"devDependencies":{"jsdoc":"^3.6.3","lit-html":"1.1.2","@aofl/cli":"^3.3.0","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.3.0_1579735864343_0.057588894770988386","host":"s3://npm-registry-packages"}},"3.4.0-alpha.0":{"name":"@aofl/map-state-properties-mixin","version":"3.4.0-alpha.0","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.4.0-alpha.0","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"076880cc8585ffd1b27ba87d78ad7756e3ef5800","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.4.0-alpha.0.tgz","fileCount":10,"integrity":"sha512-MzgJ6K5kHa9FJI45j+lcZI8NkHuoshtgtIcvWYU7w3Br8RM7G89r0rwuTXW6Ls1pfHWkxWNEdFZxHlYnXkzusQ==","signatures":[{"sig":"MEUCIQDMKILlO92Qu0lHk4e62FTcxA+4iAckwQpikQFJPZFtPQIgUiEmUIMNQQaK4sulHJNLR3T6/8kX7ciTyAf6NLF1Fig=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16439,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeL3TuCRA9TVsSAnZWagAAmjQP/0kfUhbeN/CPlQGI5v5W\nDvFhiM9CZy+XZTpf4BD5+QweJOCCACRFxXlqNWLSIwMJc13FxdZK4Lh3JzhM\n6HobWrlTAOPDoLpHsgRAgHmplN/KXrtVQIAiaK3Gatld38hjk4aSCyNU8bwq\nvZ8rTfa0Nj0XPRIpe9XMTY4ONPjzZLpYI/HA3XFmSslicJ7WY/uWP2iFyiTT\nyFnAQ32mIW8IsaUxY9KQnsxqnNdSf8Q0UNN3cHaBNtxE0q6QYXf12CvNyItj\nCHYQT/OwcgXpK2BEeJo3BQQ7gtzaWdMiW110ErwUACG3xYKhLtVikyhuW9Fb\niRjPz/6sQlkyBcbHN06wHfpvUAxaRW2F8sZFIIQPzHOQ6eb6S56Q3lw6FCpA\ni3DGmcugd+gmR3IIOrWk/2olO9Dz1QeKhUMgNFXsapYg5RjGpl/fqrLolvDN\na4ocSoBhvhJUj1FKhYefhL/WZ+oxT+gh29o5hAlkenq4Q8amkq5gZv7+XTo1\nIGAmZ0iBRV9nIwfrGkuZbYkTnVUTHznqGKQB4kRHB1S/d+Ky+qaAnjIUgv4u\nJXFwBLoceyT+g3fyZCRcpqPJpezHhm6Zmqa8LP1qhOCWAD+Ya4+OofDTwWs1\nT9s/QuZ9wa31zt7paOEnLQ6QkuAr8ugLz9JR0Vr2pTF17q2pHQwHlHTg/ZpC\n2eVG\r\n=OGCJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","scripts":{"docs":"npx jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build-ci":"cross-env NODE_ENV=production aofl build --debug","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build-ci && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"6.12.1","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"12.13.1","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.3","lit-html":"1.1.2","@aofl/cli":"^3.3.0","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.4.0-alpha.0_1580168429611_0.7602786498865222","host":"s3://npm-registry-packages"}},"3.4.0-alpha.1":{"name":"@aofl/map-state-properties-mixin","version":"3.4.0-alpha.1","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.4.0-alpha.1","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"bc4d678055c46deda9334d451c96c57810ab6ad3","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.4.0-alpha.1.tgz","fileCount":10,"integrity":"sha512-+Kch5Xpeb57q40Rc9PN7Q31RmrmZ9UtaeqeIlfUo46Y2vOb1LVYch/bthbWbG5EqdhWyDkxV4bFR4XfiLiy8Jw==","signatures":[{"sig":"MEQCIAcuG+GSQnPV+Jrs05RbZDeyxqk/V3Z+LAxdUb0CxGtTAiBcwKDWvdcnLUODO3MaSI7sModwEDCswOG2e+pGn86MlA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16439,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeL3ezCRA9TVsSAnZWagAAr0UP/0i0Le461JGR81gfcJHw\ny5YCopQx5soVdZX78Xbi+EW+IsPuyAtHFK6/y0Y2i5tZKU3jsmUHKp6BwLVK\nNTZ6dZz+Ma805dQuv9eVPjP3Hh1ZQ7EXnv0bU2MSEM7WTl/PsXQn8aNJg2Ko\nXPBE8qYOCrxCC16IneRF3po6Q/VeZ0Y5wY3ZPJ0CMAaPZu9jPlCs2gBIHxeN\nRHVOCbTOkXQ4/iKTA8ysU9HfKWPisLagiE8f2cdxgftd7kpE0e086qcTdFRc\n0IZvtlOXty1uPu4z9YlLw0ZaANpy9MDaSJp6WO6hPbl8XmVBiLGCO2VbZ5Yc\n00PR4FSEEv5HYmFClCDe9j8mEQspAjYyvsw4XPqRexZoijf+5ZkfeIMK4qo5\ns0YiTfXgrAlxsD27ikLS7pcFEhDGLL+j3ttSK8xRLjJ9qzfo/AgED7uhHvmX\nCXRIfCpPr7J+QiJgG3/Q6po+9Oj3YhIo4IB+PWAd7d5NHTgIaQyqCGlTCofv\ntsuLUF/FR2GqNgPIryMJQrDhR23ergTF/L1VYAJ9sDFIje9Oa8rleC7dzTh2\nI3tIsY6flrZxI/RyZhSeFECQWvT7ekT6TR0V/8wnP470/7qWC68dkgRU4gi4\ncBcuPAVND8JQ3J/8BNVmsC48xxQsw9kvS+4Z8AGC9lXWPJH9rOAVAo/PFWro\n0hjJ\r\n=+PMk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","scripts":{"docs":"npx jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build-ci":"cross-env NODE_ENV=production aofl build --debug","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build-ci && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"6.12.1","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"12.13.1","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.3","lit-html":"1.1.2","@aofl/cli":"^3.3.0","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.4.0-alpha.1_1580169138692_0.14068937486370703","host":"s3://npm-registry-packages"}},"3.4.0":{"name":"@aofl/map-state-properties-mixin","version":"3.4.0","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.4.0","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"d9f5f98bc4dc159d7a791b42b27faa2b80b96136","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.4.0.tgz","fileCount":10,"integrity":"sha512-rwUnG/TSHdhjV4Py9rOHBPGuDys/BRRbMvvcc0Qv+EHcexR/nJbVR+7r/PWwhgTs2cSF7XYBZL4HKzz9elDQ2g==","signatures":[{"sig":"MEYCIQDhKZKboUvhvvpVYJvWuRmL35CE6fN1+k9kzp24RBySVAIhAP0cGM4Cg8pw8TmhYO/2+GP6xfoalsQQo/X3IwO34CWg","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16431,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeL3njCRA9TVsSAnZWagAAiWgP/jKPntAp4nRuWqS0U9c7\nM0gSGa2fLODeV1/cJYxZtDthJfhycUxnBPxXlI/ojfCYjwjRyyXPd+6oH0lD\nc5NDdvBahJQTE2to31KW/NpVqifY4Lh73EDcP62obeOuafXse3IjznBZjjub\n4IhqSYDjvpwiY5SSBjXWgjh1HvpXyIff1PILkUdYIP1q50UWgEeEb7y6jXM9\nV+ButFVTVJKKABo1GqEVmd4DJiyJCjXCIhbeuykQ4Gkw1sSvQjBjhbNe76oQ\nDCmipkcmH6pPDAiy/pusercwBFdVoGc9/cVCgWeUR4Q5+X8EStNUsuZ8mYV2\nURpVulxc1qndaS7TvQGf0kVZomlrtb7Hk/BUe2SXd2PFE9dik4ORtBiObRbM\noJ7hK+ys4dojFLl+JN8ssn3jHT2f7pjq7BbphFfD/q2yTvs0MTFglGJdd+2G\nsedkUnywn2wBR42ia4qzIVFWGMJh08AYE23xa6qkhjBotc+6eH4Gqmyo077e\nMaDBl7aaPaE5XlealFH7RR4Z25g+2VxwXS7dGqO3v/J6r5bki/zxYaW79NFB\nrh+IXkCMKmQy/0BSUQo53yoswpMsugEUoGvTTk+uHFG+QXqW75EkWYqjnX/g\ndUCkuJwdmZL9zLt3luknCKFsgydM6IQugreFj2Yir+NzAFzU8SfjLxm7cBg5\n6SMy\r\n=59mN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","browser":"dist/index.js","scripts":{"docs":"npx jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build-ci":"cross-env NODE_ENV=production aofl build --debug","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build-ci && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"6.12.1","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"12.13.1","_hasShrinkwrap":false,"devDependencies":{"jsdoc":"^3.6.3","lit-html":"1.1.2","@aofl/cli":"^3.3.0","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.4.0_1580169698755_0.17337222497822258","host":"s3://npm-registry-packages"}},"3.5.0-beta.1":{"name":"@aofl/map-state-properties-mixin","version":"3.5.0-beta.1","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.5.0-beta.1","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"7caacf6f39d953f98c17fea7479ccfcd46aeb34f","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.5.0-beta.1.tgz","fileCount":7,"integrity":"sha512-nL1h3MR8awgvm2yoS4lqxyT9ioE0D0wRzqOAkXf6P6XJ68wPT7DNj82YbWgqr4iBa2Q++9GBN9TexNkb4nHUow==","signatures":[{"sig":"MEYCIQDKsytSF2Bpz2SDTF3740QTLdd5CoDs5q49+AIwvDPZpwIhAKImxEjA/GPxWO9uShouOD/sYeVgSz6abJG0j2Merl3k","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15325,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeUbifCRA9TVsSAnZWagAA2V4P/jOdFUm1rgARMf+uN0p6\nqFX1IenzjuwuRotSVq7ErCaO+SnR4nMFoLceJh6h6v+OG+4eIyU8Qmnbyzf7\nqF0guIOl7jMUuTekxC8M3pv78cEfhhuTAdw28rhpbsV1C+Yy1zkXLyib2yOs\nMVaqf/g+6JvlJiZFxK77TRg6o1N7xeGtW48/PJAxmMGyXmYazBPl4SirytLI\nIXhnkyElBxEY2yvsEdkN9Rr97+7oNnEP9DyqqYxsOXQFHzCJfwLxpAW9L5BT\nF2+Trm9ceyIjQkpvHBL3+mLpcZoNbFjo0A1uangF87P7S00f1UFH/m9ztAtH\nkE8AK1cSpFwmf2FoOozaR2gOyen3RvgQFfYmpxWIGozCQU14aNjzvtGbAbYo\n0OmNDqleKqQn/J+7LiR/j4oJmr26sx+HIKJYpU77GIEN/yLjKYveCDWuO5pu\nE/iW8JX9W7atf0gRlQzSvdzBLuxzYtjdEbgI4sF7Xq59vKorUavIi/QQOBto\npJfBIoZ/yMKS4jgKl6Zgz+BayobwsaIQSLyyi58Lf1Zf73ATAE+iwHsPCJPv\ndgQct0Qb45Zqx3N4dp3MJBPXKT1saZg+YKHbINCf7fdqxcHkuPTC7ns+DQLf\n602YTe8EaufzXK3LMT6y3x6V0MIvHDezmcn3IuMDIIQ1TVnQVlH/qRZcQlSi\nqCvJ\r\n=vOGh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","scripts":{"docs":"npx jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build-ci":"cross-env NODE_ENV=production aofl build --debug","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build-ci && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"6.12.1","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"12.13.1","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.3","lit-html":"1.1.2","@aofl/cli":"^3.5.0-beta.1","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.5.0-beta.1_1582413983011_0.8782823945146963","host":"s3://npm-registry-packages"}},"3.5.0-beta.2":{"name":"@aofl/map-state-properties-mixin","version":"3.5.0-beta.2","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.5.0-beta.2","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"6765cd013648c6f0bdb455d343fe865b837a22c2","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.5.0-beta.2.tgz","fileCount":7,"integrity":"sha512-0i1UJSaUcvQQhvZDDAu+2vCYF5gXCxQbWRXXIfEtjeyz98Pwqok+RkhivXA8bIpWCljgs0KsaYvkSsZF5LtCLQ==","signatures":[{"sig":"MEQCIDNzz3VrZhdIf/5h9v7HJPeMSNU/5FemtBN+J31RL6RRAiBbqIl8ZF0VmlxCP0WRAOmYGfyHHD11GjxnCILHNbqvEQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15325,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeUb69CRA9TVsSAnZWagAA1jMP/0ePfibBwX9hl3vaIQEp\nxj7FmKEH+tUiw3B0KAP7ipuzCv6edFmUVbo4dRO0XvBGQLcl+ghWzqGS0Dhe\nlQT6LKxP9qFJKiYv8up/lYhqD6OaHvEbkqCk20VyzVkMdxDyGy+cO5Zni2Lt\nMD4Jn2u4aEKA34MW21XvT0l8NpppdUlzaluuR246w005GVZS/Z0gsOWtr5OS\nK1AAgPptEKVIrPxz7us7OLKsx0HOI6RB9oSovWjGbrgpaTlEK/DqQ1xMYGe6\nVkFd4SLaeWyLdik7PhdgNRMgnXdeMEOQfRTcCLcYQl+eG97EZYBUi09Tbolx\n7n4pkrlQjPyDZdEyct33CS9UoSp8GxcUuebC4n8Jn4Vp3WS2URhoPwFSiNW0\nV5lCvyDtQNMW3UI634ZweCUQHycQ55wQqfNUg519rW0kEpcYe8Gb3gbcTKob\nUPo0vLvnaxWdJjGobd9lzBaanJluV+BOdSrWtiQi5tGoUXqLaKgLoPi9KVuH\nWq6zVqPOfqDZOc1hltlDL2gbq8gqI8Wn9Zgkni9Z/trC/zY1aAQeNUds9O1g\niuWi/tLtN6Fgc8zfcZ4jafMFabGjhl+7e9ppLHt7ZHmuHQgS/bvjfUblnbH7\ngBNKB7/fGkgdLvn32yGwvZe679dkIVwPF3nVLBVSzIkGGS68PpDQ7d10z0ML\nk9y3\r\n=O3bC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","scripts":{"docs":"npx jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build-ci":"cross-env NODE_ENV=production aofl build --debug","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build-ci && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"6.12.1","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"12.13.1","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.3","lit-html":"1.1.2","@aofl/cli":"^3.5.0-beta.2","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.5.0-beta.2_1582415548567_0.8305753809215348","host":"s3://npm-registry-packages"}},"3.5.0-beta.3":{"name":"@aofl/map-state-properties-mixin","version":"3.5.0-beta.3","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.5.0-beta.3","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"be9a028f8eceed4a74e9e7e4d35d4b5b44cde072","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.5.0-beta.3.tgz","fileCount":7,"integrity":"sha512-vgc4M/Bl4HfXS9qt4SnoNAxmlueM+PuNfxnQdXlDonbQuv5orYkjbQW3CLms4YWSgc5iPvuyld6XsVrSPeircg==","signatures":[{"sig":"MEUCIQD/E0FA5DeI8zaSwnm5apGZFcRlwcLyumnd8sFrRGcckwIgO9+6+x2niiLkds+PiHYntiFHrpnzl3/lIzPtfxB6/UQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15325,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeUcIuCRA9TVsSAnZWagAA9yEQAKLX0WTIUEKmRrE0n07t\nXPa7OEdYuIobBblql0FWwzW4x3gYaHh25mhRnSJfPwo6K4V8qWsLe3gS+Sy8\nTIxzEkMEPHvHzgv45bxruGxGc9js/mEg8HHXm47/9Js0NdAwdEcN9/q661oI\nwKFDdtrKbocrxNmixQwvtv1K6WJX6hfUA7ANlk8H47aKOmlXK5T5FUc08K4u\nnwav+MpBl1iWSsWRZZ5N6vH8Urd3OTdJybaX660VIXjFpxJ0D/A3mDx5syMd\nTqz5VIxXbt2OaSGI0XHDsWZIl6t0yxWSzWP50jGbxF4nZvF3CWFnuCA/ZOCK\nJC2lWpTEKI3CHrE1vdKGhSlSXHgYLEEnBhdiZDKD/T8eNXobkcwdgaSnZfLs\ndZw4Olz9/N1JoWC4Y7DhBmRpg+aX+r7AOWBcuUZTfhUqV2aIww9eOYNgFsAs\nxB6iohHCFhbX3gRpLo/9JyyWyZ9RV3nCA0bEh1I+5alPf0r95lNvIHkX8jJ8\nqzlx3seotXKq6sgVMPMLCrAME7dOq2SmMCP+aMnNTaV9ch4nJnzXM9HId2jp\naw3vePB68ynBSGzbjBA8koE6HhKfw/3nvOg0xZRcF2NdCduHWGcuufjMnjUE\nwaz681XdUMZh7QqsiZzWiJ38YhwM7NY78EJ/R/Srt6Xdo/xnBynyMIuOYQVr\necr2\r\n=TORX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","scripts":{"docs":"npx jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build-ci":"cross-env NODE_ENV=production aofl build --debug","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build-ci && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"6.12.1","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"12.13.1","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.3","lit-html":"1.1.2","@aofl/cli":"^3.5.0-beta.3","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.5.0-beta.3_1582416430422_0.023087753839631686","host":"s3://npm-registry-packages"}},"3.5.0-beta.4":{"name":"@aofl/map-state-properties-mixin","version":"3.5.0-beta.4","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.5.0-beta.4","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"8fe9f0828b157a6a1c5e363a3d68a09b5e25856a","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.5.0-beta.4.tgz","fileCount":7,"integrity":"sha512-nCAcjdWoKR27FIyh8QTdX3ixa32/70iT62Yg9SLiNswOuLp5lwASv48VQ/2VYSRIQAdj3cTJAr5vQ/c8vtgygA==","signatures":[{"sig":"MEYCIQDwjpT/ikIAoul2yCmnldYdItg2bi1vchZCjDpT4E7NYQIhAJFfD2zxIDtzRbC0WnANktfOdnCITWHWR2Oi4kSYzniT","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15325,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeUdv6CRA9TVsSAnZWagAA1EYP/0Vl9OwMbfWGMjdvM1XT\nR0JB2SgY6dxG7i8i9GkPMRamDq7cyDG3y9n9VHTA6N6chgbz/unEPkyeaDgA\neE3vj7IFXQO1SNZP0jjr48tMg06oyl0kI6JHfRcSAg3nfAiGCsFiQ/knzAMX\nYYlWL0O4LcY13K19wT3d+xKG9gVEnxnVTPFEEPhgO+dwOvJ+FwHXXxQVTkGR\nXCCt37PlZa9JBmPh3TQpE5/OEWW3FgR2tji6xUa+K/skAddBcxhkCD6zyd5/\nN06k4qXA2bHrrRxTyDollwBljYC0kAcYjMjorUgjfbpCXfcR6yASPfcaPWjT\nIEDhQCYESPPDrdmH2RvWZhsB2jRNFzcaNkMr3fa++MkXCAi9snOexweY/8vy\no6EKYTpfRwUE20aG+QOMHx6iAWy5WpFko145aQ+DhAeiOqJDciMm75/WcAlW\noyDak+Gk0+2wyOanotkiFhOgp82QzlD5s/Df/Kf0DYOsrW/+qEnpU9JExE20\nw456jwSXTDM+LwGlBquIhYMUu0T5lI7uopyUvyMnrZFqoUU3lZLgOW5oXNvf\nXxrM+u5RQ3+psTqfrgIYJQFc6TzpglGDSf40DzCdwZtunP2KqmLFOXj90p6u\nCSUM4YvfYnlSDW2vaOGz0vanuY92EqZcF/dirqqNkv7A9Q/GKMk7ko3jrBgu\nEkuH\r\n=s/VQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","scripts":{"docs":"npx jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build-ci":"cross-env NODE_ENV=production aofl build --debug","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build-ci && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"6.12.1","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"12.13.1","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.3","lit-html":"1.1.2","@aofl/cli":"^3.5.0-beta.4","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.5.0-beta.4_1582423033825_0.19211528113702436","host":"s3://npm-registry-packages"}},"3.5.0-beta.5":{"name":"@aofl/map-state-properties-mixin","version":"3.5.0-beta.5","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.5.0-beta.5","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"d87e84b121059f464a012003da04d71b7ddc4e54","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.5.0-beta.5.tgz","fileCount":7,"integrity":"sha512-shZlZQ+L5JUFmJ5fSirycmyvXOkQ8d9JiQC0dkcOuD/odGNLB/aA6Ma2UOv1MNkIgEpu0U1mbKc0X4NZ8QCM1g==","signatures":[{"sig":"MEYCIQDrudjT3wjCxmyEMZ7tnUbiYGic+SM3pOeskyVhslkvwQIhALDYSX6L6leO+0HViWqRamMLsowE0HBdw38DJ/yDZ6Ic","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15325,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeUe0DCRA9TVsSAnZWagAAuggQAJaX4AR84LHq2DbhFTnv\nxinuEyUSYXPXet89TCMgwOU2kTIEiw4NdOZRMKw8hHnxHjYVCgwYhimloPwR\nn86+4AxvQKNyqCkvjHs7ifokN0BFvqG9bmJQAWCfP8UMmlnA6I1tBT/3TGmP\nGTXUSRAQWFCWbXDbKvtkFNttsZJ5UtQsdkOoW554AP8T6Isev+NdYyeBkPSP\nQ60ClCuaBNnGV5Ryy9jOpIzYYGVxBUG/Diqmyhk7z7OQQ7BZzJ1eN5hVcXOn\nP11gKrNsVLVIEMiuqCDEsfxr6P5KBRaWnEYU32TiNyqcQ+H5wLBPCHQfgeYT\nKvgbOoPAT/oxgKbsQwaHJ5cC4ziVJjGNvYLYeH2TniGUVV5dLvSN8+D4GLnG\nfuFqtQTeHc1GcPux4D2BZb3brpbb4buaTx5CiM/PqtSG2n2DAx7b+Y+bQp3y\nlzE9BvnWQTfjoQXL0iIRcnKLgEyQ0OLQk1VQDwvrpU0uJ+BCQfATv2XgbJ8D\nX6De7jdCL0dw824HTV7c3x2EX7b8T+g3JzZ790po/xQAbiLoJKx30ujWDXze\n85uM0fvoD+VoLfIdxm+fbf+N7SNPBYeawP4VUH+bVc+4H6r1lCarfGjMdSb0\nS43vq2U8DSAjMeOU+R7aBJ2PfTUKPANpVszbKEPfWtsrTnT/th9zm341pzNU\n8CzZ\r\n=6YbN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","scripts":{"docs":"npx jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build-ci":"cross-env NODE_ENV=production aofl build --debug","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build-ci && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"6.12.1","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"12.13.1","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.3","lit-html":"1.1.2","@aofl/cli":"^3.5.0-beta.5","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.5.0-beta.5_1582427395183_0.12355380053603215","host":"s3://npm-registry-packages"}},"3.5.0-beta.6":{"name":"@aofl/map-state-properties-mixin","version":"3.5.0-beta.6","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.5.0-beta.6","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"cbacb7f48fbffe6e35f450fff000eeb23c98f116","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.5.0-beta.6.tgz","fileCount":7,"integrity":"sha512-D/XnvcatEmAVgucjEZ/aaiRK58bhczjIeTBwOx3GtlvpY9C83HLvaE0Xg0wlfQNd7VR4I4nNkPgjpimm6LFrzg==","signatures":[{"sig":"MEUCIQD3iqK83Cn/ng4mT89xeyAabeyoOlxVnq5Iimt2SfrUXgIgN5X/9W0z4B6AFyPhRan/6Lh34Bun4VqOZtyhuUsljsM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15325,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeUe7PCRA9TVsSAnZWagAA6CsP/RdZH9G/mT05iRjEcX1s\nOEJqNTaNT1rgQqnnrdu+5ubJ8/sKqNuWtfixm/3Cqo6cEEL/d0H1h5YisU5/\nOaC/0rdjwGRoYMPIE9Gyqd+GyujyURI5xLuQcq8gIOLQO8ZVPR1LAuE+Vnkk\nDLT59D5OizU6le3m2ZwBwYlKq4gQ63d336E2d9gOXN7Ksa8zHi7ObUhzldOX\nxM7jgau7EaPqvoIiGxI3Mw+IBuoI96/u0z/ddSz0HyGgLp6YbDfpejaWhXxJ\n3C2xgfv/Npy6c9KAnKQb5WfzjvXQit0CK6Moq367q8dxwmCRxdnpg3giLkRq\nnb8kP2OhSa+kebA/vwncaWUJFswnW6Iw3R3zg8JP2fujz4Z6gmhhkfY2NzDz\nOte8wE2AsIueoCdWm8voneYWf+8C5grFb6KR9HrLd3rOWI/lPDq5Jsk3Ft14\nTzlzElMtOAlyewIJRLQZ3IvGdpSWfNfTOenNQH58RaOJgO4Ba96MHuOfXbxR\nw+o+/dnYKVinBYIp1r4Ce5h1tqmPt/L29e+f1Cyd/0ATz31PcYbjhhhbW3cY\nZtbAEH0nUP5sUng+IWnX3iCSpidoru/NCoql4t3vMfrOsozspqioXPrzSbzQ\nlZ5DUA76QrRYlJYsUr9xbaHGba7XteIbVd2zRFCUR5BxRYmeMOZQeX4HmWAv\nRjJR\r\n=oLYa\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","scripts":{"docs":"npx jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build-ci":"cross-env NODE_ENV=production aofl build --debug","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build-ci && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"6.12.1","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"12.13.1","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.3","lit-html":"1.1.2","@aofl/cli":"^3.5.0-beta.6","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.5.0-beta.6_1582427854980_0.8349855702605999","host":"s3://npm-registry-packages"}},"3.5.0-beta.7":{"name":"@aofl/map-state-properties-mixin","version":"3.5.0-beta.7","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.5.0-beta.7","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"80062dc453fed0c1f59825bce96ba75c094ee2b8","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.5.0-beta.7.tgz","fileCount":7,"integrity":"sha512-uyqwAz7HhUtsGfrZXefXv2j9VgB/kFsFWfAPQ/JhwlanvRB7Y3AC9YylA6PiZtaAEmBzwGWPxmMC5TLTbqeAYg==","signatures":[{"sig":"MEYCIQDMV/E7G4xqmvTm/qbPEvNany9x7dmJNlyunGDwumWJ8wIhAJn23l05sbfLrrq0Mwl5YDYMqUGSSK97a3gxhHAwcKEG","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15325,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeUggPCRA9TVsSAnZWagAAmj4P/A2dzTUtqBSEVduB7kqU\njfbS0VEkUI2DsXcC2EroXn89n+KIF2E6m7GHZnuQ07A2T/4ngFfjOVND8yDm\nLxyYr0XSatfWkoFax+LwR30SKZG1ewdjvO5fi3fWjOwYLYGvHu4qObklk3EZ\nY8r2W3KcmXMdb1uW1CCgu63irdoZ9HhfSJKWOtqhK8F6TVWeUbyCDKPgFbnH\nLck2IQB5F3xpyqmNPspyXRuC8mqrYeEBcKQwtDc/oizwT3qWwrrPi7fOccHS\n9TxG5kq5Xmx7KpTpQiMaWhrPGUbqKpFbA26/42QKjJ9sxtGYEBq9sL8kz7Ni\nNoXJPKHtehifwyv68Ibdzgv/5sFIhBCK9w7ThOfXn43DytH+dGpU42AoZH3L\nWK7OTVANB3c97TfIVHuidpmEX0NUqalQsvbHj/Lbtvq0sYrXhIbewc5qBJw8\n9iu2XxWuvKNOyNBtWB3tB8g5fPiFVaqocBuSXko4k6o3wJMmTzPq7QwaqrID\nfYrHKNsGlS/B+KwDFL19oeDcG0HMM/IZWLeXRlmGu3mJlxv+JlPT0oratBUR\nabp0BPIUPqU0RhjaK1+m3O1L8kv4Efxz+4CtyrC7ZlHp7FtCAWJbapyiMTFJ\n269StUdW/kn+VTE3Fkw/Vy9XGrTjxYpwsNAVHmo/L4jiXZz6YNmDTazqpWcQ\nJXQ/\r\n=7bL5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","scripts":{"docs":"npx jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build-ci":"cross-env NODE_ENV=production aofl build --debug","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build-ci && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"6.12.1","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"12.13.1","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.3","lit-html":"1.1.2","@aofl/cli":"^3.5.0-beta.7","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.5.0-beta.7_1582434318835_0.30480520330785477","host":"s3://npm-registry-packages"}},"3.5.0-beta.8":{"name":"@aofl/map-state-properties-mixin","version":"3.5.0-beta.8","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.5.0-beta.8","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"c3603cece2342fc0bf8fd6618a4a05be52143838","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.5.0-beta.8.tgz","fileCount":7,"integrity":"sha512-3LEh1kRuuNqeTLQbdP4dfBvdnos0we+n0jFKDb+jewwW8njYbSVFIzHEeFFleCFS1gIGQB3fqdoEXx2DJqtPUg==","signatures":[{"sig":"MEQCIGPvfr46jPaOx96rqtSpyO+rdaoNJZSrqnJfD3V0NcR1AiAkXvC8FI68kiXQ5tAc8vva5ee6e9r9I3Iddh0qZ4T7fg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15325,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeUgjRCRA9TVsSAnZWagAAeQUP/1XbOj0s7JkZnjIyGzyQ\ndZL5XvrMeJUSCFk6vl/rsQ6WVVLK+A4DWvCeVM6fdblDReMAauJaQ3Pi/xM+\n63qHJ22Vb+Kj13ZTUv4uoWkO1Zh21iZHPkz+0mf0iV38vgEdrTdMjJftI1/5\n2wBs1pVCpZChNsJb6Q77g1vSi3DBqWqLS95xoVD4hFpXLSNF3Q0LL6G25X4p\neCW55K1BKR2hVtjphmuLupb6hqt7xD4MQPckGXkMz1Xtu30Zt49eS6PSHXTK\n8jJaKu/BfM5u3/8brNsa+Hnp6nb5FdFZtXH6dnGA6gxU5SXa/9zVykzH2UqA\nuulKFpil0YF28FbXPl2/NjU2EDsGWAqx3UZbk5Rr4Uyc9OcahWnzJltcQnPt\nqk3xkqHdi0EglQJSNgFNvcgPaihoC0aAa+ct2csJmDkDaY5SL40Xc3BSXrnq\n2N2ywSTZFI64No5ohmmAQA83Sxny2Z2NE/l1ysp4fOA6iDQGndCIGd3E+rT0\nwF1Yi1VRACW/uRqAcJbWuFFBOLbONDIdO1ezPCi7iIfIktBe6OkIU2NaJ+Kz\nlJ7WBWOU3ZXbTJ6njgGnLxKVoaECy41EqyJt07AgPCm0mzb3K/g4VboCKmiY\nkemf+l8ie47nZRKnKJ5ztZKRQjLkvkMUiz4aObDbnzpCIp+2CW11wbnvdiHt\nnjGR\r\n=Wx4E\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","scripts":{"docs":"npx jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build-ci":"cross-env NODE_ENV=production aofl build --debug","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build-ci && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"6.12.1","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"12.13.1","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.3","lit-html":"1.1.2","@aofl/cli":"^3.5.0-beta.8","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.5.0-beta.8_1582434513318_0.34660202614569724","host":"s3://npm-registry-packages"}},"3.5.0-beta.9":{"name":"@aofl/map-state-properties-mixin","version":"3.5.0-beta.9","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.5.0-beta.9","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"ae0f57d64eacb99835fa213d00007b592e21f01a","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.5.0-beta.9.tgz","fileCount":7,"integrity":"sha512-8vAPieVYRVFy0zDlkjSG4y2gDZYNTnOtXwc+yv1XlO7t9lkl5eXSTCZoCJCEpeNZ0YNS2fNssBSPQTPHFAmIVg==","signatures":[{"sig":"MEUCIQD7E2Q9lJXVL2G9Q9PZIWfvQqWJAWmLFWgqnXZCxQdVgQIgW7vwOUQBsFfBeuwyvSgrJ9IFWkdExax9npd2KlnsBXk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11301,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeUg6ICRA9TVsSAnZWagAAFHQP+wbfrLbABHjXwEMNMv0k\nmMaT/KwPfawONVSCSfR5mE/E2OB+KHYiFbV2u2rpx8oItPn+qg63zEvpuPPt\ntOXb2pYgx9g7SuwZt1qKQD3RC62ViPJV4Ywfb00unIfZUvgZ/W0dLYQbbj1Q\nedFuEDrFzt9t+BbI3ONQVlDsT+sDP67FC/dpYZBLAKEEgLBw0PiVe4Oo6Bmh\nl7WBj/XkTmm8n/ISvB1LKzIh1iUwJZI0dJSQAspt6T4G+9/WolnSQGy/sENd\nGbhmAZtTRv4RBVKszoPVCHYXhmo+a1sF2D8AlMvUZwHVmjDtnmzESTDh0oXL\nabOt8dbOqiET3bD2C3Azv+qD4ikaeyAZdwS5sKC7epZxkZ41Zn42I5YYf0FS\n3MfuK8eTafoPufPAfWSnXS3guiXvr4AysCFaQktNy03vp80LumvEDlNMN0bU\nKMcKPKAbjR7AKUnLuh/xOtuImx8/d5IzNraWkFm9m7kUWNqU/G13+spKuAAp\nFsbPOn3/oM813OE6l1Yj2CVNpoWSNrU0SfD87soYYnKTO9H45R0EmwIqCtnq\ntlMYQDIy70WjBJe1P6kzTbsYdizewUmSIfU38yPumHdRHo/w6teXm7ytAtcj\nEqKy18A5wWGUJvKoUsQve+l+HOn58Vflye+qzQOm7qzLgS9SFcxRzcjOybAH\ntrvA\r\n=vxKr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","scripts":{"docs":"npx jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build-ci":"cross-env NODE_ENV=production aofl build --debug","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build-ci && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"6.12.1","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"12.13.1","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.3","lit-html":"1.1.2","@aofl/cli":"^3.5.0-beta.9","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.5.0-beta.9_1582435976148_0.9604596171362891","host":"s3://npm-registry-packages"}},"3.5.0-beta.10":{"name":"@aofl/map-state-properties-mixin","version":"3.5.0-beta.10","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.5.0-beta.10","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"71ffa6f9c2f82797f212479a4b4204fdcd4d8df0","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.5.0-beta.10.tgz","fileCount":7,"integrity":"sha512-ZwK/cqsMaVOTmeIJnGPgSN4HkFlON27Xgmdpb9g3S6omEiCOkdh4mKPccphSUCbk6V6VURYTFFWRxqUyjA9ysA==","signatures":[{"sig":"MEUCIQD+PFMs+IRr8017XucgfPLs9PwfWVvKbatzx7PMWyxc2gIgKEkZbeJdwiZzFhon3G3C4A9hXf+JIRa2bi0ZglAT0k0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16695,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeUhKZCRA9TVsSAnZWagAA+0YP/juyvfHNznbKhbxmU8qT\nVDgr08dLR00Pld78BPXz+pFjSpHcYp82/VqgpSzxoCpJ2PxkwLDg6O3lvJGH\np4jqFh2NZdnJhqo2VnoIxOHB/1DHaGV6g5b9qUtO9/Kr6ySXFTC55o63WnMG\nVF4kT4MN1a5zQm8GONIxdl4ZxmaPwcTnMYNSPGnTo2ElResuDE5QiNgcnflD\nuS97cUcV5CHZ7dhHkUQxrKiuLWJWt/QDzDokz6/kk+spHpdBmYuBiHcj00Cy\nbhYc7Kanz1i3k45xdyhhCskK2oLpstNPqI+rMfq3n/YZmsJ0lOfudOTMIayO\nJTZkJXDh5XDeoZUQmkeRnevDD2eXB7G+11tnmvGNDW7ES/HAx7st3DRfZKdV\nwhoPeMhjP03V67zo2AhVOmNM6GBcOnRpw33dbs2mZuovEL8ON3jdZ1hjvPlC\nD7UAPUXeMd6vYpmjvNDZ0b9k/7/zeQ5uvnRXyiKBdBMw27jTbwjVbizmAEJa\np522npMBXrFwzCPEWZuk9m5N+mPPmpp4Ql7VqS6T3EtYzlUYSyZU9YN/2m1i\n3S1VEKCkj+S2yjshNw00Lvt1WfgeB2yfDMrptb5GipD6DJWw82k5dudu/kjA\nhUSuxAZkDgCQqr4iRX7QGSJ88lArEYFrSPHessDyFvH2L0iYG1JKfN6w0EHH\n12th\r\n=ANJ8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","scripts":{"docs":"npx jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build-ci":"cross-env NODE_ENV=production aofl build --debug","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build-ci && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"6.12.1","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"12.13.1","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.3","lit-html":"1.1.2","@aofl/cli":"^3.5.0-beta.10","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.5.0-beta.10_1582437016703_0.8978938028606531","host":"s3://npm-registry-packages"}},"3.5.0-beta.11":{"name":"@aofl/map-state-properties-mixin","version":"3.5.0-beta.11","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.5.0-beta.11","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"ed46eff4095a85c402cf39991ddc348afe811ce8","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.5.0-beta.11.tgz","fileCount":7,"integrity":"sha512-jHvLfs+5dL1scEMlhZ+MCVYWoG/vzop3EDRpTLzKAkLGiV8/VFbXZO8VySS4XTnHsAUQFf/5jfgQr6PP/ip/zw==","signatures":[{"sig":"MEUCIQC1c146aQAaA8OIPlyJVeT7mG2waEh2b8fO19+JJBmnngIgGDNu5aDSwLrSQ0X4Dl2dG9OB3DAJpcWBDOpCY1Z7Obg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16695,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeUiugCRA9TVsSAnZWagAAhx0P/1uZ5TfIKmtw/15CEflL\nK2i6afMTIbAIUixUoFMELeFiOEIGsDvup2j/3E9UH+dEzR9xB/sI5Gt4ieRt\nBqiW6/5Xpw9vAU7QUHSXLXoy0RBguPqttArDZcg/qYPi6WAjNFBs6gQMaRRu\nCcOFzopJEQy/97h1bPVNtrLNrWEx/HdHxWmVWD0vnXyxQp7JI/O/gZdnKCin\nUYaPXZf+UYe6B9KHNxjccGknEIAmF3mZc09/mPSEBf4a8A3DmakCkJD/vuxd\n2YCQHhy3U8TtGVUDFd31rooDHzCcMaAw/LIT+wwyTt89hlc0PHpd+rrLD5mL\nUkgPWr5n/JcC1ggt7SYntOGTJhs69g7G+VTuV2cXexlnhP7EKfjZ0i7dD1YH\n8dV11lCubmixjYR0rFxudtLCpILrNBCYXlqIcV1eZBUKmxG2fcK471h0v4ji\nLmLO6QWbulU0pHnARzQL3DXkaVxrvpPNIwn3RYSvgycXiOn1mVIlPUnEwLxz\nK+HL79zaEA3SBUcsRsW29JAbYXmTu7OB+w27X1TfvtO0Jc9b6+fAcM/LH4aN\n+X9M8mK0su7hOmXri90/Ngg5VCIrH4D4fMhmz7Ziy/qaLFK+r6p57MtK5cuX\ne5F91BRbcEDpkFgcbs+m9uHu588RlVNOLSPxkHQrN1rjDYGf2tv7WjcRVbbr\nKmgl\r\n=OQcl\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","scripts":{"docs":"npx jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build-ci":"cross-env NODE_ENV=production aofl build --debug","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build-ci && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"6.12.1","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"12.13.1","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.3","lit-html":"1.1.2","@aofl/cli":"^3.5.0-beta.11","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.5.0-beta.11_1582443423876_0.6110312923545789","host":"s3://npm-registry-packages"}},"3.5.0-beta.12":{"name":"@aofl/map-state-properties-mixin","version":"3.5.0-beta.12","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.5.0-beta.12","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"e105c7bb1cf0ff557677f39e034cff3667d635ec","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.5.0-beta.12.tgz","fileCount":7,"integrity":"sha512-dbctEY7idlMQaKacJlaYcJYXFD1IOBYekJba9P8Iz9Th/LHPLayOAu1VagvKLsYbMtas/LFrE0eXC4Lj9rh94Q==","signatures":[{"sig":"MEUCIQDYlCyK+I2vsZTSa7UutM8JWMw6mfMo+LXLLStM+q4r4wIgTvQ9tKSWm0Y9I80vi3qoj8OQgujOy8EUj3dQ4bvTPb0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16695,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeUj8MCRA9TVsSAnZWagAA5pEP/1zsA3z5y4OU3nE6dqcl\niJVBuyjv3DgmuY0SEuTH4KWopQ/BluHxRvTVcoLSwbgHE6+0LpGqnP/7xSXw\njVAPzQVypKETOwAjCjZQuuUSi/6D54RcPIQputs6DrzKpYIwQ7QJZ01LLJa1\n1adtWZdoF4qkXUrOG0TINiJooXDq0VwkM86IsEmBsBQN4vytjxs8+CT+Do/n\nptyjEFtkcAgeXdL2goQ/TaCq3oj2M/kzHHEtDvAJoIjtleb0McIrCoFp+09l\nuYo91G27tHv/N/ojywud+rrhXguZu9mDbXmxZD150AiPsdZ6hjpKsaKvw403\nXV6r6q9cQ4PyBd95F1k4e2POreZcPtZyOcG6atlYDJ3tcY2440B1KBb9tOsw\nDeGvsdBqpW5pZj/WogWuQO4KFxOif7j45xBAhRgP606/oSJSkl+cUbsBWVfu\nkWVer38cD1Xn7wfJ9Q2enmZDu6A0OCJUqgv9IK3TCZnADGtZ4/8UwX1X8mDU\ntnz/Hwu05M75FXc5Nq1GTZC/pSPu4n2yjWMn1EcBNl6OoNJZpU50UAPECrNc\n2ZBm4e3vVz2PZMw02645Xw9hyLb+55QQ5lye5APwmWdhFHFmlellV1p8wONt\nw+dbCuMAbAoJ8nkX+WQHVhj/7uJwQE72PZ1RlXx8fGy8VWJ37CLZVmDUno1j\nYvnM\r\n=0OhL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","scripts":{"docs":"npx jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build-ci":"cross-env NODE_ENV=production aofl build --debug","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build-ci && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"6.12.1","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"12.13.1","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.3","lit-html":"1.1.2","@aofl/cli":"^3.5.0-beta.12","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.5.0-beta.12_1582448396269_0.9935375599671332","host":"s3://npm-registry-packages"}},"3.5.0-beta.13":{"name":"@aofl/map-state-properties-mixin","version":"3.5.0-beta.13","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.5.0-beta.13","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"bb7fdd9ace5262aeb44c3bbaf4c5750f47237243","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.5.0-beta.13.tgz","fileCount":7,"integrity":"sha512-Ihb3vYORSXOg65jZO+D+wnIOH5yaN+x/Eo24CnceN8jkmNOBaflCvMkUoLaYWNnOC04syCeSi+TetckR7K2+Lw==","signatures":[{"sig":"MEQCIHLhlYdsiNfQ86bBUW2MKZqEFP9VG0WOP6eTVXgIyMD/AiANfxFBq3kO5L0zRXVm/JJEnfVt4gDWuDQ7eycssoahzQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16695,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeUj+GCRA9TVsSAnZWagAAb8IQAImWaDnu9su7PWUGDYGr\naB9GhOAzOIM8WZkYLlN23J8reGloXwIbI3a0usz2KWVBfjYYccVJmP0tsYq4\nTUbSQDW2VpSkbXGX5fQlqY36ZSM6UacOtRHBXn75u8B7BHVelFNomR4M6obR\nM4ZccTKk22qKpoKPxRA/bt8iSlax33kR2RV4fRlC4xk1jKnzuSeuY6qdaLn6\nTQcui4hW5P8zaDL2PR65GTMnl11BSfDYbUHZS5sLDt8jnRDxEF7ARHl+55Za\nXcfqEsjCXzlcZjojBcbrbbQjTdh/N8J5X48PlYSgEkFYgUhWiN08G/u3n7iH\netLkcjds9PTZ0hdBOlhPg0ZjwaN729NpvOMKDN3k3jsasXCpMRDGyGprYh8o\nYf9Ldc67d0ov5kDdZuDdqmYJtg+jz9bYV/AH+fYvwzMXGXGhSA0+hgL+WjXz\nh0podroz5vY2RMDIvyMg0B39TTkh7SFroI0LsQ2CPfLqwrIB6Uu5dTJlBY07\nqm+I4GUVyTDDyF5fHng4Y6M7Jwz0xu9GKU2aw25C1tMFGBy0/7wTr/c3BbQy\n4F8SEiA281H5iI29owMn4Yn5wp0d8XFlQk4yyU8YZjXCBtzUELCUDYHOV5Ue\n/7575O1LnuETo6PqyUH2DUc9Zw7MTEq0SLLzb/D8ifR/t6vIUkMgdR069cb4\nMxVh\r\n=7LGU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","scripts":{"docs":"npx jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build-ci":"cross-env NODE_ENV=production aofl build --debug","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build-ci && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"6.12.1","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"12.13.1","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.3","lit-html":"1.1.2","@aofl/cli":"^3.5.0-beta.13","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.5.0-beta.13_1582448518519_0.1469741490965384","host":"s3://npm-registry-packages"}},"3.5.0-beta.14":{"name":"@aofl/map-state-properties-mixin","version":"3.5.0-beta.14","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.5.0-beta.14","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"3882f9f6272c8b5d997b141c246853291acfbb48","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.5.0-beta.14.tgz","fileCount":7,"integrity":"sha512-mTOd6w524Z1wenqndvmIFXHMkWaU0egACYjk7+HzUBFPQhMEAawNH/aPnKo9r4yHct53rbwTxA1HVOsMH1UNvw==","signatures":[{"sig":"MEQCIFmRC2ufy5vDe5b/kwu3z3rI+IvtObLyMtBG/HKIl/05AiBqC9L/8mUyEYgfOR/momNpcuJ4ndk6C8n90s9zbJRoBA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16695,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeUk0gCRA9TVsSAnZWagAAVT8P/1p82UocK8Uok4n/f1mv\niecjvlwIuFsNsQqsYY2Tzs6EoEF38DIFDt2IuHffOIvPL7wdnzklNRiajF7L\nQ7NkG95STo870RsaAA2JQa9n188Ju5iaCGzsKGgPSQB+U3CH4u6HFlzrhkNg\nlk4L3SBcVLWmzASdIitdPGldTNc4g1vmdP3HSQPxDF8uzJ3HLFo7GELNiu27\nICGu3tnqFiCM/zmSVhR2n2hkTMpckOmD/QLvhGir8bdZvB/dcRBric9F9L/B\na/sepfpLdezU0wz4rj6DfXAh4mpYyQ1DXp/2wMBZLjDKtF9A+txlBDVQbFpw\n0UwhpmjSnHH61KdSqMVUW4mgsqJzRANsHeyG3gF0MqOexyDiWZjldVCwmrPu\n+GLjsSfP28BHF9k+444EPK7XcJyvf2zWdSl/F9r+ZpYG4iFkmlynx38th/Do\nXuCCNmNg5SdkJBZGzSyrBypJYpq43ykNz58JlISsyRNaLJCWEUa4nsbajs2L\nHsN3LImBJQNdJp2ndEXbzoFIYH3EUIhwNEhpCwFdnkPwq0EUQh2B8BBDFj90\nM+aprqXB1xpnBFvHe8B7vzB+3gq+Q7Tip3jzA/jBZ2lRNedwZlYnAatPLPDl\n47AuysG4H4VVLrCalMImJilu4BfTXDx/L9UPd4Z7pTfz64hGuIUaeCkjNPxn\nPNeh\r\n=UrS+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","scripts":{"docs":"npx jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build-ci":"cross-env NODE_ENV=production aofl build --debug","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build-ci && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"6.12.1","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"12.13.1","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.3","lit-html":"1.1.2","@aofl/cli":"^3.5.0-beta.14","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.5.0-beta.14_1582452000211_0.009524166631565079","host":"s3://npm-registry-packages"}},"3.5.0-beta.15":{"name":"@aofl/map-state-properties-mixin","version":"3.5.0-beta.15","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.5.0-beta.15","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"d200acdd8abd59cc6c2dfe4274f35d02795c35ea","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.5.0-beta.15.tgz","fileCount":7,"integrity":"sha512-OKpT4SY5HVAF2dicCkTgsf+MFrhwvHdY/9amomaDokwsWON1BIxUC6LikN80ft0wEqtBCWI2hI3IUiykTq9/Lw==","signatures":[{"sig":"MEUCIDbi5DXdH7lt6MymOuga6lkstDPhUOByBc0WRa82Q8SPAiEAiKNhFDxv0zP+7jhUXFuJWd4+qC6Fs12LIB5WhcPmY08=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16695,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeUmavCRA9TVsSAnZWagAAPu8P/RQJRJgbOT7w8PgfoUx9\n0naS4Uz1XEMiuxJTOeFM06S0RLTSAxagAD60fymLLwsMgmoBjp+gfT7j1qGR\npEdu+4gC1oJUboQNgNMvdTicIlKkilHjSt0L9bQXqNQeHwWeWj2v5wbM4M0M\nuWAWlFMiDaPynBfjgMMyl4Tj+rKSBXk19zgke4gGU3mstGgfyQqHEeOr8/cH\n+A9ynWC8n18j47tt0KkgvYeQfbbhWrBBIkQFJwu3Fx1pURUA05S+RUzfuPEW\nnFFvCLEKOPXg32ZUacLxYDVX0MPqlsq7jS62L4q7vtj2Wp63vKYC3J4jaxta\nKUYPmClNmxjrJYFUiW/6LheNbzFYb3n4189l2CCOpf85CXlOINn2EJ4y0s0l\nHdd0dRABi0a6rRRL1JEz0ph/EDfs5qRcvcEgVJiNg7QFLVd3NdiRcVbAgO9r\npsQ0ng6vWY2NurgYL04Ak4TUFBAelDE17Z9eZkggaVZ3a03kkk8KDU/IFdml\nqNPNe515ksrE24uNuDf+6b87+AXmZNdyj2lLR0vkZN01cHUpIJWmbNowJ2/I\n6N/w44uJyWs9PHTQQ/WurZxxqE9k/VxKkEGUdqd0NpATRzItr1pPmTWGtf8U\nN/qUomqJiqCvmP6Pusk4zWYiuOZ87YZhJBR4PafHSnzReWMr9Pdrg6t405Fa\nt8Ar\r\n=m6f5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","scripts":{"docs":"npx jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build-ci":"cross-env NODE_ENV=production aofl build --debug","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build-ci && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"6.12.1","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"12.13.1","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.3","lit-html":"1.1.2","@aofl/cli":"^3.5.0-beta.15","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.5.0-beta.15_1582458543443_0.5231199436399532","host":"s3://npm-registry-packages"}},"3.5.0-beta.16":{"name":"@aofl/map-state-properties-mixin","version":"3.5.0-beta.16","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.5.0-beta.16","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"0d7899259045ac304ccbb5fe81e3e499686f32d1","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.5.0-beta.16.tgz","fileCount":7,"integrity":"sha512-VYXyGqZREUt2WpipCfSk9cNjN6KDEQ1d30CCkJXDVNd0X4gBJ7W/97f20KnUTYs1YMa4Wy2ISeFT9Ax53q7XhA==","signatures":[{"sig":"MEUCIDkquyHSTpCM1TpojG2ZBkT1r1tlgfVJlgRKYEMPgPk4AiEAusiBCtCTGyoCGyNCHE56icfEiDFD5JLA5JSb/hB+6NE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16695,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeUmjiCRA9TVsSAnZWagAASOkP/iPXUTmQ5wcgisKP1gV2\n+jxAsa5hyIB9BelDgWIumUwHjoHxsq3jZE/Gr7N2QlQwFvVp2pk9FM3s6m/8\nkaT+DQ+v/rzsmpQKTDZSwczn7nDrBALUktr3FBgTd0n4qDXDeWNPlUfPoQXx\nd/flHrl5wQJtaww+SvLMfVaxCAL5cuvSTdM+WQXoxsJFB8cUD4dbqlTXw/NB\nY2gLMIu3Gq/8fOlpxRshebKaCroL8xdNirxO2pBSDODa7Tm4ybpYOCLO4Zbe\nQE8u+UfrCInPnBfA0b7f0J6lMayKXpd54yluxMhB6mslg0UjD/MfFvTZhy26\nfGBbyJRhBcp9y1AkQFxaddl0++QzMJNuB5vFnBeo3SuWpvw1KO96WWB7Ovyg\nUr+zXbDmNDHlzEA480osLeQASknbgZvoCxAzrLxz3juTBVJ+LZkO2vYVN8E1\nvpQy2HOZdkzqZO8bXnQLicKe2p3KUMMh9HXffBLcO7+TsN0YlCachxBkAuon\ns38Gu/hYlOJdlxvqUnw/vmW5eoCp2sz9slZ5hUKpqYM3vd7ZnvbOk2QpccIu\nMZjE64+mMh2xkVmVFZtoLXSSVpNpHoi5TPzSG6biXfUtJoQgRJXQFYSRyNmT\nAJ3lkpkrslLBi7PiW8xiuCiDTkLDBdN4SAIsDsYXVH3gQzW/zLGfAN2dyH/A\n5qKm\r\n=r8dw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","scripts":{"docs":"npx jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build-ci":"cross-env NODE_ENV=production aofl build --debug","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build-ci && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"6.12.1","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"12.13.1","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.3","lit-html":"1.1.2","@aofl/cli":"^3.5.0-beta.16","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.5.0-beta.16_1582459105782_0.2766737407519295","host":"s3://npm-registry-packages"}},"3.5.0-beta.17":{"name":"@aofl/map-state-properties-mixin","version":"3.5.0-beta.17","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.5.0-beta.17","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"82e422e70e942c2b11c9be65c38e1fface24ebef","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.5.0-beta.17.tgz","fileCount":7,"integrity":"sha512-BSRBAN+uymW2DXW3DvC2f4H9fqCOvg/6n/y5lJUEcu6XF3TytrZFHWZqSQgkgTI5/RglhU7EdOcN25bPs2nHAA==","signatures":[{"sig":"MEUCIQC1bdJgidBRHL2lqt5RkT7OOBSCGB4l9zlfkNSiOETS3gIgOQj/DaOMydT7Ely0KVXhd4vv9FkANtZX8KOkI/Sttdg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16695,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeUmyaCRA9TVsSAnZWagAATvIP/2pHbkeuuTHjbIcUB4WM\nL98gWe9CsSFH4iD1QSJ3kvWvLOVLhrYpmAKwtLJJBp4Nuy/l9TCsfQsMYfqn\nBDlX7n6POWkc3547634ZbKkzc6F1MCCPH8B2u3hp/uspUDsl466g8sJqPWbs\nGUymjvrTyrX9+zk7cSwk8nBZJaDG8t4ncmu0bH5i3q2rBnEXIvOpLDvLvPvT\nABQA5RR/JHja1XDe4+4yAiWkIpOm+ttjcj9/1c41R5oiU3vANx67lhWABOAb\nPNnz63bcFrfvPIAvSqqOZ+4xzfSzazhPWZbmaxov1Pi+KH1vOsm2yQ9SpADc\nk5h1yWBPXwMNMqtWBZjvezWloWRT3w+G04y3TwkR3RjX1pGK26zuzZPNbpb5\nlaEcw4KVYyyFgnjq6fXOTU0wIDCiDqwueWqiecurVY9cOI8N+itE85KZ3o+M\n8Q5ShzjhQMW5QzNNJ+sGn7iJaCzp2oCGzeG417vTwpH5DeZfdHCHgyTiNvbU\nh5NocQkNo7eySpCgh+GyyVOSWz1+VcYlkR3fFoDyhXc25d2ZvczDWlCqoJpk\n12z6kxKL8IrEkUPUzzy1dKkUwNkMDH1Ti5l/xGQjCoUbnGJrNicy8grzw0Y4\nHm0IbuVXt1F0nqC/jGg4mSN0mHsfrcPQGnCCvKdgfxs92gmiPlJsJVIitkCQ\nw4ZP\r\n=tcM2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","scripts":{"docs":"npx jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build-ci":"cross-env NODE_ENV=production aofl build --debug","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build-ci && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"6.12.1","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"12.13.1","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.3","lit-html":"1.1.2","@aofl/cli":"^3.5.0-beta.17","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.5.0-beta.17_1582460058027_0.25881585027565923","host":"s3://npm-registry-packages"}},"3.5.0-beta.18":{"name":"@aofl/map-state-properties-mixin","version":"3.5.0-beta.18","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.5.0-beta.18","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"c6186d4f8277ba1a3ab4e579200839337442ae7e","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.5.0-beta.18.tgz","fileCount":7,"integrity":"sha512-U0jHScY6SRbq76At5E+V9piPAx0Rv52SMSpzozY4c7zgjBDSdsaOFa9uUBwve7TgmuooIWqB6X+brHpqc4FCAg==","signatures":[{"sig":"MEYCIQC8lrzzfS/E4z2iiXoMD7bgECDTNOryHWmbfoEyCE9aYwIhAIxH4BeyJILaoLLlJOavUoX4IXNzL4WidKJDARQtu6pt","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16695,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeVJubCRA9TVsSAnZWagAAsAYQAJ9Z5qUg/r1l3j5h2cSG\n+YYLhyY+OwX4HmDC23vzql6slJx9FPP/ay1CI06pvw5MWaTj/zBilANcKDIc\npjAauLq91rSvYAFZ8bZ+/2UBLPa1PATWIsq4UJQl6GOPikF2JikdgXOmfnv7\n+6+CptCzbCbGoxjXfhr9W7smWTBw3Wsz0HSLcA8UVbCyNl9byK6997jIQdMf\nuAeYaQm38tvA0Tsg92Fz34nLjgYmFvkCOfLEqTYmbSMD1PcyhLUE7OQqy7hL\nhdDsQ8khvL2y9w0As2SHgw+tJHluzOT88ydLI1BPaYTs7BaiuHT0q9HxVJtL\nvu9nXo+ojDgnz19cYRcge6QANLE7uNIDik1x7JBnGRc9NPHv9zLhdbiDwysr\nf4rGJqmqD2x3YfxETam4azEYQvDfgm+leBXVzulW4FHcZSkI5xOvmSOFyElb\nV5dhUIv+3YG4F09zanZoPJ4CyTWa6DWZ5cr+Mz1WxPx+vIwInWmApJEyfd8Q\n1uNN61/X7MRmtgoO7HuBu8xIk2cTbiFFzlQmfTnLE1+wtC1ZC1oeuXMGJgp7\ne/6csJXzHLU5QBnkIOsVxNF2waoQh5/DdpxC0dNROPvc2CWBgAzPW2034OJO\n4VB/MmMA+9qxBE/04tjuEKVg6ndNxLZZaZDNqoRZDmCnJNHx8QzrUeaXuuMg\n9fYb\r\n=zRdJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","scripts":{"docs":"npx jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build-ci":"cross-env NODE_ENV=production aofl build --debug","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build-ci && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"6.12.1","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"12.13.1","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.3","lit-html":"1.1.2","@aofl/cli":"^3.5.0-beta.18","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.5.0-beta.18_1582603162813_0.6204494763340112","host":"s3://npm-registry-packages"}},"3.5.0-beta.19":{"name":"@aofl/map-state-properties-mixin","version":"3.5.0-beta.19","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.5.0-beta.19","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"b6963f927aa0c38c2bc52aff831c8d1638918a41","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.5.0-beta.19.tgz","fileCount":7,"integrity":"sha512-o35rIDHIAWKtnkwnmftnvYm8n6AvsNv7leTnGjksXX/F+Dv03dnPT0brCezA03AW3NDStYCpWDmheQ19N6E1lQ==","signatures":[{"sig":"MEUCICyXdE3qtu3vLZ9mJK9uqO3D+7nrwWHpALUp71pugi+BAiEAuseiMStapsTDSnLCXBoniRU3J8QMwmBFeECp+3PYwdc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16695,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeVbRLCRA9TVsSAnZWagAAUAQP/AnJUutF/WhT9wg1p/UG\nRC0amQma+ZMoftEBP3iEoIzUTiFmqW/DUXeFp6P/BS7BBkKO9DD7AX3d/1tF\nKeEyxXGhRIq7uHiEnUre/jLowrcSv2NvqL3/nysAA+KvRuk/dTgC9A2E4n48\nw0m/hbqt9LC6xeY8HMbNkrW/XOS08uy4QbyqkINlMl+bqBw+YzwDShEc+VG1\no0Fw6koa04pxryOphOHrynf21JWi8xLXfNN3/ORsiSD62wf3Lj6PxpAq/uOr\najcsYsJ1trjVkOGulA+aX/gu71BcUspJJtgavzXxeNLTI8uYYMyhPOUdeluF\ny4xRHnPhhrPpf2Uia/WvUwSK+DbkEUvci/06ioYdEiIM9hWOanTpBfGXtAPY\nUVdcIoFoeQzARtJF6HETjHBjjrI1p6uvBBz/k0SpJbSDDOF9nmLP8ywZvypv\nX2Oic+lm3M3i/aa2Elzt8NWxfiGOkqgWLGH3HSGw+CgbNksdrrwbNwauEm9e\n2A4KNkNQiWJhUbMhT69X6LWu48zMfoD5IuLimJ02HDU7ZfASX0D5xNy8oaR/\nYNISLFyN0GhagUre6qVNo0z9enJfaa71AjPiz1dC9awc7q/SHz7tE6GRIAuL\nSx8paQt1fCWfBzugrvX+W4NqaRHHdGYF8GWvquqwAAG66SGYsng+yozkYfzz\nlaV+\r\n=4H33\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","scripts":{"docs":"npx jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build-ci":"cross-env NODE_ENV=production aofl build --debug","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build-ci && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"6.12.1","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"12.13.1","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.3","lit-html":"1.1.2","@aofl/cli":"^3.5.0-beta.19","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.5.0-beta.19_1582675018471_0.927551858447879","host":"s3://npm-registry-packages"}},"3.5.0-beta.20":{"name":"@aofl/map-state-properties-mixin","version":"3.5.0-beta.20","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.5.0-beta.20","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"43c601a05053783c98c0c974dd9c1c8e2c5e2197","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.5.0-beta.20.tgz","fileCount":7,"integrity":"sha512-Ru/m8nsWiETg7M03p056ysQP1vJCbTJ12SbUu1nym5fkiDr7s2oW2t+gAlq3WRb4LCR+wmWQrGNO/TzQB4mDXA==","signatures":[{"sig":"MEQCIHYa8AfFeesmc7S0vpAmkzCVdIWhntC1nGzjpE0dFxFAAiAKCy7yMk6wlyAcBiLzGfrFUQXUye43TmnJxCcIyNu22A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16695,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeXZU2CRA9TVsSAnZWagAAzgAQAIRMEldgqgBa/xZ8vYpn\n0fKKoSco+dzX0E45zADsJQpmxs2bEdjYtMMhmn0mj513axuKQz6JkRiwd6f7\nnWoPKlL2CVHibMDD1mrqBBsVXQBPvk/oSqoVSv9lhvZxXETjAw4KEjw2xDYP\nqIDaadqUY+w44Hwo0gf3rYtQUJ+UAlLOhIywxCNTga/CJpnxwgXvs5q7prCD\nPUCg1Iy9ihbrSI0HU0ZqhECOTA6ZsWMOmH+wi0WZY4m0fZF3153gVPbouqzJ\nk6l8Tkl3+9qc349aaSqPwI4AdoWwumjiAKGDaTqlBgV/IzmDBmNQxGjljpfn\nU1mnp62Wl8Vzfomm/bJ1tvPzimfbY5iMZOoal4RM2TsXMQc9ZepX7zWZEal0\nECx4OHBn0QmlsgPjgG6e4JoARNVRO4S0ZBUps6VL0kazIYoY0K2jdb/GeGWv\nuONqUP5b5oR6R3lBZAv5/OSQerv0KXIy6RaJogwL55zowuWdPZda60dH+QRo\nCQ7qgJUQaYQL8eB6hcIwRwdgAxdyeidP4NomaVQ0mIa2ntk7QQUdSVgX41ON\nFUEl6y2448TZBL8hUEl8T7EsVgOz6X37Dieq3kMneBQbZVLINHOYpnhcl6u2\n9DZnKETkEfr/6lZZQ37Ak1XqGkowG3tGcadGcQoYtnaaQtFSxaw/LKOcZLyD\n2jTf\r\n=GYXG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","scripts":{"docs":"npx jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build-ci":"cross-env NODE_ENV=production aofl build --debug","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build-ci && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"6.12.1","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"12.13.1","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.3","lit-html":"1.1.2","@aofl/cli":"^3.5.0-beta.20","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.5.0-beta.20_1583191350093_0.5549830637360342","host":"s3://npm-registry-packages"}},"3.5.0-beta.21":{"name":"@aofl/map-state-properties-mixin","version":"3.5.0-beta.21","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.5.0-beta.21","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"cd74cb9416a7e57f786e281e317ceeb632076806","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.5.0-beta.21.tgz","fileCount":7,"integrity":"sha512-OBsCUel3feC+82ojmeGvCG2m5W+5/+7aoTLU38UDy1Jseg+UYEHfPA4ET3RC4pdHDPKDSRQ7iaJINZQOaiDCuQ==","signatures":[{"sig":"MEUCIQCz/QlFYucBHCwhfBSEdPGvW09v/8AmeJO8MEYmCsFdogIgeFYx4XGWLHEWTMCLm12cfxyjraeygZ+ULFCLYetxgD0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16695,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeXZY9CRA9TVsSAnZWagAACrAQAI7odh4yhQCIeTBD6bos\nDcJfDoW3aLYxs413zL8FYc0yaoBbOS2Cyvzlqd+S7p91vV61huTyRqNsrLU0\nMmMlT+f1Rls4FvwcmiOSByYh9fcNpOiqq8NRRF0N4eu5wylBKVMGwYMAS9Eh\nSuP3/FIkPbuI36AbgUCV9MKqt2ififzLWJ8TCy/VXqKu0aUyqFMTPHgK6tuF\ne0OnoGN6EG9JWbytmWLNKGTLUYwHI4a+icg29vtcM76l3Uhy/YcVO9OFHFyE\nh9Fdydh+zI1xTRN+PP+2bnQor2jUBqUIMG2WKUhvr4RCKl+z7TOaAqt2XVoD\nsgT+3DYeP9ZNW8yhTW0Ry1ACA0sG/tfJl/nbubZe6C1ziUUZpz+YTeSZoPC4\ntumE51UAFtBd+Y7RVFb5fwAf7Dy8AQx9CuxoHCyHnwOZ0FjSjHy7n3P2KvU7\nyiXya8rWucNN9ICh22qeqaaqwUVy9Xda1ZjielmiB29zrI3A89PY2evZ4bEJ\nZ4x0WtcDwMoB+p5YCHnSyRZl6sq92wu52KbP6yoVCv+M+vzaSz5wljIBY225\nK0WuFyWgqAmJtiQlnf3zKR32Uh0nUReUPy1LMElDjk39yAAkmBbJawjKQWKu\nkcUCnLTtsXZusi0/7N73vg0bFmYfTIFxxT5fdJ1tt8mDJtnX01pdJpoEDFXO\nkMeZ\r\n=ul0f\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","scripts":{"docs":"npx jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build-ci":"cross-env NODE_ENV=production aofl build --debug","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build-ci && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"6.12.1","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"12.13.1","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.3","lit-html":"1.1.2","@aofl/cli":"^3.5.0-beta.21","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.5.0-beta.21_1583191613450_0.18513078499739422","host":"s3://npm-registry-packages"}},"3.5.0-beta.22":{"name":"@aofl/map-state-properties-mixin","version":"3.5.0-beta.22","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.5.0-beta.22","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"6fff79575cb39bdaebf6ea080481b0cd344fe993","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.5.0-beta.22.tgz","fileCount":7,"integrity":"sha512-nicqNk9mFQroY4CSLB3IwZIDfMPxJ0fo7FRGwveb7dStto6AkoAyjp0xq5bAJG+4ZFp5QUkfLHDp91Z9ATzCbw==","signatures":[{"sig":"MEUCIAwiWEQIQEeyVghB1+f8mgfL1gFKg2SUYyW1KbK9/V3tAiEAmnGxYMAlmgmHT7If7eGL+U35xQlZtAT5Go2V4A7QKEA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16695,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeXZnPCRA9TVsSAnZWagAAcZYP/ixrEtXijDXogiSgE/ce\nIdB95PnDkroSBwSaR/vtYL/H6ceaxTIKxa8wAiJMp6W+3LcXkbrbgIbiXu5z\nhpBpVyxwG6XvOr2Xqlcdi5b9P5136Ykfvl1UzSHr9OlHLh74JW/2rb7XZqiv\n2u28/bQde53CBULqaomhko98DP6Mn1DaskwsxiCqZ4+6bf/7D2+GELKUHYUO\nn6Xt7+Cb36Wrof/mHkgs/exAqbebAN/UXntwivKFAughAZVUPSUegcdl6vpu\ngY+Q+MI2GQK/LgX4Xsb3UQJxw4tlnPg0FnOlucCMJX7FL+/HKHOc6ISAWDss\nAOAsTzPbTJnmKdipAn84v0CFZQVpukXJA2nTBaVxS4c04Bbr2G6A1Wzo/yBK\nGDydDYADXv/HRXimSzxWBhga0aoD4WCp1oVxJBQkf/Z4oykprMcDWnyMbJCV\nsLiXUKK8LbUE/cuESVexq+zzIIvCO60fw0rI71cunK/1uOxkn2qqZsH0WWCZ\nSdWdWWRu9CgP6PObOOq3v+0P7/gAmqxVJ0atOfHGoZp8I8SYkICWXoz/gIB8\nKzLvZYOCYAQ4XtsPn9ou81c0RYoPlfTltvJa6F3R0nN17FF6e1xZcFL5KmIC\niq7Jh5d4E/wy35wa10Fd4jTNlfrmOuXhNOr8SVM73aliAAnJSkCZaYQbLD/m\nDBZG\r\n=SySM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","scripts":{"docs":"npx jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build-ci":"cross-env NODE_ENV=production aofl build --debug","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build-ci && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"6.12.1","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"12.13.1","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.3","lit-html":"1.1.2","@aofl/cli":"^3.5.0-beta.22","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.5.0-beta.22_1583192527077_0.10146088269273212","host":"s3://npm-registry-packages"}},"3.5.0":{"name":"@aofl/map-state-properties-mixin","version":"3.5.0","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.5.0","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"1fa710675a7c12b5a9da38922e77c3d71472970d","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.5.0.tgz","fileCount":7,"integrity":"sha512-pS/v2nDJ/y1HjV9u4q9HzdYB86AdUG9xMs2ndvSdnOTWO/pp6j5PbyaKURjILIaJWP+Qavw+tp9V9a+fO2pOFA==","signatures":[{"sig":"MEUCIQDpWdodXaMzVTT8NYigS2iJFlUN1PR+HJY3nmGttAukXAIgQ5iaXdHmof8isF6F8gZHfFavuXTg+lHnxSyvrbmW/Y0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16679,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeXZ6tCRA9TVsSAnZWagAABfYQAJxy7S6ubgT8ebKu6cUR\nPZY1ywtEK0JRPH2y7LiBiWCHM3Zp8+x9TQaVm7u0+URP+fgAlAGneVBipbfA\nCqwXiroLVsXlPWYDQoaxbKt1D4k4FfjHMrnOaG15wMEv+uOz6M/QsqA6JL4Q\n1rvAfiWyLJNl7FnA8gGmO+lULLDFGzzVFZRuwD1+WwptkMhzf40WJSm1zCX9\nZtsBu80kj4lb0RUFmGVPtlJFawMrAL98X0KqzGHSL6Q/np3FwzHGVMLN3raW\n/lJniFRKa2lJXRVkvrAWneWjBHjI+OV5piusN0wRjpi3WQupidJpfwwczpfC\nk2+eMGvpXNHfqiwW+E8NlQU9/CB37ddgzWbmv4ONvjvmd8SUkvDT67Q5avyj\nBi66b+onxgU+OrxcRVMcG0e4HNVSO17aPUfrp0ueWp9ZEUUxRa5Lqul2Nrso\n6wiEEG0VbnrRnuvzz66RSKf12LC5CzXwM5Ywm3ENMbc1OBIpDG+re+8PaKnn\n/YRCoSupfWbVt4bcGCAm2g8tBtcXsJkPgV7DrYuGpqNbCg1urpSh6j5fv0oH\nakZOv1BSPNziXAmdPK5IIhWe/1SqQy1Co0Hg2HZX/rcGBCS2zlnIRLbJOrPd\nLrFebvaVGQrrGLQHo3QcMKks7YxyXG7xcQINTJpr0zBjdxD19Vy+smjyyJS+\nxLT1\r\n=gMCW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","browser":"dist/index.js","scripts":{"docs":"npx jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build-ci":"cross-env NODE_ENV=production aofl build --debug","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build-ci && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"6.12.1","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"12.13.1","_hasShrinkwrap":false,"devDependencies":{"jsdoc":"^3.6.3","lit-html":"1.1.2","@aofl/cli":"^3.5.0","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.5.0_1583193773210_0.44745927237670946","host":"s3://npm-registry-packages"}},"3.6.1":{"name":"@aofl/map-state-properties-mixin","version":"3.6.1","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.6.1","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"e8e8a2d1516a1c23117e780248d64c0c2dd00ce6","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.6.1.tgz","fileCount":7,"integrity":"sha512-qv6wLvRsHr9wKlnLjpgwGj1KBx/djEm1Aay0bl/0hqU0elztPNEAKSYevNzXMP40ZJkOAGJ34pA1Bwl56ut2dA==","signatures":[{"sig":"MEYCIQCbdftWwTRxtj7Grq8DADtLJWB+XGfQ6h/DdpqHYGu6fwIhAM8DZRbFaH3O7zZSbNSGs4iNMBhuZNpwFbfT+/ITS9NM","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16405,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeZ9+gCRA9TVsSAnZWagAAxMoP/3Sj8ZqZHiz0K/AQcjN2\nrxFAhPXCOlEu/GL/f73nu4LyEWstGxkaZP6W6hXQG0WY8ijhFINkR+5eMsQ5\neqYbxUZsIfs60GzlqLtdCiIR7wuuMt/4gHlk58y5PlSM+6Pep1TtW5YfnaOM\na4K1F/U7SnklSmS3OHTC2k4S/T5Ly+L0MbmU6dbNykvOIz3PkJtdvIzvwqeU\nbUDQNK7GHBjm6XnpQ4tdSXIKsPmC870rG5WwMdeAc1eOXePkGhLxbHRoUanm\nC+Asvi7EBiG2U0xEYxybRAl/rujIFWrrasSyaMBGCUbjZ0x/fTpKdY4CWabC\nTklkBKy5nBdrdKcot1lHnJctVaYawVsWOBSxj3k/MNRoAIsmafpft4mXlvRS\n93klHi2/9+Roo/rAXuGNFAMsqdguQikMDwrfML8MBgsqZm56DvJDXMMY9Qln\nIB+pDrW5exDedpNuAbWb9cddjgMdnRpu98Yn908hKwQG4HSTuK8F3++3mUnQ\nXEYbYKvgNV5Rq/FeSyauFYsbpY/3VV/TH8MerrASY4NnBnc0CKb862NAbpyb\nSJ2BWX0CQsdy0xa0GUl+oc5Ezrh+lmose15ncE7LUqdYxnoXd0eRAAa0GwiN\nMpkgmwEYhvI/VUwPSewwQoDtOqUBoKsPFVZGzIFUaQNkmMiFrurVWwHV6T+w\nqjBG\r\n=2jEU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","browser":"dist/index.js","scripts":{"docs":"npx jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build-ci":"cross-env NODE_ENV=production aofl build --debug","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build-ci && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"6.12.1","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"12.13.1","_hasShrinkwrap":false,"devDependencies":{"jsdoc":"^3.6.3","lit-html":"1.1.2","@aofl/cli":"^3.6.1","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.6.1_1583865760290_0.0693491074501924","host":"s3://npm-registry-packages"}},"3.8.0":{"name":"@aofl/map-state-properties-mixin","version":"3.8.0","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.8.0","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"32fcbd6915a5fe013c328ef2d370a3ecd64ec71f","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.8.0.tgz","fileCount":7,"integrity":"sha512-YGyVbDRLS5w1yyW1HBp9R1jeGH3QBqCwDkiAs53MXF/efaNIFHZJPEs/8tQjioOPJvz1nP4tVScnmWlz3x2mDw==","signatures":[{"sig":"MEQCIG97A4PEzmJSxWr/HGJoZqG1FExmxm8GFXrv1tsWwpIeAiA2WZGmBLmHFFHIk/fnlOXTv1nisvQO6gpml2AYqmfIWg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16405,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeuva1CRA9TVsSAnZWagAAOX0P/0D0mgybuYF3SsckFmSj\nOqnkuYz+lCWD0YDaschmP2txfJ5n6TMNH4pz80ucu3wWnL6dXgVm2G7u/agz\nw+TLpaYz+ReL2XurVKMYns0oUcE/aFJT/fPCjOLxq18+L2SxsSXrmvefAOHM\nG7g6+P47UgW6fizWPOYiC1KJteyCcjtU2hjr8alsSJN4PqhQW6dsHYP8V2My\nRp5YODzYJNpWCbM36KnmsZoVcOPuSauhz2g6AqT3Ke8LvsNNoukHKcuEurvb\n9D4jqiszOk//Zb/8NZyJ0rDOQJFV8o6FAP3IeII3PyMNUBcDaA+zp8CCPVTe\nT3FW10RQ6QSn184Fx266/NAsfDFqyHTG/iaM5lMAZFHCtLA3qCG4HJZrVamn\nlfXG9v6zPUxL7oFk55Z//m9JamRLbfTZDYLXufw7cFsoZhxh1SbMmJHzrOq4\npPZPigvO8e8FAcpuLzFE9e+rWjokmCvljbLl12lJg1UOPMMdLKB+PViogV2i\n72BGQLL8sYzE5DOiAXzwEP1PxeZPWL2GKnElu/ZjpPeXFUATu7k+BSMi1sRW\nkOzwdwG/mJumE+DqnBrvPGL7bali3Twmw+QgVKhreJdrtrJZAZUCdsg98/Dj\nxu+P6/sWy6uW24FYo6rgJRVEKHw2i+XxWRZf+7ripCa7mjlL2rTG/U6jdMQz\nf7MF\r\n=+iPC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","browser":"dist/index.js","scripts":{"docs":"npx jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build-ci":"cross-env NODE_ENV=production aofl build --debug","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build-ci && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"6.14.5","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"12.8.0","_hasShrinkwrap":false,"devDependencies":{"jsdoc":"^3.6.3","lit-html":"1.1.2","@aofl/cli":"^3.8.0","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.8.0_1589311156361_0.06574721223692448","host":"s3://npm-registry-packages"}},"3.9.0-alpha.0":{"name":"@aofl/map-state-properties-mixin","version":"3.9.0-alpha.0","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.9.0-alpha.0","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"b8ca50e7ae4bde85d842aae356a8be05b0989819","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.9.0-alpha.0.tgz","fileCount":7,"integrity":"sha512-EseLtQQLtsTKt+r476qB4qKEXBhj+ygZryab9RpFwL7VfQTmALMkI1T7zlSMo7SEak8Wzc9zGmRZjk3WrmoO5Q==","signatures":[{"sig":"MEYCIQCMfJM/fFGYcHNs3+dN5d5TvDqepShjyRIeMZ1OzyV3PwIhAKga4DsJ/DYQP2STZGm8828jajFtU3TwOk7wquNTKCpS","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16421,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeuvkkCRA9TVsSAnZWagAA6rUP/3RBejcyY2uChFKVwxVp\nrQet9H1YVXGHAvDkKAxl6tlbaPLezevyulXonnrT1su8tWuddpDZ4xBl+kky\nD6UH2doOj5Kwd6BW0OCFDPyuNmAdXlgpoavIpy8FnY/1sZvFkYmcumZM7vgw\npbaSHCllr6I92ncHoIEDyt3Avl+AjxYhTH9nW2RY/EEYyq9lK7+JuKmArzaq\nm6O6puiaIG79DX+3y8JZxuAAurQxPVZ6NgcfJ4OB0SmdlQltN/Ix1aQ7dsSH\no/bnQ9TumiWp4FEz/0aeVFcNuDRlquZoAHTOE6R5PJDTWeiZPvnoAaIvKLNy\nxXdUqtHOKFPQBKCPOVem9odefDwYt8NHVydfuN3QJXG82b80ClBBKMoNaf4+\nIqI9Om+nD/13/lC6phGNiYgrqG0DM1rrnanA0IgaRmUi7JZg5kj2WD35n37R\nMcDJeEfUNMSfnMC2cf1kFwdOA56yQKBo+WIkqDVju0384J7mKej5NMOTzIUP\nTuBmnwCDj9TXNG4rplLKFuO6Nn2gXeCO8vZh3XG1J1DepBclej38osqqwuu/\nEkZVzCg7vi6Ddf3FrQK3EJ6fuqBsF6c4lhN4WNrz7TA5A0XBn1lNuVcLz11q\nPn2qcUS2Y1yY40GKEhIrjVzMtYqzD+Xpj/5CSx/CivVVFri1FHJjLAdFz2fH\n3O/r\r\n=S6Mn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","scripts":{"docs":"npx jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build-ci":"cross-env NODE_ENV=production aofl build --debug","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build-ci && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"6.14.5","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"12.8.0","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.3","lit-html":"1.1.2","@aofl/cli":"^3.9.0-alpha.0","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.9.0-alpha.0_1589311779720_0.8502953725012043","host":"s3://npm-registry-packages"}},"3.8.1":{"name":"@aofl/map-state-properties-mixin","version":"3.8.1","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.8.1","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"48dd474368cf6abfadb0ec3a645b0525f7d144a6","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.8.1.tgz","fileCount":7,"integrity":"sha512-CGyRY04Zbn7jb6uskVDrUBEaiHAthRvmVUqXzqDGyuN6BkOdh+L3jhyFlbtMvjPhvMCFMzj5ttM99iXCwg4jIg==","signatures":[{"sig":"MEQCIDXmzqPTSdWf6oVDlbXMZfWRlnCaItQuIN+7HvbCVM80AiBD+GUamRtGxiNKxJFYMBLnYHs+KZM23Qf8j6UQh1NO2Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16405,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeuvutCRA9TVsSAnZWagAAtnQP/3VlJINaiUDEhNXRfbHm\nDGAm/+HGTjUtuMvCUtbeISQ7792CakoTPP1hb96rO6lQ710X/DVEwQMhBcsT\nHF6yqjVqoRgo66VXpTTJK8wu/lKmettNtEQ7ixd8IHjMT3KhT6JzzJpNe8yl\nflbhw4jybGwSmVVLZop7zK0aD8KbM6XgB8ZTNdBFzpq8qai6Pw6DlADbodnp\nIEud1uHL8cp7DvcK+2d8n3XO+OzM10f6FHcUlZrmCqTgBhqxw5N/wG+mbmDF\nA5BmjvmJRxUrW0kCjs8qbzePxIs9Ah1xIax3scAaIn0xEnogKqJJUer992jT\n3n27BzDHFy8nFW7Z1YOoM6MVaLta0t2ntLXltS6HYKI+bFqniihdUh6ReUYE\nLoQjiIT2ygNvVSaTgizbViArn6DT9rcaabZVApIuI4rR2//n7vKhcYpXSCBV\npbzA0AbzSuVxk25t3Whj//K0u55I9HUELwJWWUav3H3sjTfZLYRiek6f/7Fe\n+Azqmm3wm/8FNziD/+cpp1qliYS+nW2zjbkdp96lLETgyHbtkeqVnr18Z+fb\nvAad+6w0kwIOdBJW8YIkoqO4sXHs78bI10qhG9o0sDeO7EZWf9cDx6QrubFO\nIzriJTZrCS9GC/RwIoTi4uvEdqCq5yJhLkmO5KHeuo4dzKU1PR1SvN1Xyxwi\ntF/f\r\n=x7vL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","browser":"dist/index.js","scripts":{"docs":"npx jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build-ci":"cross-env NODE_ENV=production aofl build --debug","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build-ci && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"6.14.5","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"12.8.0","_hasShrinkwrap":false,"devDependencies":{"jsdoc":"^3.6.3","lit-html":"1.1.2","@aofl/cli":"^3.8.1","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.8.1_1589312429189_0.27138110945098903","host":"s3://npm-registry-packages"}},"3.9.0":{"name":"@aofl/map-state-properties-mixin","version":"3.9.0","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.9.0","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"e32260cced55cef3667d133ed95b460db96f4c98","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.9.0.tgz","fileCount":7,"integrity":"sha512-s8wVQdCODMwM8bY2hMHT90qMjuBAxAek7JnDyRV2zvIhEqrQQwdr4IMrMnsURQqTJO8AOKBN2XpspRnWqmJ8eA==","signatures":[{"sig":"MEUCIDugX8/qnCpBheOpG7i6eo4WJ//imFbc/BdPplF1W03BAiEAiuP92LwEvATHg6fJioxSHklDHyb75LhOt4d2ZtQKDE0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16405,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJevtgfCRA9TVsSAnZWagAA+ZMP/RShGq9T7ycR6/pjR4Fi\nmJtXxDqLz8tqsZ4gDMszr1Rkt6EDYeKUo9lfBeRTk9ec0SL+kO5s5DMCX/59\n0v00IaMx6YDFhWtEAtUWLg6HTcBdSbgbZuwvlNcGTtcC6WOiLYMiMyx4Z0tU\n8+FH5ZFij/7pLKqSW1NrRlGaV/nLCclZeM7HA8PDDuIpsIGLylmltZlDgr/e\nnDR3p4Wb9J440X5utG8p5r8xeSqyVMR5BF4AZmUrk+b5cPJnzX1aga1Lmlh8\nkAthrnRbEcE+Enm0HrZxAQDe0WYqtTfS92KOa8e1FtJdTRNmiONkQ+UeLQkz\n3G9SeXv0s1lJJAuOzogIBhamyq9HqssdB8YgFccp4Kse4CoXuBeRbWz0Y6yO\n+RKa7FD9a+l4krba1b17+IbTKHdjxlbG7juelY1LEnm/n6TIrm0YzII3wh8e\nkxjEBxnOKZjmHtBgTszDT87ZaxwvRm9fYCjY2z0TT37yhd/1jWv4IyVP/ilv\nhHtOfI3MxQjrAZuCcvpwEoVK02R++BLr9WMVlKqEw0QJc/wMLf4yWypLNNsw\nLrMkS2z9eYZEvy4q2R4IJoaetTeQlE2AL13NgdiCLwfCNHVjiCzGwHXtzLdh\nepMoXeTx4tWWRXU739P1tJAdYwUBi18ioHMRcIXCD+xwHGOWYNGpnIbBe1Ov\nyknR\r\n=LhL5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","browser":"dist/index.js","scripts":{"docs":"npx jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build-ci":"cross-env NODE_ENV=production aofl build --debug","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build-ci && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"6.14.5","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"12.8.0","_hasShrinkwrap":false,"devDependencies":{"jsdoc":"^3.6.3","lit-html":"1.1.2","@aofl/cli":"^3.9.0","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.9.0_1589565470983_0.32204209143356155","host":"s3://npm-registry-packages"}},"3.10.0":{"name":"@aofl/map-state-properties-mixin","version":"3.10.0","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.10.0","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"145b1a94d2cc21cea6714baab89f2ad0bf48fef0","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.10.0.tgz","fileCount":7,"integrity":"sha512-O2Ihy7NO7XYy/ELAqqBVQGwvW956TbWm4B3ORaHhu/FgzRFbHNSPmwyfDgeUb+U1eHLZS/bJvp1+A3kzd0SamQ==","signatures":[{"sig":"MEUCIEM6VHIyJCz/DPROrTZdvxoRkrhRgKFm8nFIjz+8KKEKAiEAmh5n1ISSbCbXn1bT7wLNzw2oUiKn7PNKVNKxien657E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16407,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJevwZkCRA9TVsSAnZWagAASMwQAIHN/UtZX3rBMXcj7axK\nSXe6kxovcLifD4NzEqb7McMLOXpKofROR/K29jJrB22+Vfe38FTmBLazEm0m\nnRV4pQzxYQhfywt7B/NkdyJ3GxjvPoBfUEtboKt7KLh/+IRYMSG4zMt17eG8\nZqgE7La8hKUjsyS/kXQurOmjvg1zuFBuEHzfgZrPA59jeu5WVIvT0Fjwstun\nk+vNxEOm5Qg7EfHKRkAE0PHhYwiclyeE357OvGTj/GAdw0UghquLzPYscx4H\nAOFRiVfijSdJGz9RgcjZ1rSwZ6zcxS5sk6F2CeFwu6OobNnWkGZCaByM/n0b\n36JIVZMMSwMsZMGvcHsrwL+waGOLntA2mE5c+HSISjSk7XfevRDxklgWyiNm\n7vNcKnxcdlc1SKTE/mlffEwvQFqNNny7jcfH0kXjfM6XeUVtbdYeRIQtb7hY\nYqz1LPKu/MqzDyGMrXEFqWixtdUHAXEost+znRSZDJRKFawwPGBthpgBsU1C\negBlD0Yx2X7XRTnEkigPKteWSCWWHRhn4RxKjVIsP1zq1JvIjHPyjVvs9S2G\nJj1phQV0AE2ZIck+yzS8yLDnEumRIEdkUpoNHa6AK6kOhV/Q1NS8IJfe+XmO\nZYrq0wKT0UOpxYrV5b05AO7sSQWMfS0uzpy8PpPYp6LpzWz1XbFTiqVzWLzN\nSz1M\r\n=Phk0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","browser":"dist/index.js","scripts":{"docs":"npx jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build-ci":"cross-env NODE_ENV=production aofl build --debug","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build-ci && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"6.14.5","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"12.8.0","_hasShrinkwrap":false,"devDependencies":{"jsdoc":"^3.6.3","lit-html":"1.1.2","@aofl/cli":"^3.10.0","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.10.0_1589577315516_0.37946638729723325","host":"s3://npm-registry-packages"}},"3.12.0":{"name":"@aofl/map-state-properties-mixin","version":"3.12.0","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.12.0","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"489be792efc0f6d0b873dabf3b52dba226c4e3bd","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.12.0.tgz","fileCount":7,"integrity":"sha512-Y92dUWff+6X1GyHVjBlbmWUyGJMVkd98UuZvHL09moA1SlGVEKvzT827dK7/mgef6YpMLff/9XeQpHg9kZnU2A==","signatures":[{"sig":"MEUCIQDcUc59gVALzz9V2iqSav5gDkj4RVeryAJWZpOjgqVBXAIgCiW3EefrxVrvZoNO2l8EtWk3l8Ewn650AKksIvLj6ds=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16407,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgB3LaCRA9TVsSAnZWagAAbx4P/1EMfyuH15iEyEt8Hw/c\nE6qDd1TY1+TjW4TcfZeW18gPC8JIEIKEmnMTF6+YPiIhZZ210eoV1XQUK7gc\noSEP7qgKdiaalM4KlVrna97D4Es51WvWprj67210mPZFFQ29NVcdpCtEBfWt\nwUwUQn8hsqvpllAhRF9XfwkjczngIZKkn1u4tal3EIoOkEOKGb/+q7qxLSVl\nRZEjYtieXxqkL1ojATM+jFfOmK4utCwyalJRnfeyPk33A+hV3Y5b5HK6Qruz\n4A9YWnfjm6ZzBhhyx1Hx2qUhWVq6to/JJvqHO5FwG7N4ZoGO21t3uOxvppmq\nP6QjtCIGCexrVFVTyTW/Ffzo1lZAZBHn1zx8vaA8pj9mTlK3Gr+hFkdNIl7t\n2dpiu4IO2AxZce8R/upSoRrZR9gVAW+/67rJdnLpoORJnzmkbgVGvJMRr14C\nJGYxlnpV8hv3p296tLMmb0LhGGFo4izpLIFVCncCaxMZhXCRW6shH1p58M9s\nuk4VGASnU6+RQ++GJswS7yFsZmifJoz8DN/3OYc23JaREa6XBuDj3dV2xfme\nFtrN6q9gGzXmmrAy3uCK7TkSt2zTKViA8MSr5n4uFe0WT7Pb8R6DnS6lfACT\n+1+UHlgH8pO8vSg1Df+IHYuZHLhoOIRMb3WSAx0xpFCMR5i6WLQDqbY7Mani\nmE28\r\n=G8up\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","browser":"dist/index.js","scripts":{"docs":"npx jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build-ci":"cross-env NODE_ENV=production aofl build --debug","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build-ci && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"6.14.4","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"devDependencies":{"jsdoc":"^3.6.3","lit-html":"1.1.2","@aofl/cli":"^3.12.0","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.12.0_1611100890327_0.3758373295351598","host":"s3://npm-registry-packages"}},"3.12.1":{"name":"@aofl/map-state-properties-mixin","version":"3.12.1","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.12.1","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"bff7dc17432f0a4eaad2b15d4dc2af6cbdd22c4c","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.12.1.tgz","fileCount":7,"integrity":"sha512-UysH6eEqpOwb8MxMMi47GKiOf+7Vl1vKfWee7qAmSuc/phjCDwU52iSYqMIZKQP3wFvlkxMi2qCjBXqNqfgtBw==","signatures":[{"sig":"MEYCIQCrPYRzAQV8N0rdIZU/07CuSwyrZ5eX2zyFa01yta3MPAIhAPnzMJCzvhTZXtk6W8p0W4OP9RXTYwwzct9TVUK/hqtl","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16407,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgB3VoCRA9TVsSAnZWagAAb9AQAI3YaC0l0B/2k981r2ec\nzSLBWizXJJuRT5to474lVzj/hlohi/BXiOpI6qvLBPZwtqQSP8XQW8lPoljs\n5hjwbW7dmbs5ZlXqE54uUdk6N278nmUL/9k0OV73LIGKoGrp2yMx7anoiado\n8LpwLD6JI8n1n6t/AiDDMVFz6I34O8gKV6b1Sn70eTeGtYPUGSkxsOdCwO1W\n/z9pJmW3HEOjJxOQjrJ5NDMZnyfH6nnDOAmWBQrIlSYqgEJHNAAv+5qSB8cM\nBHTfqY6Ni9KxxYcEn0GZcNY5PhTbxilZ6g57c5Wh5Mo8YW1Obhv18zDUnCTY\nP2IF2H8QbI510gg/3uX/AfhGZv9bcMhOGYkTLtN4z4fqJ3p7ouoD0U9h8NEY\nvu6uWPixjrHp2FxqELxRXkAvmEqrrNDmgGwdsgPwKimYYBWKdB7mTydqe5L7\nl0aYQQT81ZdfKVYL96yBik4waQeGAeTKtBIMmDalY1+BN8UEIPMYswh/voIm\ntd2TQ6ReB2er/KRdkNXdI0k/uqyCrpVPbsUHmj/wny1OnsHRvATiIllRVC28\nUYmwvoSzck551YBocEpmirRNEGzY3WNuq2jBMQx9FF7uEFoL7WRpreI0B6Fe\nJrQSiM+KeyQnaIXVGU3dcl5D5M/RZXmDweaPfeWT4NZ8oWaNgRSrPmdTG0Of\noPul\r\n=Jm5I\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","browser":"dist/index.js","scripts":{"docs":"npx jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build-ci":"cross-env NODE_ENV=production aofl build --debug","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build-ci && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"6.14.4","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"devDependencies":{"jsdoc":"^3.6.3","lit-html":"1.1.2","@aofl/cli":"^3.12.1","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.12.1_1611101544534_0.12965205034590488","host":"s3://npm-registry-packages"}},"4.0.0-alpha.9":{"name":"@aofl/map-state-properties-mixin","version":"4.0.0-alpha.9","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@4.0.0-alpha.9","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"21e9c439069bdd2a95bbc2a0d7f0bde4b04ff1fe","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-4.0.0-alpha.9.tgz","fileCount":7,"integrity":"sha512-lM6AD9j7EAll1Dt4FDHF3caY2OJm0p1d//cxbpDTc906aJAQSUWd5MyQp3E86K3StFZ8bOso0rFv+ixV1dhw3w==","signatures":[{"sig":"MEUCIFFhHuYS6jpoRq9NY9QQ/GR9xzQ9CbM+ZaDMKFsFJOzsAiEA3bJRNAyeI9FbAXAwKN9IJUQeVzCu79VTS/njr41Fx2g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14889,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgGgDKCRA9TVsSAnZWagAAk3YQAKLPlFyKVzIMzSel2A8m\nZm0KWcbQBnkhTqNGUVIo75eUA7bWXQpETMIlwQxxxUbo7w+IlA+FMOSn9dFN\ndF+x2t81u92h2M6u6fGzUlRX1axY0KD8fabt2C45v8kJB7pks4lbXMTJ0mb5\nD5YOrlESFVIrfUUTENMLhjqfRDi58pQozSVtdRsLBvKw7SKHFtzILl8AjluQ\nPd+wjDIskssirqvNYyFwgUtULmABzzGMdN6g3M15Xof63KsM1HKkv4J4aNBN\nDSU5As9vKkq0aJSb2dQk2RP6u1qi/lQ5pIxdR2t2T34CIzSA8kBFl6T25aRz\npHhguAd60Qk/+wdIscT7MGMB7NqbyND7ExBOyvchMzOmU6CNXsOkYe+18ysI\n3pIQ9M/AlMTwIxRdacntovIqj+IzvCY02H/3jblz4J5CjZDuHTcEPOWvwuGv\nvYTeU4oMW1ujpAMFJxbF4K8LHP/fuCqO723P+3u7tEEf/+XPcjky0xNkjy08\npgUAFgJXsl5zf4h+Q5GiLRB65hQgx8g40SlrTI5Vl7mYYAJTo1U83Fqi4J0m\nfcFuqwdWbiFD/FVBOuvQONR0P43Hy7XaaeJ+cCT8DK6BSVRG9uXtBD5iR/l5\nGqhQ7fVrYgiR7A7CIrSbQie7qhIR4jX//Xdh6GGvZaYjBRno+oSil5/t8Plp\niD2T\r\n=Pk7k\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","scripts":{"docs":"npx jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx @aofl/cli build","build-ci":"cross-env NODE_ENV=production aofl build --debug","build:dev":"cross-env NODE_ENV=development npx @aofl/cli build","prepublishOnly":"npm run build-ci && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"7.5.2","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"14.15.4","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.6","@aofl/cli":"^4.0.0-alpha.9","cross-env":"^7.0.3","tsd-jsdoc":"^2.5.0"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_4.0.0-alpha.9_1612316873752_0.8723765475691989","host":"s3://npm-registry-packages"}},"4.0.0-alpha.10":{"name":"@aofl/map-state-properties-mixin","version":"4.0.0-alpha.10","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@4.0.0-alpha.10","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"1fbb541b1460900f607c951788e415c1bd2990fe","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-4.0.0-alpha.10.tgz","fileCount":7,"integrity":"sha512-vLtn4wj5p2ZTmMLH9t0s2W6IhLSuzaoOnZvyxXhewxTVpEebfqRyRrQilUojk5quLQX3G17Tst5lEiygD03GTg==","signatures":[{"sig":"MEQCIGFviryjPVKZCpmQ1ukewAG7fD4t7DCDyWQuy9VYy5+RAiBCD7T11ZpW0CZrQAetj/k2NyV73yoJhaMVEVUaYGUlYA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14824,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgGgKvCRA9TVsSAnZWagAAywQP/A32SpBtf8VQuTWEIPqj\njMkHxPhauzxsjCRN1DVLxWCSTZAjrmvqZH+KOZxeN2YKG8jt9PxHmL5Tsz6d\nDybHVW75e9X6StRE6pJI46dSdiTo6UemlMDu5bPPG+VapCXA/ZvFjHRsYFvZ\npPYgXrqYUYDYnyQvPEfXTKyM/WxehvLnDT61sqdtsZFTjJKmwV1cd0yS7lo4\nLS6btE5PD7yfotAuyzWH020bFtn1aLBDJvFsT9UwYfyUNvkBYWDy6Htt+yIi\n6bYAHzFqV6PkeDvWmWY15NV0xTYW67I/kmpR1dpnXMDpNyptyd66wYI9YX3D\nVcvKrfebthvd6fVh8gUw0gbZ/gK8NZ2M1H5NDwJjRDVisLuTzR9ZijHAKooA\n6KMR38WS0co1IfHkKn+B3WR1G40cNDdi8rpi8sRJSEmRwOvH9BwQ4K7wiXVl\n1ryu5jW9jCYvMFeIl2JuutKwWQ26VIQ2LwwLLYBnOOUeHn+Ro8nMGchNfjZ/\ngF1vIwyRt5ktmgZmUMNXBaINP6XPPIH+uelxGe09uQKfsooHEJxzgqwzfkxU\nRF0+XL+dDHIW5WHJWlECTdllSP3STXd7Zf6ddgcHhJPMlestDFWxOrEQpbAF\npHBxtqdKcv17UzpvEGU04cq+ymK33xtaj8lUmmnRSEcrI8eytARcF6LklFBS\n2fDs\r\n=6HTl\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","scripts":{"docs":"npx jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx @aofl/cli build","build-ci":"cross-env NODE_ENV=production aofl build --debug","build:dev":"cross-env NODE_ENV=development npx @aofl/cli build","prepublishOnly":"npm run build-ci && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"7.5.2","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"14.15.4","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.6","@aofl/cli":"^4.0.0-alpha.10","cross-env":"^7.0.3","tsd-jsdoc":"^2.5.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_4.0.0-alpha.10_1612317359536_0.07718340113688682","host":"s3://npm-registry-packages"}},"4.0.0-alpha.11":{"name":"@aofl/map-state-properties-mixin","version":"4.0.0-alpha.11","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@4.0.0-alpha.11","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"3d4d6ce37c7f169361467f83d7477f7c08ab2395","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-4.0.0-alpha.11.tgz","fileCount":7,"integrity":"sha512-tKBD0uhRiu8OSsIfygAQlNOE21NLks+ILumDHNaUYd2p2S6EzX71XwESZOpmodtC9tYferlogzZLnOrI/ddphw==","signatures":[{"sig":"MEUCIGvXJHXY/19if76hUWpYvBK8P01+MKzC3FOCbAldoJcyAiEAgdFfXBqbxp6pRCNfPTrTetN/MmmvT5lz2d+8bB7JoIQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14824,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgGglGCRA9TVsSAnZWagAAxmEP/0ezGuRyizws96/cW0Gv\neNnIEKd5iGkSWb6Nx0YgYo8dyI4BwqD17nFwCqOALSX6QqJpWN8Vu4y0Pdua\nyyIsurjhUC1SZRWJelPIj25It1MfyNH7ovXD7v3bYLrfQazGVs/GqEZYENq/\nQuJ2C6780zmZ5XGanEGFnCYtgGy069trzEAw4Y/gYAspwFbTaXYcvGgr5zgS\nQR54lfnykgtJZ0L7rnH7Hp2Xj0xKc/0bsMbmyzk/jDUxQp03LSDeb7zryn6u\nMz4rpW9uHbLoK8rIqObNevVTPdubYJvXlMTRQto81cv65lhHcSHkJe/LzS86\n8MpmvbHobQPY+44KULJUxQHukzTO0vel70ooV0m9XRA3FWDcrUFlzTVWH8mx\nB0NK6jNUjQ2HU0TtWr+/j+CfGwX6y7meVGPGgD0xvU813E4UZAYqqi++zW2L\nUdHDL3MIRya7xFTr5Zd848tnmzRnxTNX2ecDIF9LEJDS+lWJA5f4KB5vP5i7\nfp4s9rQyZQerjznkDCpxU+KLeZGCQ28Y+CLbZiiL2IhyEVUu5b6xWKmbAaNe\nyB9PgrohGN+iJT/JwPcpfXHVmNNBasTN+ny3WgrncnQHwtF2Ty8yr4GTAYP/\nHHMenVhNsox6iVgv2lU6E+YwfyANB4ki+T5nb/g+NUizwUblQ3/ecHG/QRqi\nrH8W\r\n=7LCr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","scripts":{"docs":"npx jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx @aofl/cli build","build-ci":"cross-env NODE_ENV=production aofl build --debug","build:dev":"cross-env NODE_ENV=development npx @aofl/cli build","prepublishOnly":"npm run build-ci && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"7.5.2","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"14.15.4","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.6","@aofl/cli":"^4.0.0-alpha.11","cross-env":"^7.0.3","tsd-jsdoc":"^2.5.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_4.0.0-alpha.11_1612319046142_0.6072413175241711","host":"s3://npm-registry-packages"}},"3.13.0":{"name":"@aofl/map-state-properties-mixin","version":"3.13.0","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.13.0","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"e758e41cbb40f2fdd9a3a2b803a6c8956b34d277","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.13.0.tgz","fileCount":7,"integrity":"sha512-vRkICcdCywifEbYNbqlJEF9P/9wVN2r2CT9Ph5CAr3Pw4V/4Hycj1YeAc4jillgBen0R7WSjKuARRr+i8btoGQ==","signatures":[{"sig":"MEQCIGVYIlIRgttbiw4NV59rJ8Lqq9dvBG55bKcNVFfZ4KUTAiBMoSbv2ltY/4W6N4NkUXCZG/He+mx2f2q6mwcemfmyOw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16407,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgODYaCRA9TVsSAnZWagAADlcP/iRoe8upn5m+wKNN9TEJ\njLC9cUyJPWqOywRG4vHtNZhCHRAOO0ZQLQcQT+09sGYKN3PirU6YKfvTLeys\nRqB54XbkH3RvPFVDsgZvH5o0ssV4RKNtAX6rrE8NeAx0MTsuK+tiaO5F8VCA\nt7h06L48B9KhqTqza7y0d5gYG1eqoBmqGD7xzsRuHRI8aCoJc/vnahI4N/9W\nu/4oEO4CBs7c1eL8q0f5D4JXHYZhKNTRoYO3A+ueaCK1XuBOj3vF4TmbpD5V\nCzPRbndbx4TJIctjVBloC1wEIIUQ3hIUisstv1if840WRDRurDC51qtTWZNv\nsDiybvItQeaipqP9eF1Xl++nEWD642xtHKT6StAet6miIhAGxFTwehM0Lukf\n16qU1n9zecAKeoK9dg/CZAFIMC36tcd4o6LL40DLEPDICasEVgFqJXLdKyyU\n6pUyu4PzsoTl/bB1fNtO37Oxfkszon1VGMRXYqzeJdyr0UuevBIfGjddcBFw\nMyBS3KDspKGUckM6sdwl12fLHSQZ9vGkt+P55MHVHD9+IuL1nNw3li6/KVlf\nOWb8044rOdoOkHz/O4pdA95hULwuqsQk8C4dwSsuX0p/27+HCYQB3HVkcPtd\n/EP5V6Es52uzZNsQwt5jtL/+YUwFkYZUQeXDBMyKtYIzdUUQ1PP30uu4JGsZ\nh7Hg\r\n=huQH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","browser":"dist/index.js","scripts":{"docs":"npx jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build-ci":"cross-env NODE_ENV=production aofl build --debug","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build-ci && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"6.14.11","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"12.20.1","_hasShrinkwrap":false,"devDependencies":{"jsdoc":"^3.6.3","lit-html":"1.1.2","@aofl/cli":"^3.13.0","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.13.0_1614296602076_0.7495446199340323","host":"s3://npm-registry-packages"}},"3.13.1":{"name":"@aofl/map-state-properties-mixin","version":"3.13.1","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.13.1","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"056e1c40cf48f7fb656cc6043ae06cfdcc0f1085","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.13.1.tgz","fileCount":7,"integrity":"sha512-GDC4OkPrYLIT7piEnj/ChhnA8/O4KJuTOk6yoOto/Dbc78DTw2yIf8kT+0iCddOQ4lYR4oIBfyeqa5hzZdQVEQ==","signatures":[{"sig":"MEUCICVAADm6pLQfOZ7KKRMH8whG4BgiWXqyYyKAzTRMY4rZAiEAz7vwT9hUruX0ESS9voKEK1n31Xmzksrdf5PvvCtLa/s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16407,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh11qjCRA9TVsSAnZWagAAxwAP/02cxVbxvDdgmWbR0ZwF\nyhTJLwE2hVjTpxSPcYIrqIqI5dA8CvslGgqFYi5xeFXSusBgJODBYlXP2GfR\nxyanj+Vp5ec4XvTt2H7Yqhk9Sa0D6OXNXHzi0flXeDIIqVK28OAvdn+ldISk\nPZ0w+7nnczxga6ok+qrLm+/c/NBsBX0KcDBOg5VG5UtQN/WpBrC0yQ5VPl9B\nKNw+8hAsLW3LuMiA43uWS1lWk70QpX8wYrOZQ4ogjULUEUR/dj8hA5QgN/EN\no3ShusCD0O3B8HumY91nj6X9SGs1C9SoZ8Ajoht36XrrrC/x7ojBqEOFf8nR\nej4WGeALdeBEbueuZOqjOpm2b5yHEt31lBFs2HjpUovCHTjBDTnwY1dQW7cX\nDJzhZsgsWzk9gj0yC07V7zuDx3gVsuC9fMBZ+LQWjHFVpROAXVsVxUtMpsFi\new1eZhGHj+DjyaNREUY6NABJ0jPzAKMIhSoZJfEMY1p7gOeNJAXGl+4XguTf\nHAhi7AQjydOd4tkw9vJG8aYPyecsa7EpOiMAzW1jqiMZzFTph95+UTXcTYxU\n3IvfbQaN5jvsC7MHSZGlyNXfDSuh0jZ6ScSs8wWo4aR189fD9cDv9ss2xQTG\nxKDfhYmNlNS2AUYpAmtOJ86yy++bNUafEYhxeP0ec8LCewxMKgz1e0JVJ2I8\npQVv\r\n=9ETh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","browser":"dist/index.js","scripts":{"docs":"npx jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build-ci":"cross-env NODE_ENV=production aofl build --debug","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build-ci && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"6.14.11","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"12.20.1","_hasShrinkwrap":false,"devDependencies":{"jsdoc":"^3.6.3","lit-html":"1.1.2","@aofl/cli":"^3.13.1","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.13.1_1623800917914_0.9751716009611668","host":"s3://npm-registry-packages"}},"4.0.0-alpha.13":{"name":"@aofl/map-state-properties-mixin","version":"4.0.0-alpha.13","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@4.0.0-alpha.13","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"969d24473728b1e455c9d593fc0a79cd34bd7cdb","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-4.0.0-alpha.13.tgz","fileCount":7,"integrity":"sha512-8fAWAPVrbLRb1lgNEB+iZbclik6XNOPZqelQthbp52Ukmgo8rXhHTk4mQ50hrMweIpAf9PBBOYPCw7pskfzYMA==","signatures":[{"sig":"MEUCIE5Srpp4SOKOdF/FhvtNLyQkVdKOcC99ikVd8o7e/XurAiEA6l/1wtcXIWUN52odA7rrbeMwgiUEn9lwKmV4FIl7yUY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13704},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","scripts":{"docs":"npx jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production aofl build","build-ci":"cross-env NODE_ENV=production aofl build --debug","build:dev":"cross-env NODE_ENV=development aofl build","prepublishOnly":"npm run build-ci && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"6.14.15","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"14.17.6","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.6","@aofl/cli":"^4.0.0-alpha.13","cross-env":"^7.0.3","tsd-jsdoc":"^2.5.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_4.0.0-alpha.13_1632439922054_0.19933533207239584","host":"s3://npm-registry-packages"}},"4.0.0-alpha.15":{"name":"@aofl/map-state-properties-mixin","version":"4.0.0-alpha.15","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@4.0.0-alpha.15","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"e5862cb20a8e509c1130d1185e770867f2478e14","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-4.0.0-alpha.15.tgz","fileCount":7,"integrity":"sha512-mKqjLvuWZ+vhp296mWmyt2wm85QZyNdpIwF/o16B3UniGSL9NIovAqKGi4mODdfWeWUMYUiCD01AH6PTM6j/Uw==","signatures":[{"sig":"MEYCIQC7v9yUziEkn4OikuRgOu1CECoDxg0bApN6yAHUHxYwpAIhAOsJmDQEjE0mlHmwix7knFjeDSsyxNk1m3EAGupIiCn7","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13357},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","gitHead":"7b448cf64b30502883b3422662a9480ea25f2d60","scripts":{},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"7.24.2","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"14.17.6","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.6","@aofl/cli":"^4.0.0-alpha.15","cross-env":"^7.0.3","tsd-jsdoc":"^2.5.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_4.0.0-alpha.15_1633539831275_0.24871642888992862","host":"s3://npm-registry-packages"}},"4.0.0-alpha.16":{"name":"@aofl/map-state-properties-mixin","version":"4.0.0-alpha.16","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@4.0.0-alpha.16","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"8ef13282953c9faf540fe52fca5ad2f3d62ad744","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-4.0.0-alpha.16.tgz","fileCount":7,"integrity":"sha512-COX9dM8ePu2rMjYnJGqsl9CQqXL6DtwwQO8H5phHOmjmwOJvuYej8dSjINg+dXHgJoBsQWvxfUD0s4m20jaUSA==","signatures":[{"sig":"MEUCIQDmBzYSXyNQUVI4awrfEAKesDDjQ5pQmjvK1JYYfHdI7AIgIt44uRHi5i3+OjJU6GVvY+ZElthpf7fQZbTH07Ds/dw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13354},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","gitHead":"7b448cf64b30502883b3422662a9480ea25f2d60","scripts":{},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"7.24.2","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"14.17.6","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.6","@aofl/cli":"^4.0.0-alpha.16","cross-env":"^7.0.3","tsd-jsdoc":"^2.5.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_4.0.0-alpha.16_1633539905860_0.5159329235299979","host":"s3://npm-registry-packages"}},"4.0.0-alpha.17":{"name":"@aofl/map-state-properties-mixin","version":"4.0.0-alpha.17","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@4.0.0-alpha.17","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"26a00c0af3e02d0d5d4e2274f685d808f9b74b44","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-4.0.0-alpha.17.tgz","fileCount":7,"integrity":"sha512-OM5oR/EVN9e3KGkVdHu/eagua/32i1SFCRvfF0fqmcWWRRZdTr3duptmUcqRghHdD88FhFsClkgQhGjXFX8xww==","signatures":[{"sig":"MEUCIHzh9XQ4Be2Mqa6PzzNQ6/WXuI1tqQA+mGLedqMh9bnbAiEA1+hqBDKwzc8/uv8KbEDf5xkNEExCh+BQfvZY8aQyNJI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13354},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","gitHead":"c7b3ad6feb17eaf3721a5528e86a31ddfb350ef3","scripts":{},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"7.24.2","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"14.17.6","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.6","@aofl/cli":"^4.0.0-alpha.17","cross-env":"^7.0.3","tsd-jsdoc":"^2.5.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_4.0.0-alpha.17_1633546048481_0.9919166230835186","host":"s3://npm-registry-packages"}},"4.0.0-alpha.18":{"name":"@aofl/map-state-properties-mixin","version":"4.0.0-alpha.18","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@4.0.0-alpha.18","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"63682beef75626bd64bad24fc65c2c9a282b6aea","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-4.0.0-alpha.18.tgz","fileCount":7,"integrity":"sha512-QWKKK3McNESFbzDUfxehlOUOGFVEu+wdK5Cw6QZlVXBuOLPg3XG8CBASZiCdUZQmYYQqI0ZXLc3SJ90HjjctOQ==","signatures":[{"sig":"MEUCICBx3mp7rAdq5P/gq22vKb3riTXeh90pWKRxPg5KL+pIAiEA5FIX1f5yxQbalEQ/FPlHN1GA8CYKDaPtZvHd03L+L8Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13354},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","gitHead":"3971875a8be8fc1e4ed7f6c737cc9aa1653e049b","scripts":{},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"7.24.2","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"14.17.6","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.6","@aofl/cli":"^4.0.0-alpha.18","cross-env":"^7.0.3","tsd-jsdoc":"^2.5.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_4.0.0-alpha.18_1633563631295_0.34248596913469576","host":"s3://npm-registry-packages"}},"4.0.0-alpha.19":{"name":"@aofl/map-state-properties-mixin","version":"4.0.0-alpha.19","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@4.0.0-alpha.19","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"26ac3649ce1263f9451b2ccc6a4a7ccf953f0804","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-4.0.0-alpha.19.tgz","fileCount":7,"integrity":"sha512-x1bINV/lDJIxUVzxUP0x9rmmVtGPCGwLLCP6DXpu/qB6UQ93Qi2sKqHbRmNLIPP8BHWYrlPxBg6FbCVsW8XoPw==","signatures":[{"sig":"MEQCIEvi2KV1PkmCN/czdiXGI2AO1TKWw/ZwGCEtxBnEL83bAiAz7IM05uT1KjHCqr/SGhewKqerRG78lbJ6D5KFFSRLUQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13354},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","gitHead":"79369e766cd4fe78098059b93d1cbd7bb5dd8830","scripts":{},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"7.24.2","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"14.17.6","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.6","@aofl/cli":"^4.0.0-alpha.19","cross-env":"^7.0.3","tsd-jsdoc":"^2.5.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_4.0.0-alpha.19_1633564047123_0.12013167001448677","host":"s3://npm-registry-packages"}},"4.0.0-alpha.20":{"name":"@aofl/map-state-properties-mixin","version":"4.0.0-alpha.20","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@4.0.0-alpha.20","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"298baa5c79d80283b4d273bd1afee4e9cb71ea00","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-4.0.0-alpha.20.tgz","fileCount":7,"integrity":"sha512-WfbQHRrJlPOYg1cyabDpNrl7nqta2GnN7TAbpzgC8Ie0ETqSn0QAtASFpXwWZ1z8X3fDI96fqCrq4tB6Rp+95Q==","signatures":[{"sig":"MEYCIQDGp5r/0GCH/eZZLLcDHmHU+QvOmZ/M8im7WpwGwHmK/QIhAP2MCPkvpLEOyaTKpm7dltnNwgCxLYzBke8lDJBD8ply","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13354},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","gitHead":"398f195bda4d61023d6d7889598f5688c276f1bf","scripts":{},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"7.24.2","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"14.17.6","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.6","@aofl/cli":"^4.0.0-alpha.20","cross-env":"^7.0.3","tsd-jsdoc":"^2.5.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_4.0.0-alpha.20_1633564494781_0.7150222631656604","host":"s3://npm-registry-packages"}},"4.0.0-alpha.21":{"name":"@aofl/map-state-properties-mixin","version":"4.0.0-alpha.21","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@4.0.0-alpha.21","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"ba9422cd8f083c53a86a95311d0ad0796e70a30a","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-4.0.0-alpha.21.tgz","fileCount":7,"integrity":"sha512-GMZ+Tui+APC9qJ0NpSI5+SrvN3TMS9FwlbSJfYB3Wq+3BPLmOREoUzURVByPpOvRKBzy7MVaZsi83BUV+IXdCg==","signatures":[{"sig":"MEUCIDv+6JS8/d9/Qg2V2vx82D2+jIjCDtsST4oDRVSQp56vAiEAqoEOfx8NyERL1DyuOB+y1yysI8dWUcAzQCN5ZAw7T0Q=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13354},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","gitHead":"398f195bda4d61023d6d7889598f5688c276f1bf","scripts":{},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"7.24.2","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"14.17.6","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.6","@aofl/cli":"^4.0.0-alpha.21","cross-env":"^7.0.3","tsd-jsdoc":"^2.5.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_4.0.0-alpha.21_1633712758385_0.1429027821555673","host":"s3://npm-registry-packages"}},"4.0.0-alpha.22":{"name":"@aofl/map-state-properties-mixin","version":"4.0.0-alpha.22","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@4.0.0-alpha.22","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"23b43ea4dfa7a334ec3c098b383728ca05f160b8","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-4.0.0-alpha.22.tgz","fileCount":7,"integrity":"sha512-Ee4/T/KUdnzc0TP2pnYpbr8m35j9KGEYHYDOBuPHjxO0Uk5ilhaVY3PBM+5p5EjOu4iJy0lNgm7dH3v0lGv0Dg==","signatures":[{"sig":"MEUCICN7VXQzC1StsIMCQVjCPbuWdQ1i7VvnTh2eN5t+aYcyAiEAwljov5pmivo2FKy5J7ekv2imAYKg4GBKa0BD56Pi8oI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13318},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","gitHead":"289b7f60d1cd721d68cff783afc623c3f51cc2cf","scripts":{},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"7.24.2","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"14.17.6","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.6","cross-env":"^7.0.3","tsd-jsdoc":"^2.5.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_4.0.0-alpha.22_1633984756204_0.32327740350580303","host":"s3://npm-registry-packages"}},"4.0.0-alpha.23":{"name":"@aofl/map-state-properties-mixin","version":"4.0.0-alpha.23","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@4.0.0-alpha.23","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"0c32f94ce502e1b8e8dbe09d1f215152e387369f","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-4.0.0-alpha.23.tgz","fileCount":7,"integrity":"sha512-04lBa1fWpcm8emJaEDjRylKfpIStHS40XQ5IC4qGoDklJpSUzrvnpAtf86xQjaIXBMRX6rVwspLRNksN49FcOg==","signatures":[{"sig":"MEQCIEPVs0b9H0JbuNFne6g7+qMhDCmR59szWXCCcsFhZifFAiAKsagZBCAP+Ll0j7OyK5cDHnwl51w1rJz+xu6DKXyTpQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13318},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","gitHead":"a2829d023883e5cc51126ee549f70629ceae8e8d","scripts":{},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"7.24.2","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"14.17.6","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.6","cross-env":"^7.0.3","tsd-jsdoc":"^2.5.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_4.0.0-alpha.23_1633986433450_0.42932296300528505","host":"s3://npm-registry-packages"}},"4.0.0-alpha.24":{"name":"@aofl/map-state-properties-mixin","version":"4.0.0-alpha.24","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@4.0.0-alpha.24","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"a722dc46c3e8033b1d63d208ab4eaa519c8d9785","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-4.0.0-alpha.24.tgz","fileCount":7,"integrity":"sha512-iFFO1Xys8Fo1Ovdc7U0To9a4bp3r0MNvpBZbittIh9rQHtFewYj/VEwPd4fy31EOi1GeSKUgDuhO6pfSNwNyrw==","signatures":[{"sig":"MEUCIEQ4aKI6Tk6N4FoJSHJRlQTwPQQT9x2tP/QJJyeLE40JAiEAu4iClfyp/cYhb92wyBu3/qfSAMvN6atHKv/Sb0onFK8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13318},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","gitHead":"a2829d023883e5cc51126ee549f70629ceae8e8d","scripts":{},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"7.24.2","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"14.17.6","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.6","cross-env":"^7.0.3","tsd-jsdoc":"^2.5.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_4.0.0-alpha.24_1633988803871_0.39503691630682436","host":"s3://npm-registry-packages"}},"4.0.0-alpha.25":{"name":"@aofl/map-state-properties-mixin","version":"4.0.0-alpha.25","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@4.0.0-alpha.25","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"ccdf6d143fac095faf33ffb84e81783bf2ee8e2e","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-4.0.0-alpha.25.tgz","fileCount":7,"integrity":"sha512-HIcLhY9/CaN9F16mP2gea5d0BexwutCZ3ILyB+BtXh8c7KvgUy2y40saEgKVKcGTq2iM+whYfaaVBhG2G16DLA==","signatures":[{"sig":"MEUCIQCtDb5S//NgeCufZ74g58mlRmnvGGNImkhfpb6IMU4PfwIgQcS9owGmcTVvB7aY9tZ2ItC+ByZVBhY+sRX+ykLM3EI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13318},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","gitHead":"8e4d611be609be11acccb9135091aadd10134e8a","scripts":{},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"7.24.2","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"14.17.6","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.6","cross-env":"^7.0.3","tsd-jsdoc":"^2.5.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_4.0.0-alpha.25_1634001636995_0.7979992083286207","host":"s3://npm-registry-packages"}},"4.0.0-alpha.26":{"name":"@aofl/map-state-properties-mixin","version":"4.0.0-alpha.26","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@4.0.0-alpha.26","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"fe46de6fc60d38e515dee27288d8ac14751a4b82","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-4.0.0-alpha.26.tgz","fileCount":7,"integrity":"sha512-zqDwt/sq7iNcCogQ70MwjeUY4hpNHKXwyzsbvQDIqxwb8INd+E2mmvDyKgxbMNXXdCOPnWKZYZ8hLzHKLq/T3w==","signatures":[{"sig":"MEUCIGulsnOFuLXWwFcwK0Ywcr6sWOZRqXZmzN9b8AjXSOKCAiEAq3oGWqptM8LXIO3A+wnV+jjr2809bhyEeO/IFvSfZAg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13318},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","gitHead":"bdd06521b3653befa1b4c07318cc120a700672b2","scripts":{},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"7.24.2","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"14.17.6","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.6","cross-env":"^7.0.3","tsd-jsdoc":"^2.5.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_4.0.0-alpha.26_1634002459899_0.572782983593243","host":"s3://npm-registry-packages"}},"4.0.0-alpha.27":{"name":"@aofl/map-state-properties-mixin","version":"4.0.0-alpha.27","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@4.0.0-alpha.27","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"878e18eaf0529f95fcd991123f806c34e5c6beca","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-4.0.0-alpha.27.tgz","fileCount":7,"integrity":"sha512-ULNxQwdJIYTRZd31Cty5Lc9cdb8Nnl2lFE+R33CuxWnMppBuBJvu8XFDfh4w76kFykuO30rMCkB/uKZcjKa4Ug==","signatures":[{"sig":"MEYCIQDxRXp6zNw3Tvt7bfA7YqYOOFRUSRToUJCLpbhOzf8QQQIhAJhoPFKb/kqgIOe8kVR8B8DQxfcuChFT6uHHTiOMC/1O","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13318},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","gitHead":"bc755f21b39459dc3a8b57ab25075a22313bc107","scripts":{},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"7.24.2","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"14.17.6","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.6","cross-env":"^7.0.3","tsd-jsdoc":"^2.5.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_4.0.0-alpha.27_1634151980271_0.8753377991501732","host":"s3://npm-registry-packages"}},"4.0.0-alpha.28":{"name":"@aofl/map-state-properties-mixin","version":"4.0.0-alpha.28","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@4.0.0-alpha.28","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"eec5b13045b5ce731754e15a9db2b0de74914cca","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-4.0.0-alpha.28.tgz","fileCount":7,"integrity":"sha512-4RQZMGN3UuTVQ8VKIT+1+qDUzWG5dMN5z3xzgWAiY/A3eVXGYIdx45mqdM8bDu7Fx3SYJHR867k2AQWSO+t3rg==","signatures":[{"sig":"MEUCICDLMV4/qxTkA59psvv6ldwmlyEpgf7rijW9G//vkJz5AiEAsvPxcWVn3x2wQEsopLp6EKu6fCP3oj3nLZvO9Yh/11g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13318},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","gitHead":"7dceb248f691c3214f73ba1d048f26b2653bcac1","scripts":{},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"7.24.2","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"14.17.6","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.6","cross-env":"^7.0.3","tsd-jsdoc":"^2.5.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_4.0.0-alpha.28_1634163491730_0.8673449785002392","host":"s3://npm-registry-packages"}},"4.0.0-alpha.29":{"name":"@aofl/map-state-properties-mixin","version":"4.0.0-alpha.29","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@4.0.0-alpha.29","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"7af58b2ffed914eb15a1e3161052ef8df0faf8ec","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-4.0.0-alpha.29.tgz","fileCount":7,"integrity":"sha512-pHxDajOJzOvfCkF+lbl3NWUB4nR8aj+MGlQ/UCy0IAOXqwXrjxiQxJnTk9wNuttZUvZLKuVlPGyvEHMwVAdS6A==","signatures":[{"sig":"MEYCIQDSyaxAePaPUmvfLUtOzN5ripif0PzXyp28nniSWrkpyAIhAOpA9fMbKkTekSFx79zOYWKOt8SErzyT3DqihBt6KjQf","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13318},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","scripts":{},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"6.14.11","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"12.20.1","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.6","cross-env":"^7.0.3","tsd-jsdoc":"^2.5.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_4.0.0-alpha.29_1634319346073_0.11028699737220538","host":"s3://npm-registry-packages"}},"4.0.0-alpha.30":{"name":"@aofl/map-state-properties-mixin","version":"4.0.0-alpha.30","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@4.0.0-alpha.30","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"70d874a328573ad499c75396eff3cb0403fc3c2a","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-4.0.0-alpha.30.tgz","fileCount":7,"integrity":"sha512-VZZazMPamAAPdypfKx674SY2u8NJzjLcgB16cvINX6RjHli3HMGxF1V8m7sNaHrhifLh+j+QrH50sGMxYBvwDA==","signatures":[{"sig":"MEUCIQDLvFzJbxV3IoApJskRaa3mNYKavYBKWkiG5pPdd1dvcwIgajY0cjXDQN3UtErTadrXSlCq+TIrwUZbSZBKCazZzm4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13318},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","gitHead":"13ed83fe4429533b22fd669328dd6c8829dffec0","scripts":{},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"7.24.2","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"14.17.6","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.6","cross-env":"^7.0.3","tsd-jsdoc":"^2.5.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_4.0.0-alpha.30_1634323852568_0.1985977371327512","host":"s3://npm-registry-packages"}},"4.0.0-alpha.31":{"name":"@aofl/map-state-properties-mixin","version":"4.0.0-alpha.31","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@4.0.0-alpha.31","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"97d17250f5f2d9744f77df30969f9ee4ad502378","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-4.0.0-alpha.31.tgz","fileCount":7,"integrity":"sha512-1lAGIYVcAi4fFFuEWCXKR8MyKZ8yFzJc63Y78u2FZqM5joaPzr4b6m0i3nIwAKwanzKnpMV9klMcmbJAplCFGA==","signatures":[{"sig":"MEQCIEuvf8VgK0V+f4ch/Y3tXsAKVBw2e2ztZcuyUmJlHUU+AiBbrW9dtrV7uLqUIpfZtseSb4RloHoJ2NOx4+YDp5GmHg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13318},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","gitHead":"5bc1713dfbc60e5029713b6ad88a4a9fd46d3413","scripts":{},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"7.24.2","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"14.17.6","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.6","cross-env":"^7.0.3","tsd-jsdoc":"^2.5.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_4.0.0-alpha.31_1634324114381_0.6383527699642828","host":"s3://npm-registry-packages"}},"4.0.0-alpha.32":{"name":"@aofl/map-state-properties-mixin","version":"4.0.0-alpha.32","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@4.0.0-alpha.32","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"ad5fa985f8870683e291058179221e77c36dd112","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-4.0.0-alpha.32.tgz","fileCount":7,"integrity":"sha512-Dl6ln/hHlgsb9dvV8592MA3qS3elN+f9YAucj6MtcAirTgV8YyFT7lCjb2vviAAUEWtlUndRZdhnwfnsegCNlw==","signatures":[{"sig":"MEUCIQCdY6KBTt2sDDBCR2HRamP4FjOkKjTcsqDC+mG/PakdYwIgC4NUUzqDAz5yggI6jSLlwsbPMtZEOMjGOPhY3iSd2qI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13318},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","gitHead":"77786a7e5219aff408e59d051e8380ca1a63021d","scripts":{},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"7.24.2","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"14.17.6","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.6","cross-env":"^7.0.3","tsd-jsdoc":"^2.5.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_4.0.0-alpha.32_1634326776793_0.3914716356426675","host":"s3://npm-registry-packages"}},"4.0.0-alpha.33":{"name":"@aofl/map-state-properties-mixin","version":"4.0.0-alpha.33","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@4.0.0-alpha.33","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"79726dc0dca5a32915831823e75a1ccf3d2c36d7","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-4.0.0-alpha.33.tgz","fileCount":7,"integrity":"sha512-EGRzKCf4kb1XxL7xHGMDPczIjJGQQPCobjjkObZJNnUgeBxhzqkigqHy/hVwNusZ7Qagat1ZLNvwyhQi13Lmvw==","signatures":[{"sig":"MEYCIQCHVRTlcNJ3Ivn4oJG/KmGoDqSS0KmWE1etMEUhcjvD9AIhAPKUgIXRihYNdLt7FdITQmutKcMyv2OJpWfA1GXFVK6z","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13318},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","gitHead":"41b432602965620ce989f21e02748f53f69f7ea5","scripts":{},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"7.24.2","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"14.17.6","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.6","cross-env":"^7.0.3","tsd-jsdoc":"^2.5.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_4.0.0-alpha.33_1634326977617_0.984725022767984","host":"s3://npm-registry-packages"}},"4.0.0-alpha.34":{"name":"@aofl/map-state-properties-mixin","version":"4.0.0-alpha.34","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@4.0.0-alpha.34","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"dbfd4284c7126a49665b5b4b1b589bced5920cef","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-4.0.0-alpha.34.tgz","fileCount":7,"integrity":"sha512-RT5t0X6Ml2lWoHfGgvBtbpBSv7k97oWhMludGmXMsOCfWdx4Rh70GPa4QcanrUzPMRzDfijj9BF3DvRfGm2+1A==","signatures":[{"sig":"MEUCIHmRvaaG7SOfNlco8Qt3IDseO6aEFhZYaAFMKLU2x5MMAiEA03k6FHRjAZwRpsfnzMg9I888NHi7QDnnKFdf+PTZdkY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13318},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","gitHead":"1b993e65b04444692f40eaecfc3dfbb29d50d98b","scripts":{},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"7.24.2","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"14.17.6","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.6","cross-env":"^7.0.3","tsd-jsdoc":"^2.5.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_4.0.0-alpha.34_1634327583127_0.8331620054729314","host":"s3://npm-registry-packages"}},"4.0.0-alpha.35":{"name":"@aofl/map-state-properties-mixin","version":"4.0.0-alpha.35","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@4.0.0-alpha.35","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"a1bc6068b06cbfaafc75753dcba23b6db1d75230","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-4.0.0-alpha.35.tgz","fileCount":7,"integrity":"sha512-M4+39n6QOi21ny8RVM58O3vZQjGUv4ujrQ/wteIr/oIFvOsiaMgG0m+NE/betLxeJo5BI6ab5i9buElB1ql1HQ==","signatures":[{"sig":"MEUCIQDndoW8YlTyyP6NdIJT0zvGcY6825hRiJgGHGgJA28VcgIgf2XlDUjVJmXzIKuL0fJqWzeNMthgngXkI2MCzvuYIBg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13318},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","gitHead":"5a6a7f303fc21acc73b55413f38f534ed4bfb714","scripts":{},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"7.24.2","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"14.17.6","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.6","cross-env":"^7.0.3","tsd-jsdoc":"^2.5.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_4.0.0-alpha.35_1634328005146_0.024520187885403777","host":"s3://npm-registry-packages"}},"4.0.0-alpha.36":{"name":"@aofl/map-state-properties-mixin","version":"4.0.0-alpha.36","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@4.0.0-alpha.36","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"b3640d6982d57ea41882a834096a020c16b9a91a","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-4.0.0-alpha.36.tgz","fileCount":7,"integrity":"sha512-sAHE2zJPyHQOdgwrnqvH7eCjXLKWS59NHUHhRni4xIzV+tC1nVS0Bg6DXJeKKKIp5jSGpxcGtjGrgdNGzO3Pvg==","signatures":[{"sig":"MEUCIQDf8Oz5V+m9R72f+O79D7nxzQ6QmuxGEuPkdaY3DDtWVQIgYNj0n7stUqH1pLdG80MII18Zj/qPiTCJ/STy608wxgw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13318},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","gitHead":"24aeaf86244b6f9f352b26d04fd9976f9430bfe7","scripts":{},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"7.24.2","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"14.17.6","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.6","cross-env":"^7.0.3","tsd-jsdoc":"^2.5.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_4.0.0-alpha.36_1634328204944_0.6429028094873259","host":"s3://npm-registry-packages"}},"4.0.0-alpha.37":{"name":"@aofl/map-state-properties-mixin","version":"4.0.0-alpha.37","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@4.0.0-alpha.37","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"bacb9ec975e5caafede40657b9a2783e5c48aa96","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-4.0.0-alpha.37.tgz","fileCount":7,"integrity":"sha512-bv6PosRDIoyKlB+a8i1QCFlDvp5nDFpCnaB6QWkB8vPFyeGCmrGLRmMNdXcLWu0Bp4WtZDiK4eZmBV7jL/1aXg==","signatures":[{"sig":"MEUCID45Y2vbWxp0kQkSNLcyNEjMf3eUCZJDMJShurXG9VCvAiEAzS1uHxQ7blMmrzXRdgzHxhE0+rDrKJAIKn1mvvxrCJw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13318},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","gitHead":"d5e9c5a7ef77e315b759fb5bee226aa3bd3aaffb","scripts":{},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"7.24.2","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"14.17.6","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.6","cross-env":"^7.0.3","tsd-jsdoc":"^2.5.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_4.0.0-alpha.37_1634328380073_0.9275747141051318","host":"s3://npm-registry-packages"}},"4.0.0-alpha.38":{"name":"@aofl/map-state-properties-mixin","version":"4.0.0-alpha.38","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@4.0.0-alpha.38","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"469e24557a368047d529d8aa03e3e570ef167f61","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-4.0.0-alpha.38.tgz","fileCount":7,"integrity":"sha512-Jg/CToxGVJECynwYfdparMatp+vOOV7ydPMTPQXueidva1swKVNtt3/lEk+P8TIfXN3znB8x1oy+I73SAhCNrw==","signatures":[{"sig":"MEUCIQCFlby3dv7vVs+re7UZ6jIt8ttQBJYPeYTzr8U6O7wzfAIgFRzfQiSuC0Iak0DFm/702I8UZb42L0TcaBhBtiF4RF0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13318},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","gitHead":"91457836070b2b300b852a461787c56ec880a85d","scripts":{},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"7.24.2","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"14.17.6","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.6","cross-env":"^7.0.3","tsd-jsdoc":"^2.5.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_4.0.0-alpha.38_1634330758305_0.903330909782259","host":"s3://npm-registry-packages"}},"4.0.0-alpha.39":{"name":"@aofl/map-state-properties-mixin","version":"4.0.0-alpha.39","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@4.0.0-alpha.39","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"1d5ed2afaa6397970b5eb4f0886a28bce3062ce7","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-4.0.0-alpha.39.tgz","fileCount":7,"integrity":"sha512-8JWmOK2UrW6d0WJjmgHmoaubXO3cidIowWvzMV9xZnMiiNvY5jZ7172rUAWxqLC7kKCeeL47NGnB9ywEvo5+9g==","signatures":[{"sig":"MEUCIBpsaSsCmSOoCc+V5AgL3oz+3qbWNCp8Os1QGxyhITsDAiEAk+w0fOsuljGKl/o58pRUlrHOoZ/F+vxVR1hQnwWZ0Do=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13318},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","gitHead":"f4c22e986eb7eb2e564e469dedb36c65858bf5cc","scripts":{},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"7.24.2","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"14.17.6","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.6","cross-env":"^7.0.3","tsd-jsdoc":"^2.5.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_4.0.0-alpha.39_1634332195251_0.722246583516807","host":"s3://npm-registry-packages"}},"4.0.0-alpha.40":{"name":"@aofl/map-state-properties-mixin","version":"4.0.0-alpha.40","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@4.0.0-alpha.40","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"1915d0f23700d837a37b88731364c9db3f9243db","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-4.0.0-alpha.40.tgz","fileCount":7,"integrity":"sha512-5zRw8HRe2Nw5lmgHT2HhVOctjO/96yjf8QU5DmeL8EWciEQGY5123/GFv0S6Nu9Ac6P0PQybtm9C/NAEqxGesA==","signatures":[{"sig":"MEUCIA+/GURq9xAjrB70MmVskbcZpmgnF7a4lHVXfbqb43v3AiEA3iOGU//DFk378x16kkb+jPFm9+z0pfe/Xb8xsgLTkIA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13318},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","gitHead":"e93b1f585c2cd94383438abd74737a856ca68a77","scripts":{},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"7.24.2","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"14.17.6","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.6","cross-env":"^7.0.3","tsd-jsdoc":"^2.5.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_4.0.0-alpha.40_1634332790409_0.2312302839886935","host":"s3://npm-registry-packages"}},"4.0.0-alpha.41":{"name":"@aofl/map-state-properties-mixin","version":"4.0.0-alpha.41","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@4.0.0-alpha.41","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"ffbdbe8ab4b4e6ec017bc56a4281f2624c526ab3","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-4.0.0-alpha.41.tgz","fileCount":7,"integrity":"sha512-toVO94bBLsQYIhnXlicBw7DB270udwxCKd5ZYuJ9nOO0r9Wmx/ldNASRMCW9LsXf1DIh1vZiRfMkXgcOqjHMnQ==","signatures":[{"sig":"MEUCIQCdq48k0788n1PVp2/C7vvFL+q6E183hRJAjHJ1STX/cQIgTdvcryj3VTX2DQlAd5GCtqOEKZHtSroyhWT9ETTzV4k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13318},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","gitHead":"cbd55bfa3cf5e87bf7b5f27b3d9b6efb34e3ad85","scripts":{},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"7.24.2","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"14.17.6","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.6","cross-env":"^7.0.3","tsd-jsdoc":"^2.5.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_4.0.0-alpha.41_1634582055284_0.43909898629829347","host":"s3://npm-registry-packages"}},"4.0.0-alpha.42":{"name":"@aofl/map-state-properties-mixin","version":"4.0.0-alpha.42","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@4.0.0-alpha.42","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"891cb0b50d76bb18e3dcadc00657a81459161314","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-4.0.0-alpha.42.tgz","fileCount":7,"integrity":"sha512-H3gQxIoP8aZR3wC9VWUt92BRVnPxK8IU6YWuXmYWLDmYbeczkM5LxjLthTPhxvy8jywgvnbKJMw/oIoanNi+3w==","signatures":[{"sig":"MEUCIFsZkU8WkBYaH+A9n15u26+f9GYf+WkGHVVPbn6k4/y5AiEA2m44m5U91+mDzLSbboetpN6DnMYzwc3pujenjK2kOhw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13318},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","gitHead":"f64d10ec558694ce4c2d4e8b0562d4167f8e28d5","scripts":{},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"7.24.2","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"14.17.6","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.6","cross-env":"^7.0.3","tsd-jsdoc":"^2.5.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_4.0.0-alpha.42_1634586021377_0.14129947607506677","host":"s3://npm-registry-packages"}},"4.0.0-alpha.43":{"name":"@aofl/map-state-properties-mixin","version":"4.0.0-alpha.43","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@4.0.0-alpha.43","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"289beb5de00fee47bc2ac0a9031e994d712fe085","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-4.0.0-alpha.43.tgz","fileCount":7,"integrity":"sha512-icS1X6JJLDzByQ/2Lmcg0gTqTJVfx/lWj4fP5uGe5x2jmjODE/sCqRTuUeez6EcTmM4gBGzN4xLTTd7WoASkpA==","signatures":[{"sig":"MEUCIQCRyorKrwYTUlWxj782p8T8F+6X1EpGUjGD0JuSrAjCCAIgJZlRgPaKM35Wg0eP04M7dKUz0wvQ2SuFwnZcZJza1Fg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13318},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","gitHead":"6763365b38cb5be764e669a3b568be9f1cc4cfed","scripts":{},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"7.24.2","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"14.17.6","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.6","cross-env":"^7.0.3","tsd-jsdoc":"^2.5.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_4.0.0-alpha.43_1634586278083_0.5220782880784498","host":"s3://npm-registry-packages"}},"4.0.0-alpha.44":{"name":"@aofl/map-state-properties-mixin","version":"4.0.0-alpha.44","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@4.0.0-alpha.44","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"12ca633bfde8ce9d674d4ac6210c7e364178df17","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-4.0.0-alpha.44.tgz","fileCount":7,"integrity":"sha512-vqGsExORp1yn0R09HmT+nF42uL7Q7AV0DFYSq4Sm2uzF78fbqnOVTvkf8LTCQEDV8r7XzYMpB7KE0EgN7YX44w==","signatures":[{"sig":"MEUCIQDYGrGHL5zZ5LmVUeGAWEE6Jja+WBOtBOUiR/lK6i1FqAIgX/1+LzmbRtXYWoA4j0YGtoj2LcYz2+LdSSVnzfR5wHw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13318},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","scripts":{},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"6.14.11","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"12.20.1","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.6","cross-env":"^7.0.3","tsd-jsdoc":"^2.5.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_4.0.0-alpha.44_1635874763786_0.3536090873825133","host":"s3://npm-registry-packages"}},"4.0.0-alpha.45":{"name":"@aofl/map-state-properties-mixin","version":"4.0.0-alpha.45","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@4.0.0-alpha.45","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"fe3b5956aa895dfd82299497aa97ded643ba2557","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-4.0.0-alpha.45.tgz","fileCount":7,"integrity":"sha512-GKOgEa4O2ZmNYQbGuymwhUyoyb2oRQYT/Yi+H3yNByRXqcTW0m2dHr43UM062Hc/klCd954U04mLUzV44Zt5Fw==","signatures":[{"sig":"MEUCIHxPzN5u+VJaxnKAYWSDnlHTfgsLzcTQ02dSGcawaWsCAiEA9UAvWGyoi6L0lL43WVH8mZv9+Pa6jrRZ+sNdg0gLFmQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13318},"main":"index.js","module":"index.js","readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","browser":"dist/index.js","scripts":{},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"6.14.11","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"12.20.1","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jsdoc":"^3.6.6","cross-env":"^7.0.3","tsd-jsdoc":"^2.5.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_4.0.0-alpha.45_1635876942748_0.8664614926181675","host":"s3://npm-registry-packages"}},"3.14.0":{"name":"@aofl/map-state-properties-mixin","version":"3.14.0","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.14.0","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"98a9413fbc905dad0da6327dfb30bd764586c77c","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.14.0.tgz","fileCount":8,"integrity":"sha512-4LoMpCv+QkutB0XVJmAG8C4G+kabmr/pIpBKDEbxapUwmj+v4hwB6r5la4SU8j6jhRvMttoGvmM+T9slu6Qw/w==","signatures":[{"sig":"MEUCIQCT0gIxh+dexJE+GgKXvs7Cr1fZEsV3mXmK8S4R1c3QhAIgYuA/MD+Hc1eagM1AnnDaWFIeTfR+CpmbuKsjOxVr48I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17545,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiM8/eACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmruwA/9ET09vFRoTurF+8LeE39bSlo6CkGjyAULbXEx6KYwoujQGz1d\r\nXKRNMT2n7zzZBnRu1E2AxX3U0tyWzZQdgHldzsqbpmXfIZroWJOsXSNg6s9x\r\nobTKvkKMjT4PNSq4b/xLC6pHRV07283DfZAXoasph3hzKCXA824iD4ujtMKl\r\nw2olth8P8oVzmQCtjAW8eV0QHp+cRWrWvtjimBo+3CWomCacB2DBews33/tt\r\nZYZHxgJTrZsvHcNFsf48/5K2dpNMJLSIVmShnEKMvlYaCmovIQqeekuq4cAh\r\n7iOMb1WY7dhNfMCdaBm5B98EvrW5n541xe3zklLLyzuLpu6ZVyK+A1NNSVwP\r\n3gJy/hr7qisasf1zHShWgRjzjVcvfw+PxaPEt7sg9pPgZBPblGhDSmUook8G\r\nJhYr5h4zCY0FX4I4harv1O6NAwM9IF9rZDC3AmzzIEVTqvxU/MliRmL2CfPy\r\nyhl+kKlwrXiKbUV0ZG44aOp4I1xzPZfApVg+vPlMHbVBB4fJLTXE2zusKNhj\r\nBe1NgdH/7BEhEVgj7jUCF4Pz5igoYlnEGhjILKLBLVbOY30ZVM2bMfE812h7\r\nr8QQC8x25gpI02YAyMEeN3qUgtPwf2KqA+e0hunfeTEtmZxq8EsxNjGjTBJO\r\nqxPYHQurQR6ld7S8Mqkzo0TPHlAeSCi6F5s=\r\n=pM31\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","browser":"dist/index.js","gitHead":"01a200342c31c108d1ab1039ee4c972f2ee63fa9","scripts":{"docs":"npx jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build-ci":"cross-env NODE_ENV=production aofl build --debug","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build-ci && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.20.1+x64 (darwin)","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"12.20.1","_hasShrinkwrap":false,"devDependencies":{"jsdoc":"^3.6.3","lit-html":"1.1.2","@aofl/cli":"^3.14.0","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.14.0_1647562718762_0.590676167068013","host":"s3://npm-registry-packages"}},"3.14.1":{"name":"@aofl/map-state-properties-mixin","version":"3.14.1","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","_id":"@aofl/map-state-properties-mixin@3.14.1","maintainers":[{"name":"alexdinari","email":"alexdinari@me.com"},{"name":"ariankhosravi","email":"arian@arin.io"}],"contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"homepage":"https://github.com/AgeOfLearning/aofl#readme","bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"dist":{"shasum":"84ea0adcc7c31519ae8abb0ec5abb48e24bb5e58","tarball":"https://registry.npmjs.org/@aofl/map-state-properties-mixin/-/map-state-properties-mixin-3.14.1.tgz","fileCount":8,"integrity":"sha512-d7gFEZOIYmTFavqunSL2m0sE3RaCaJa+XpYRjZGaQbhP+qXokux75sK9ZmwkWVVcdlogaUmcmM7YkdYbk90biw==","signatures":[{"sig":"MEUCIB9M8ZG4H/Lh2Ak6hCaxhz6IrPR9Agsih+2oSuuBAGoJAiEA/Pde9lnHRrWpJxR1F7V/ZMR2jmrtPzzP/nepuXjFcbE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17545,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiM9bTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpZ+A/7BnBEkdA/q3qScSQk3+gLjlhmQPUtdk5gQzkoypTsMXSi/uEL\r\nsOD1yccYG5gBeZhQEndoKoKxFoC5xPRh2pA+O1VHKLkViIwk5CX+Klb0lJLA\r\nSoEHNWeHjNASmxCnA9KOzlaVRXbUFHYq0fJcDLQxHM+J63f4U3MAMTvJooKr\r\nfZ3R6iJEYRNS70RqU9own+SKojvkR1Z1Nt2skb/APx3H2lqoyM7Fjx4k3K6o\r\n5KlLnJ8dM0Ie40mJSEYY6JdRTMJq2IuegXF6it5cXu/WjktjTdkEbPW12QVG\r\nH1zPln14Tema1Dv1uWskWmLReIyQZglgrE4pq+V3jyDPJuV5Ioc7IhgUhtKO\r\n3J+pb1Nvjf5e2b9msAWg7M9iPyOEIevkNmUr6e50nBw8nO0dLcyE43BWhkH2\r\np6ZLZhqUD0f4rYn5z0WPDASENvk8E3GAPmLK8lcFJClPAXZlppJaYclGBpN4\r\nShUU2l7RIZb2DBSUoDegQXzlcV1XaUfQrRz1Q9acV2RlK1bDb+L+X++v1aIS\r\nYwtDkhdXAOW/8M076I6GpY182FxoqhhoNmLtsHR3dda88WgRSaeAZsxv1Cu8\r\n1Mc7Vsb45EaJ+VWJmJTNNAOqdGfXwmABmyJs9TcDDZ/c1yP/mHl+evgHerLz\r\nCGCY3N/fe201f7pCei+TLPiiP/R31CE8GZw=\r\n=rXab\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","module":"index.js","browser":"dist/index.js","gitHead":"65857163479f835ec51cc1e23ec01c45eab43008","scripts":{"docs":"npx jsdoc -c .jsdocrc.json .","test":"echo \"Error: no test specified\" && exit 1","build":"cross-env NODE_ENV=production npx aofl build","build-ci":"cross-env NODE_ENV=production aofl build --debug","build:dev":"cross-env NODE_ENV=development npx aofl build","prepublishOnly":"npm run build-ci && npm run docs"},"typings":"types.d.ts","_npmUser":{"name":"ariankhosravi","email":"arian@arin.io"},"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.20.1+x64 (darwin)","description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","directories":{},"_nodeVersion":"12.20.1","_hasShrinkwrap":false,"devDependencies":{"jsdoc":"^3.6.3","lit-html":"1.1.2","@aofl/cli":"^3.14.1","cross-env":"^6.0.3","tsd-jsdoc":"^2.4.0"},"peerDependencies":{"lit-element":">= 2.0.0 < 3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/map-state-properties-mixin_3.14.1_1647564499446_0.5837835233993409","host":"s3://npm-registry-packages"}}},"time":{"created":"2018-08-10T19:23:39.467Z","modified":"2025-01-18T00:20:48.870Z","1.0.0-beta.22":"2018-08-10T19:23:39.594Z","1.0.0-beta.23":"2018-08-16T21:36:30.255Z","1.0.0-beta.24":"2018-08-22T22:31:41.758Z","1.0.0-beta.25":"2018-08-23T19:27:41.782Z","1.0.0-beta.26":"2018-08-27T18:20:18.077Z","1.0.0-beta.27":"2018-09-11T18:07:32.195Z","1.0.0-beta.28":"2018-09-28T00:27:46.951Z","1.0.0":"2018-09-29T23:01:53.809Z","1.0.1":"2018-09-30T03:03:56.253Z","1.1.0":"2018-10-17T22:26:43.960Z","1.1.1":"2018-10-29T19:33:23.554Z","1.1.2":"2018-10-29T19:33:37.284Z","1.2.0":"2018-11-06T20:47:02.927Z","1.2.1":"2018-11-18T21:08:03.456Z","1.2.3":"2018-11-21T00:12:27.748Z","1.3.0":"2018-12-06T21:00:06.692Z","1.4.0":"2018-12-28T02:39:22.307Z","1.4.1":"2019-01-07T18:33:11.854Z","2.0.0-alpha.1":"2019-01-29T01:53:52.105Z","2.0.0-alpha.5":"2019-02-26T23:15:18.740Z","2.0.0-alpha.16":"2019-04-25T19:57:21.603Z","2.0.0-alpha.17":"2019-04-26T18:35:46.374Z","2.0.0":"2019-04-30T19:31:42.841Z","3.0.0-0":"2019-09-17T05:21:53.119Z","3.0.0-alpha.0":"2019-09-17T05:23:54.145Z","3.0.0-alpha.5":"2019-09-20T06:32:33.691Z","3.0.0-alpha.11":"2019-09-27T06:49:20.076Z","3.0.0-beta.6":"2019-10-08T04:49:42.992Z","3.0.0-beta.8":"2019-10-08T05:48:16.274Z","3.0.0-beta.9":"2019-10-08T06:11:45.700Z","3.0.0-beta.11":"2019-10-08T09:42:53.472Z","3.0.0-beta.12":"2019-10-08T09:53:42.808Z","3.0.0-beta.13":"2019-10-09T04:13:26.787Z","3.0.0-beta.14":"2019-10-09T04:33:09.304Z","3.0.0-beta.15":"2019-10-09T04:50:46.364Z","3.0.0-beta.16":"2019-10-09T05:06:05.622Z","3.0.0-beta.17":"2019-10-09T05:25:04.304Z","3.0.0-beta.22":"2019-10-11T04:40:52.441Z","3.0.0-beta.23":"2019-10-11T05:40:00.767Z","3.0.0-beta.24":"2019-10-11T06:34:49.680Z","3.0.0-beta.25":"2019-10-11T07:34:50.645Z","3.0.0-beta.26":"2019-10-11T07:49:10.480Z","3.0.0-beta.27":"2019-10-11T07:54:03.990Z","3.0.0-beta.28":"2019-10-11T08:01:09.390Z","3.0.0-beta.30":"2019-10-11T22:58:45.653Z","3.0.0-beta.32":"2019-10-14T01:06:31.937Z","3.0.0-beta.35":"2019-10-18T06:59:17.707Z","3.0.0-beta.36":"2019-10-19T10:45:56.965Z","3.0.0-beta.37":"2019-10-24T06:07:58.941Z","3.0.0-beta.38":"2019-10-30T22:52:27.847Z","3.0.0-alpha.12":"2019-11-02T01:11:36.221Z","3.0.0-beta.40":"2019-11-11T22:31:22.498Z","3.0.0-beta.41":"2019-11-12T04:55:40.935Z","3.0.0-beta.42":"2019-11-12T05:53:52.019Z","3.0.0-beta.46":"2019-11-14T21:58:20.222Z","3.0.0-beta.47":"2019-11-15T00:48:53.790Z","3.0.0-beta.48":"2019-11-16T23:36:05.269Z","3.0.0-beta.49":"2019-11-17T03:37:56.235Z","3.0.0":"2019-11-17T07:06:11.731Z","3.1.0":"2019-11-22T03:28:18.163Z","3.2.0":"2019-11-24T07:35:01.371Z","3.2.1":"2019-11-24T08:03:53.655Z","3.2.2-alpha.2":"2020-01-14T20:27:21.207Z","3.2.2-alpha.3":"2020-01-14T21:12:45.169Z","3.3.0":"2020-01-22T23:31:04.507Z","3.4.0-alpha.0":"2020-01-27T23:40:29.787Z","3.4.0-alpha.1":"2020-01-27T23:52:18.812Z","3.4.0":"2020-01-28T00:01:38.916Z","3.5.0-beta.1":"2020-02-22T23:26:23.109Z","3.5.0-beta.2":"2020-02-22T23:52:28.668Z","3.5.0-beta.3":"2020-02-23T00:07:10.564Z","3.5.0-beta.4":"2020-02-23T01:57:13.944Z","3.5.0-beta.5":"2020-02-23T03:09:55.319Z","3.5.0-beta.6":"2020-02-23T03:17:35.205Z","3.5.0-beta.7":"2020-02-23T05:05:19.040Z","3.5.0-beta.8":"2020-02-23T05:08:33.420Z","3.5.0-beta.9":"2020-02-23T05:32:56.288Z","3.5.0-beta.10":"2020-02-23T05:50:17.018Z","3.5.0-beta.11":"2020-02-23T07:37:04.023Z","3.5.0-beta.12":"2020-02-23T08:59:56.409Z","3.5.0-beta.13":"2020-02-23T09:01:58.648Z","3.5.0-beta.14":"2020-02-23T10:00:00.370Z","3.5.0-beta.15":"2020-02-23T11:49:03.553Z","3.5.0-beta.16":"2020-02-23T11:58:25.880Z","3.5.0-beta.17":"2020-02-23T12:14:18.161Z","3.5.0-beta.18":"2020-02-25T03:59:22.961Z","3.5.0-beta.19":"2020-02-25T23:56:58.710Z","3.5.0-beta.20":"2020-03-02T23:22:30.221Z","3.5.0-beta.21":"2020-03-02T23:26:53.579Z","3.5.0-beta.22":"2020-03-02T23:42:07.280Z","3.5.0":"2020-03-03T00:02:53.373Z","3.6.1":"2020-03-10T18:42:40.403Z","3.8.0":"2020-05-12T19:19:16.699Z","3.9.0-alpha.0":"2020-05-12T19:29:39.819Z","3.8.1":"2020-05-12T19:40:29.310Z","3.9.0":"2020-05-15T17:57:51.272Z","3.10.0":"2020-05-15T21:15:15.665Z","3.12.0":"2021-01-20T00:01:30.487Z","3.12.1":"2021-01-20T00:12:24.639Z","4.0.0-alpha.9":"2021-02-03T01:47:53.865Z","4.0.0-alpha.10":"2021-02-03T01:55:59.644Z","4.0.0-alpha.11":"2021-02-03T02:24:06.333Z","3.13.0":"2021-02-25T23:43:22.252Z","3.13.1":"2021-06-15T23:48:38.043Z","4.0.0-alpha.13":"2021-09-23T23:32:02.194Z","4.0.0-alpha.15":"2021-10-06T17:03:51.442Z","4.0.0-alpha.16":"2021-10-06T17:05:05.972Z","4.0.0-alpha.17":"2021-10-06T18:47:28.592Z","4.0.0-alpha.18":"2021-10-06T23:40:31.441Z","4.0.0-alpha.19":"2021-10-06T23:47:27.277Z","4.0.0-alpha.20":"2021-10-06T23:54:54.903Z","4.0.0-alpha.21":"2021-10-08T17:05:58.588Z","4.0.0-alpha.22":"2021-10-11T20:39:16.307Z","4.0.0-alpha.23":"2021-10-11T21:07:13.596Z","4.0.0-alpha.24":"2021-10-11T21:46:44.000Z","4.0.0-alpha.25":"2021-10-12T01:20:37.105Z","4.0.0-alpha.26":"2021-10-12T01:34:20.068Z","4.0.0-alpha.27":"2021-10-13T19:06:20.434Z","4.0.0-alpha.28":"2021-10-13T22:18:11.887Z","4.0.0-alpha.29":"2021-10-15T17:35:46.217Z","4.0.0-alpha.30":"2021-10-15T18:50:52.705Z","4.0.0-alpha.31":"2021-10-15T18:55:14.609Z","4.0.0-alpha.32":"2021-10-15T19:39:37.037Z","4.0.0-alpha.33":"2021-10-15T19:42:57.805Z","4.0.0-alpha.34":"2021-10-15T19:53:03.267Z","4.0.0-alpha.35":"2021-10-15T20:00:05.294Z","4.0.0-alpha.36":"2021-10-15T20:03:25.076Z","4.0.0-alpha.37":"2021-10-15T20:06:20.219Z","4.0.0-alpha.38":"2021-10-15T20:45:58.468Z","4.0.0-alpha.39":"2021-10-15T21:09:55.412Z","4.0.0-alpha.40":"2021-10-15T21:19:51.128Z","4.0.0-alpha.41":"2021-10-18T18:34:15.432Z","4.0.0-alpha.42":"2021-10-18T19:40:21.543Z","4.0.0-alpha.43":"2021-10-18T19:44:38.290Z","4.0.0-alpha.44":"2021-11-02T17:39:23.940Z","4.0.0-alpha.45":"2021-11-02T18:15:42.873Z","3.14.0":"2022-03-18T00:18:38.937Z","3.14.1":"2022-03-18T00:48:19.623Z"},"bugs":{"url":"https://github.com/AgeOfLearning/aofl/issues"},"author":{"name":"Arian Khosravi","email":"arian.khosravi@aofl.com"},"license":"MIT","homepage":"https://github.com/AgeOfLearning/aofl#readme","keywords":["aofljs","@aofl/map-state-properties-mixin","subscribe","map state properties","mapStateProperties"],"repository":{"url":"git+ssh://git@github.com/AgeOfLearning/aofl.git","type":"git"},"description":"Subscribe mapStateProperties() to storeInstance. Unsubscribes when the component detaches from dom","contributors":[{"name":"Daniel Belisle","email":"daniel.belisle@aofl.com"},{"name":"Micah Blu","email":"micah.blu@aofl.com"}],"maintainers":[{"email":"alexdinari@me.com","name":"alexdinari"},{"email":"lorenzo.battigelli@aofl.com","name":"lorenzo.battigelli"},{"email":"alex.dinari@aofl.com","name":"alex.dinari"},{"email":"it@aofl.com","name":"ageoflearning"},{"email":"jie.zhang@aofl.com","name":"jiezhangaofl"}],"readme":"# @aofl/map-state-properties-mixin\n\n`@aofl/map-state-properties-mixin` can be used to automatically subscribe `mapStateProperties()` to storeInstance and unsubscribe when the component is detached from dom. It eliminates the need to replicate the same block of code for every component that needs to react to changes from store.\n\nThe class extending `mapStatePropertiesMixin(AoflElement)` is required to have `storeInstance` as an instance property and implement `mapStateProperties()` function.\n\n[Api Documentation](https://ageoflearning.github.io/aofl/v3.x/api-docs/module-@aofl_map-state-properties-mixin.html)\n\n## Examples\n* [Basic](https://codesandbox.io/s/github/AgeOfLearning/aofl/v3.0.0/master/aofl-js-packages/map-state-properties-mixin/examples/basic)\n\n## Installation\n```bash\n$ npm i -S @aofl/map-state-properties-mixin\n```\n## Usage\n```javascript\nimport styles from './styles.css';\nconst NAMESPACE = 'example-namespace';\n\nclass MyComponent extends mapStatePropertiesMixin(AoflElement) {\n  constructor() {\n    super();\n    this.storeInstance = storeInstance;\n  }\n\n  static get properties() {\n    return {\n      name: String\n    };\n  }\n\n  connectedCallback() {\n    super.connectedCallback();\n    this.mapStateProperties(); // initialize properties based on values in store\n  }\n\n  mapStateProperties() { // map properties from store to view\n    const state = this.storeInstance.getState();\n    this.name = state[NAMESPACE].name;\n  }\n\n  _render(context, html) {\n    return super._render(html`<h1>Hello ${context.name}</h1>`, [styles])\n  }\n}\n\n```\n","readmeFilename":"README.md"}