{"_id":"@biko/ui-router-dsr","_rev":"7-5edf403bf50023becb5d87bcca01db55","name":"@biko/ui-router-dsr","description":"UI-Router Deep State Redirect: redirect to the most recently activated child state","dist-tags":{"latest":"1.0.3-biko"},"versions":{"1.0.3-biko":{"name":"@biko/ui-router-dsr","description":"UI-Router Deep State Redirect: redirect to the most recently activated child state","version":"1.0.3-biko","scripts":{"clean":"shx rm -rf lib lib-esm _bundles","build":"npm run compile && rollup -c && rollup -c --environment MINIFY","compile":"npm run clean && tsc && tsc -m es6 --outDir lib-esm","prepare":"npm run build","test":"karma start","watch":"run-p watch:*","watch:buildjs":"tsc -w","watch:test":"karma start --singleRun=false --autoWatch=true --autoWatchInterval=1","debug":"karma start --singleRun=false --autoWatch=true --autoWatchInterval=1 --browsers=Chrome"},"homepage":"https://ui-router.github.io","contributors":[{"name":"Chris Thielen","url":"https://github.com/christopherthielen"}],"maintainers":[{"name":"UIRouter Team","url":"https://github.com/ui-router?tab=members"}],"repository":{"type":"git","url":"git+https://github.com/ui-router/dsr.git"},"bugs":{"url":"https://github.com/ui-router/dsr/issues"},"engines":{"node":">=4.0.0"},"jsnext:main":"lib-esm/index.js","main":"lib/index.js","typings":"lib/index.d.ts","license":"MIT","peerDependencies":{"@uirouter/core":"^5.0.0"},"devDependencies":{"@types/jasmine":"^2.2.34","@types/jquery":"^1.10.31","@types/lodash":"^4.14.38","@uirouter/core":"^5.0.0","awesome-typescript-loader":"^3.1.3","conventional-changelog":"^1.1.0","conventional-changelog-cli":"^1.1.1","conventional-changelog-ui-router-core":"^1.3.0","core-js":"^2.4.1","jasmine-core":"^2.4.1","karma":"^1.2.0","karma-chrome-launcher":"~0.1.0","karma-coverage":"^0.5.3","karma-jasmine":"^1.0.2","karma-phantomjs-launcher":"^1.0.2","karma-script-launcher":"~0.1.0","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^1.8.0","lodash":"^4.16.6","npm-run-all":"^3.1.1","readline-sync":"^1.4.4","rollup":"^0.41.6","rollup-plugin-node-resolve":"^3.0.0","rollup-plugin-progress":"^0.2.1","rollup-plugin-sourcemaps":"^0.4.2","rollup-plugin-uglify":"^1.0.2","shelljs":"^0.7.0","shx":"^0.1.4","tslint":"=2.5.0","typescript":"^2.3.0","webpack":"^1.13.3"},"gitHead":"8bf8fc9ca4b98c7c02a8cb478956421bcc4708ae","_id":"@biko/ui-router-dsr@1.0.3-biko","_shasum":"abf75a236cc064e5db46988d6650630b171ebbe0","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.2","_npmUser":{"name":"daneget","email":"daniel.eguzkiza@biko2.com"},"dist":{"shasum":"abf75a236cc064e5db46988d6650630b171ebbe0","tarball":"https://registry.npmjs.org/@biko/ui-router-dsr/-/ui-router-dsr-1.0.3-biko.tgz","integrity":"sha512-7i9VF82azOI4pd+1JKhZHdpxcacdAWsz4BREg113cGjbOgAWNktfTystVL192QkgrVX4j3eJy5T7SVmj6sXCng==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDM8xY6ZcdicJ8vmTFgBIlu2b6Zqyb4M2R1TIOUYcm30gIgZTi+mfIFoxM96FGELyO5HSwE8LY90b1ZWV0t9fl+HnA="}]},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ui-router-dsr-1.0.3-biko.tgz_1502265921481_0.9344627405516803"}}},"readme":"# Deep State Redirect\n\n### DSR for UI-Router 1.0 &nbsp;[![Build Status](https://travis-ci.org/christopherthielen/deep-state-redirect.svg?branch=master)](https://travis-ci.org/christopherthielen/deep-state-redirect)\n\nWith Deep State Redirect, a parent state remembers whatever child state was last activated.\nWhen the user directly reactivates the parent state, they are redirected to the nested state (which was previously activated).\n\n\n## Overview and Use Case\n\nDeep State Redirect (DSR) is a marker you can add to a state definition.\n\nWhen a child state of the DSR marked state is activated, UI-Router Extras remembers the child and its parameters.\nThe most-recently-activate child is remembered no matter where the user navigates in the state tree.\nWhen the DSR marked state is directly activated, UI-Router Extras will redirect to the remembered child state and parameters.\n\nOne use case for DSR is a tabbed application.\nEach tab might contain an application module.\nEach tabs' state is marked as deepStateRedirect.\nWhen the user navigates into the tab, and drills down to a substate, DSR will remember the substate.\nThe user can then navigate to other tabs (or somewhere else completely).\nWhen they click the original tab again, it will transition to the remembered ehild state and parameters of that tab, making it appear that the tab was never destructed.\n\nDeep State Redirect can be used with StickyStates, or on its own.\nIf used with a Sticky State, the states will be reactivated, and the DOM will be unchanged (as opposed to the states being re-entered and controllers re-initialized)\n\n## Using\n\nSee: http://christopherthielen.github.io/ui-router-extras/#/dsr\n\nTODO: Move docs here\n","maintainers":[{"email":"asilgag@gmail.com","name":"asilgag"},{"email":"ismael.liberal@biko2.com","name":"ismaeliberal"},{"email":"david.gallego@biko2.com","name":"gallegodavid"},{"email":"carlos.martinez@biko2.com","name":"carlos.martinez.biko2"},{"email":"rubenbp@gmail.com","name":"rubenbp"},{"email":"daniel.eguzkiza@biko2.com","name":"daneget"}],"time":{"modified":"2022-06-12T15:13:54.029Z","created":"2017-08-09T08:05:22.479Z","1.0.3-biko":"2017-08-09T08:05:22.479Z"},"homepage":"https://ui-router.github.io","repository":{"type":"git","url":"git+https://github.com/ui-router/dsr.git"},"contributors":[{"name":"Chris Thielen","url":"https://github.com/christopherthielen"}],"bugs":{"url":"https://github.com/ui-router/dsr/issues"},"license":"MIT","readmeFilename":"README.md"}