{"_id":"polymer-ui-router","_rev":"4-eb992930035695a2b4ca55df4d1ce549","name":"polymer-ui-router","dist-tags":{"beta":"3.0.0","latest":"3.0.3"},"versions":{"3.0.0":{"description":"State-based routing for Polymer 2.x","keywords":["web-components","polymer","router","routing","url","routes","ui-router","ui-router-core"],"repository":{"type":"git","url":"git+ssh://git@github.com/ergo/polymer-ui-router.git"},"homepage":"https://github.com/ergo/polymer-ui-router#readme","name":"polymer-ui-router","version":"3.0.0","contributors":[{"name":"Christopher Thielen"}],"maintainers":[{"name":"ergo14","email":"info@webreactor.eu"}],"scripts":{"bower":"bower install","serve":"polymer serve"},"engines":{"node":">=4.0.0"},"license":"Apache-2.0","dependencies":{"@uirouter/core":"^5.0.19","@polymer/polymer":"^3.0.0"},"devDependencies":{"polymer-cli":"","@polymer/iron-component-page":"^3.0.0-pre.18","@polymer/iron-demo-helpers":"^3.0.0-pre.18","wct-browser-legacy":"^0.0.1-pre.11","@webcomponents/webcomponentsjs":"^2.0.0"},"resolutions":{"inherits":"2.0.3","samsam":"1.1.3","supports-color":"3.1.2","type-detect":"1.0.0","@webcomponents/webcomponentsjs":"2.0.0-beta.2"},"gitHead":"02f2b9072efe59bcfcf43bf3986c862ff2061883","_id":"polymer-ui-router@3.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"ergo14","email":"info@webreactor.eu"},"dist":{"integrity":"sha512-YU/DngcGynF12FiBDZ7cpmvzVqhxX6SYrMURETGT8N6sOUK4/KK24PYvDAX6/ocHWBDgbdaU4Hu7ws2cIRi1aQ==","shasum":"1aa330a978dbc8abf0b9d13a104d3e51afa19670","tarball":"https://registry.npmjs.org/polymer-ui-router/-/polymer-ui-router-3.0.0.tgz","fileCount":31,"unpackedSize":391334,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa9hQSCRA9TVsSAnZWagAAXjYP/04LlryDaqqCT5S8BfXy\nRYxnzlK9PTrOaLxDHw94ZvQwXT7CXjDM86mys42bcEwS6hXkFHGciVLQp/X5\nejt3EEQhFbtn7k9EmjpPinnGe7j8AHyh4BQtXXlEqWyXM0um0b5tqZFzpG5s\nbW7bj3ebGNVXhQkIhfbX2czGkEGOgRwXDe1WVfA/TNkh5/rW3kW9mkFc6DpF\nsMW/Iww+SMyHv6afJgHsdeoMgPRCVGLWkU9z0EZa1G4v0IGEk/2GG3AMPN3D\nTAkkKl/wO6Tywivww6QJ1wSVASsPfZkt9TrVzoXte+kFXVYzc7/ApHK6kuFp\neJC6mMT3nmIEUFamClvhrknKxbOAnQfjO+xRZz4vLiNGBZQ4L4savsii4vxv\nXkF9KceSVk1UFuaov2hGuGQR0T2Dhr/qOcAOdKPOcokUdgkcKSZ9CwFGawtW\ntwdm4PcwCXxkJJKZYH+Xudm2s0oV/SGCFmAHy5Oxs/WNJatvyPaXgFHoMFLU\nyqA8C7wAPG/hakbvPIb86KOkMEyxJhc0nzT5/EpOZobZiOOvenQ+Yw81u9ea\nxUSyijG6MvjdRmH56scdjnBcMjoXqKbIyYq0/PfLRson4fy8BqhdkXaxvlzP\n98fNMzdO1SNyTj1HdmzCIy/MsjjVcQeWsVgYx5E8Upt96JwmZzqQ5tm7CplZ\nhvVu\r\n=m+gL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHYHzemkdEnAuaysfRWklLxlrIFgX2qGJ5dnX5LMXFkAAiEArB2titbJJQC+Q+JFTF/u+ZET/kHiGD/+GHhcne3nCyc="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/polymer-ui-router_3.0.0_1526076433557_0.49338445576288836"},"_hasShrinkwrap":false},"3.0.1":{"description":"State-based routing for Web Components","keywords":["web-components","polymer","router","routing","url","routes","ui-router","ui-router-core"],"repository":{"type":"git","url":"git+https://github.com/ergo/polymer-ui-router.git"},"homepage":"https://github.com/ergo/polymer-ui-router#readme","name":"polymer-ui-router","version":"3.0.1","contributors":[{"name":"Christopher Thielen"}],"maintainers":[{"name":"ergo14","email":"info@webreactor.eu"}],"scripts":{"bower":"bower install","serve":"polymer serve"},"engines":{"node":">=4.0.0"},"license":"Apache-2.0","dependencies":{"@uirouter/core":"^5.0.19","@polymer/polymer":"^3.0.0"},"devDependencies":{"polymer-cli":"","@polymer/iron-component-page":"^3.0.0-pre.18","@polymer/iron-demo-helpers":"^3.0.0-pre.18","wct-browser-legacy":"^0.0.1-pre.11","@webcomponents/webcomponentsjs":"^2.0.0"},"resolutions":{"inherits":"2.0.3","samsam":"1.1.3","supports-color":"3.1.2","type-detect":"1.0.0","@webcomponents/webcomponentsjs":"2.0.0-beta.2"},"gitHead":"ecae999de5713b977470dbc1eac0c5048b10c937","_id":"polymer-ui-router@3.0.1","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"ergo14","email":"info@webreactor.eu"},"dist":{"integrity":"sha512-Z2ZNRbQI4KTuA9mk0+K88m4uiJsNGcmBm3O08L4q7ljsWUvIKoEm4ExgzZk5H2AamwPt4Qxdt8hzW3WGQ+oPNQ==","shasum":"a618059cf6940df2a6f67015933efd28ec68f9a8","tarball":"https://registry.npmjs.org/polymer-ui-router/-/polymer-ui-router-3.0.1.tgz","fileCount":31,"unpackedSize":391662,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa9h3yCRA9TVsSAnZWagAAJyoP/RLOWvPtGA4+x0qwU7LE\nPawd2ezw9nMuWjdlGTZukP+QScbHxberLggsaPiFDguIhnGOFdscatm38ZRt\nx2czvKm/vAKBSJJiUCJAH1MwokLVJ0gn/V7CUbtVrNea+9ehROZpE4sRRYGh\nKdjx3RWpkSytECHMG/DBIFjLVyhnad+C1QGXApIs4puhDFff3BDwZgx6psvc\nOouWpTN/I6t3Hcwr+2dbxbVcgghQl93IHgDCyInTm0ooVK6eUW7sRuaRYv3P\nEMXa3fZFeK2IWKGhy6PMpqa6/0xgrtUShZfRegOQ7rwf/aB9FlGNnF1mCLnA\nphk5ElU0gOf0nMhDE1j6J8FL92ett/KU/EV6kHSW4zWZpujtuCrkeol6Xgyc\noKvzg+JkmzwvmVS1qIqKM7VRhtpNi5mVPgrjLsuIV13xGUD+cDQBLhUZ6F++\nBfNLTRmkFrqqesELzaE+kWN6aJQ9OApHMaA0DJsUeVLV9stcfspeULW1mgAc\nqEfG0lw91P5YAhqvf+lDWE92F1kQvYvpJBJ4tdPy249SwT+It1T5LFH8sCsW\ngPCnl3/5sd5zDKnHCC88FXI7ySmK7xWcCB7Hok1vkX/0yhNulplTc8QEn7og\neX+IDa+aSUViCiG07UozF9foZ+RHiHuS/k60+TJGOCCTR/tJ5ijm4jgmeOtY\nkMvr\r\n=8UJN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFd9iwmyeSZzzdLLtlhH+KNt0C47zrUL7hvYPcxfWMlMAiEAwL6+FX6KY9PExzzeMI10BtVye+g7qVgysh2JAHQynJE="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/polymer-ui-router_3.0.1_1526078961545_0.3148683869598763"},"_hasShrinkwrap":false},"3.0.2":{"description":"State-based routing for Web Components","keywords":["web-components","polymer","router","routing","url","routes","ui-router","ui-router-core"],"repository":{"type":"git","url":"git+https://github.com/ergo/polymer-ui-router.git"},"homepage":"https://github.com/ergo/polymer-ui-router#readme","name":"polymer-ui-router","version":"3.0.2","contributors":[{"name":"Christopher Thielen"}],"maintainers":[{"name":"ergo14","email":"info@webreactor.eu"}],"scripts":{"serve":"polymer serve"},"engines":{"node":">=4.0.0"},"license":"Apache-2.0","dependencies":{"@polymer/polymer":"^3.0.0","@uirouter/core":"^5.0.21","npm":"^6.4.1"},"devDependencies":{"@polymer/iron-component-page":"^4.0.0","@polymer/iron-demo-helpers":"^3.0.0","@webcomponents/webcomponentsjs":"^2.0.0","polymer-cli":"","wct-browser-legacy":"^1.0.0"},"gitHead":"310686d105114099361aaa9436d3d359b3939379","_id":"polymer-ui-router@3.0.2","_npmVersion":"6.4.1","_nodeVersion":"8.10.0","_npmUser":{"name":"ergo14","email":"info@webreactor.eu"},"dist":{"integrity":"sha512-A7za8Mg7UrTYyUMreWnG7X8LRu66Wj2z4U39TtmaSM8qSmVBu6ZXdm/uWMdy356avwChVzCRzAjqMobjRp3H7g==","shasum":"b928aa9b511b66216ebf3cbea2f013b7ffdaec77","tarball":"https://registry.npmjs.org/polymer-ui-router/-/polymer-ui-router-3.0.2.tgz","fileCount":38,"unpackedSize":501140,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbpRqyCRA9TVsSAnZWagAAn/UQAIScuKYcxfoaQHFVy6Tu\nQ+awRSZbG1kBYYlbDajlaoo2kmMbmMYQ0GfNecqH74FvdTirLprOt5fZmi5f\nCbt/dI7jJioJ+E+b+EGnbj7TCI9Kvq/CSYfHjyAjm78t7E9JAtnZu6uNfk9F\nnViBMoFOZ1rczRk2E9Q2scaArf3SCw5ye1+HmgYcG4MtTC5n3NjaXfaldWbA\nmGxzZUQ3g0ZaoH/9x2rBtDeT4z85OAmV3M+WAlEehQAHI+odFO76HQZ2dkC0\nWE6CV6m5yEgKk8jr1Q58KWWW4VHI0PGhjVtOq7l9tEfug7xa+AS7V/6uB2oe\nR0E1PA6+2n8kBNr8CLi//yxROrOjJjMjG6kFkk02BS3M1zKe0Kxa02nMbFqR\nsxJzfMyjuM3bb2c8hWpSSXoxzLyDIkPagGGiXdz7LQHiZ+59qe1BzwbonuMy\nQbsLF5tjgem94At/YgUnbHaIZOIEnbR+bsqpg2vwH9acAbqbd1Ab05ky8IhC\neodQiOZjBBVHr6MJ35JOFIHuS6JyYPZ47CW+y5seiWAQfIKM9N+oK/SIoOqz\n03UDRsLB7n/j9pA8QakOkvpqDrHLiwnpKkFvynyDkVYU9ho03j3uozxw9DWl\nIi1cWAsrX//zKoowsxyhlM+SSQCS5jKxlXuy531tFYb0Nyz50rq1c1EaCuzm\nLGLe\r\n=hcbd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHjc08PTudJWuMRI8WnnKQfB3KLCkv2B/yrraIDkOMrOAiBDTSkAyjNaPI0ZZaeFwLvrPRIB+5OMn6gpwEyOPxSuSg=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/polymer-ui-router_3.0.2_1537546927518_0.7110438597500524"},"_hasShrinkwrap":false},"3.0.3":{"description":"State-based routing for Web Components","keywords":["web-components","polymer","router","routing","url","routes","ui-router","ui-router-core"],"repository":{"type":"git","url":"git+https://github.com/ergo/polymer-ui-router.git"},"homepage":"https://github.com/ergo/polymer-ui-router#readme","name":"polymer-ui-router","version":"3.0.3","contributors":[{"name":"Christopher Thielen"}],"maintainers":[{"name":"ergo14","email":"info@webreactor.eu"}],"scripts":{"serve":"polymer serve"},"engines":{"node":">=4.0.0"},"license":"Apache-2.0","dependencies":{"@uirouter/core":"^5.0.21","@polymer/polymer":"^3.0.0"},"devDependencies":{"polymer-cli":"","@polymer/iron-component-page":"^4.0.0","@polymer/iron-demo-helpers":"^3.0.0","wct-browser-legacy":"^1.0.0","@webcomponents/webcomponentsjs":"^2.0.0"},"gitHead":"c2546b1b0319d916f7564c537e4f1df20e834b9b","_id":"polymer-ui-router@3.0.3","_shasum":"89798af0846f21e126ded00cfbdfacdc3713f224","_from":".","_npmVersion":"3.5.2","_nodeVersion":"8.10.0","_npmUser":{"name":"ergo14","email":"info@webreactor.eu"},"dist":{"shasum":"89798af0846f21e126ded00cfbdfacdc3713f224","tarball":"https://registry.npmjs.org/polymer-ui-router/-/polymer-ui-router-3.0.3.tgz","integrity":"sha512-Yj3F1VilJcNUy4kbWkJsdRCaCXeaIR6zGQJ+fsR2lJIF6M1ilvdrn2EGGtg0Xx0MwaUbBQ4eCRYFVFSI5cIIvA==","fileCount":31,"unpackedSize":476352,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb3ZMLCRA9TVsSAnZWagAAKjwP/RZKKKiMs/nyCSsUyCXI\n88WFs7Vw9kRiw9Y6sboEPfilPzqenFaI4p4xr9TLKH1R9icD+mH+5MwhTNG/\n1H4xMKXlxq1NfarCNBufNb4+h4uC84DaBL3z8B8LxhnmAYvq8WZfCOavV2M7\nvjwB6iUhLqO2rG7HzqDh4ttafMIdRHL0AZ6GwWOdkn5baOK1daW/gnq8caIv\nJofpJEUJVgo2jSu6XDbD4NAzOtx7kpBGRBniVIndQeLPNQN94D6McXFWJOeS\nQC9mtAs1cBVXjPGCated8FkDBCuJh4ADObwWk7PObTlMFjGoghyMkEmXOahI\n5zebta/BoWWH2RAnD/wfaOiqlF9flAbKI7izAbNYHagmg5Qc6XHvA3Rt9XFg\nQS8Xn8n2Jqj4B/IuJOwOA0AYE1KQVgptifoMzEFVkwcfv6XDGJqR8qeDnkJU\nCk2PFTgxWH5+onLT2ZBiENkSQ9Twxlbl/yBWKmeohVo0Z2t0827PRyK7g6lf\nwTavPcqSabCL0RcwEk6sDDDN/Dxq2IOuRTLBZZs5nrBDaR6z/l+wrfQAdKgf\ni9wdP2c3L6Zg/vDGwbK3yeNxUDw3TIyxZgHbEz+o6Dkeif8uMg1uq4HTbQ7I\nAxJjz7daflntNIylsK456hbJnlecjpCi4BAycS/ILfqWrtTOrbpvKgFCI6NC\nL5LS\r\n=Yjfy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCo6aVPYju087Zsd7lMds9Zkum0dWLJInXLQoMz0G7RewIhANE4YoIqSTeIon/qLijI+2+N7miQkY0QpZIpZu6svC03"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/polymer-ui-router_3.0.3_1541247754615_0.11119942805598071"},"_hasShrinkwrap":false}},"time":{"created":"2018-05-11T22:07:13.556Z","3.0.0":"2018-05-11T22:07:13.622Z","modified":"2022-05-13T04:46:26.112Z","3.0.1":"2018-05-11T22:49:21.615Z","3.0.2":"2018-09-21T16:22:09.404Z","3.0.3":"2018-11-03T12:22:34.763Z"},"maintainers":[{"name":"ergo14","email":"info@webreactor.eu"}],"description":"State-based routing for Web Components","homepage":"https://github.com/ergo/polymer-ui-router#readme","keywords":["web-components","polymer","router","routing","url","routes","ui-router","ui-router-core"],"repository":{"type":"git","url":"git+https://github.com/ergo/polymer-ui-router.git"},"contributors":[{"name":"Christopher Thielen"}],"license":"Apache-2.0","readme":"# \\<polymer-ui-router\\>\n\n## UI Router Web Component wrapper (using minimal bits from Polymer 3.x base element)\n\nUse https://ui-router.github.io/core/docs/latest/ and https://ui-router.github.io/ \nFor general UI-Router documentation.\n\n**Demo page: https://www.webcomponents.org/element/ergo/polymer-ui-router**\n\nUI-Router is one of most popular routing solutions, \nwith ports for angular 1.x, 2.x+ and react - now also available for Web Components.\n\nUI-Router provides state based routing. Each feature of an application is defined as a state. One state is active at any time, and UI-Router manages the transitions between the states.\n\nEach state describes the URL, the UI (a view or views), data prerequisites, and other logical prerequisites (such as authentication) for a feature. Before activating a state, UI-Router first fetches any prerequisites (asynchronously), and then activates the view(s) and updates the URL.\n\nUI-Router states are hierarchical; states can be nested inside other states, forming a tree.\nChild states may inherit data and behavior (such as authentication) from their parent states.\n\nSome features of UI Router:\n\n* Hierarchical states both abstract and components based\n* States can be resolve *(including async)* and activate based on set prerequisites \n* Multiple views per state\n* Views can be nested inside other views\n* Transition and lifecycle API's\n\n## Example usage\n\n    let routerStates = [\n       {name: \"index_route\", url: \"/index\", component: \"index-comp\"},\n       {name: \"foo\", url: \"/foo\", component: \"foo-comp\"},\n       {name: \"arg\", url: \"/arg/:argumentId?:test\", component: \"arguments-comp\"},\n       {name: \"user\", url: \"/bar\", component: \"bar-comp\"},\n       {name: \"state_a\", parent: 'bar.baz', url: \"/a\", component: \"baz-a-comp\"},\n       {name: \"state_b\", parent: 'bar.baz', url: \"/b\", component: \"baz-b-comp\"}\n       ]\n    // top-level\n    <uirouter-router id=\"ui-router\" states=\"[[routerStates]]\" auto-start>\n    </uirouter-router>\n    \n    // view level, generates A tags\n    <uirouter-sref state=\"foo\" reload>Foo (this restomps every click)</uirouter-sref>\n    <uirouter-sref state=\"arg\" param-argument-id=\"99\">\n        With arguments directly\n    </uirouter-sref>\n    \n    // this injects new views based on router state, /index path will \n    // result in <index-comp/> being stomped\n    <uirouter-uiview></uirouter-uiview>\n\n\n## Install the Polymer-CLI\n\nFirst, make sure you have the [Polymer CLI](https://www.npmjs.com/package/polymer-cli) installed. \n\nInstall bower and npm dependencies (quick way is `yarn bower`).\n\nThen run `yarn serve` to serve your application locally.\n\n## TIPS\n\nSet a `<base href=\"$path\">` tag in your index.html to let the router know the static/base part of your URL\n","readmeFilename":"README.md"}