@ngrx/router-store
Advanced tools
Comparing version 7.4.0 to 8.0.0-beta.0
/** | ||
* @license NgRx 7.4.0 | ||
* @license NgRx 8.0.0-beta.0 | ||
* (c) 2015-2018 Brandon Roberts, Mike Ryan, Rob Wormald, Victor Savkin | ||
@@ -7,6 +7,6 @@ * License: MIT | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/router'), require('@ngrx/store'), require('rxjs/operators')) : | ||
typeof define === 'function' && define.amd ? define('@ngrx/router-store', ['exports', '@angular/core', '@angular/router', '@ngrx/store', 'rxjs/operators'], factory) : | ||
(global = global || self, factory((global.ngrx = global.ngrx || {}, global.ngrx.routerStore = {}), global.ng.core, global.ng.router, global['@ngrx/store'], global.rxjs.operators)); | ||
}(this, function (exports, core, router, store, operators) { 'use strict'; | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('tslib'), require('@angular/core'), require('@angular/router'), require('@ngrx/store'), require('rxjs/operators')) : | ||
typeof define === 'function' && define.amd ? define('@ngrx/router-store', ['exports', 'tslib', '@angular/core', '@angular/router', '@ngrx/store', 'rxjs/operators'], factory) : | ||
(global = global || self, factory((global.ngrx = global.ngrx || {}, global.ngrx.routerStore = {}), global.tslib, global.ng.core, global.ng.router, global['@ngrx/store'], global.rxjs.operators)); | ||
}(this, function (exports, tslib_1, core, router, store, operators) { 'use strict'; | ||
@@ -98,41 +98,2 @@ /** | ||
var __assign = (undefined && undefined.__assign) || function () { | ||
__assign = Object.assign || function(t) { | ||
for (var s, i = 1, n = arguments.length; i < n; i++) { | ||
s = arguments[i]; | ||
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) | ||
t[p] = s[p]; | ||
} | ||
return t; | ||
}; | ||
return __assign.apply(this, arguments); | ||
}; | ||
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) { | ||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; | ||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); | ||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; | ||
return c > 3 && r && Object.defineProperty(target, key, r), r; | ||
}; | ||
var __metadata = (undefined && undefined.__metadata) || function (k, v) { | ||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); | ||
}; | ||
var __param = (undefined && undefined.__param) || function (paramIndex, decorator) { | ||
return function (target, key) { decorator(target, key, paramIndex); } | ||
}; | ||
var __read = (undefined && undefined.__read) || function (o, n) { | ||
var m = typeof Symbol === "function" && o[Symbol.iterator]; | ||
if (!m) return o; | ||
var i = m.call(o), r, ar = [], e; | ||
try { | ||
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); | ||
} | ||
catch (error) { e = { error: error }; } | ||
finally { | ||
try { | ||
if (r && !r.done && (m = i["return"])) m.call(i); | ||
} | ||
finally { if (e) throw e.error; } | ||
} | ||
return ar; | ||
}; | ||
(function (NavigationActionTiming) { | ||
@@ -146,3 +107,3 @@ NavigationActionTiming[NavigationActionTiming["PreActivation"] = 1] = "PreActivation"; | ||
function _createRouterConfig(config) { | ||
return __assign({ stateKey: DEFAULT_ROUTER_FEATURENAME, serializer: DefaultRouterStateSerializer, navigationActionTiming: exports.NavigationActionTiming.PreActivation }, config); | ||
return tslib_1.__assign({ stateKey: DEFAULT_ROUTER_FEATURENAME, serializer: DefaultRouterStateSerializer, navigationActionTiming: exports.NavigationActionTiming.PreActivation }, config); | ||
} | ||
@@ -155,3 +116,2 @@ var RouterTrigger; | ||
})(RouterTrigger || (RouterTrigger = {})); | ||
var ɵ0 = {}; | ||
/** | ||
@@ -191,3 +151,3 @@ * Connects RouterModule with StoreModule. | ||
* ]), | ||
* StoreRouterConnectingModule | ||
* StoreRouterConnectingModule.forRoot() | ||
* ], | ||
@@ -221,2 +181,7 @@ * bootstrap: [AppCmp] | ||
{ | ||
provide: ROUTER_CONFIG, | ||
useFactory: _createRouterConfig, | ||
deps: [_ROUTER_CONFIG], | ||
}, | ||
{ | ||
provide: RouterStateSerializer, | ||
@@ -235,3 +200,3 @@ useClass: config.serializer | ||
.subscribe(function (_a) { | ||
var _b = __read(_a, 2), routerStoreState = _b[0], storeState = _b[1]; | ||
var _b = tslib_1.__read(_a, 2), routerStoreState = _b[0], storeState = _b[1]; | ||
_this.navigateIfNeeded(routerStoreState, storeState); | ||
@@ -268,3 +233,3 @@ }); | ||
.subscribe(function (_a) { | ||
var _b = __read(_a, 2), event = _b[0], storeState = _b[1]; | ||
var _b = tslib_1.__read(_a, 2), event = _b[0], storeState = _b[1]; | ||
_this.lastEvent = event; | ||
@@ -334,3 +299,3 @@ if (event instanceof router.NavigationStart) { | ||
type: type, | ||
payload: __assign({ routerState: this.routerState }, payload), | ||
payload: tslib_1.__assign({ routerState: this.routerState }, payload), | ||
}); | ||
@@ -348,22 +313,6 @@ } | ||
var StoreRouterConnectingModule_1; | ||
StoreRouterConnectingModule = StoreRouterConnectingModule_1 = __decorate([ | ||
core.NgModule({ | ||
providers: [ | ||
{ | ||
provide: _ROUTER_CONFIG, | ||
useValue: ɵ0, | ||
}, | ||
{ | ||
provide: ROUTER_CONFIG, | ||
useFactory: _createRouterConfig, | ||
deps: [_ROUTER_CONFIG], | ||
}, | ||
{ | ||
provide: RouterStateSerializer, | ||
useClass: DefaultRouterStateSerializer, | ||
}, | ||
], | ||
}), | ||
__param(4, core.Inject(ROUTER_CONFIG)), | ||
__metadata("design:paramtypes", [store.Store, | ||
StoreRouterConnectingModule = StoreRouterConnectingModule_1 = tslib_1.__decorate([ | ||
core.NgModule({}), | ||
tslib_1.__param(4, core.Inject(ROUTER_CONFIG)), | ||
tslib_1.__metadata("design:paramtypes", [store.Store, | ||
router.Router, | ||
@@ -370,0 +319,0 @@ RouterStateSerializer, |
/** | ||
* @license NgRx 7.4.0 | ||
* @license NgRx 8.0.0-beta.0 | ||
* (c) 2015-2018 Brandon Roberts, Mike Ryan, Rob Wormald, Victor Savkin | ||
* License: MIT | ||
*/ | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("@angular/router"),require("@ngrx/store"),require("rxjs/operators")):"function"==typeof define&&define.amd?define("@ngrx/router-store",["exports","@angular/core","@angular/router","@ngrx/store","rxjs/operators"],e):e(((t=t||self).ngrx=t.ngrx||{},t.ngrx.routerStore={}),t.ng.core,t.ng.router,t["@ngrx/store"],t.rxjs.operators)}(this,function(t,e,r,o,i){"use strict";var n,a="@ngrx/router-store/error",s=function s(){},u=function(){function t(){}return t.prototype.serialize=function(t){return{root:this.serializeRoute(t.root),url:t.url}},t.prototype.serializeRoute=function(t){var e=this,r=t.children.map(function(t){return e.serializeRoute(t)});return{params:t.params,paramMap:t.paramMap,data:t.data,url:t.url,outlet:t.outlet,routeConfig:t.routeConfig?{component:t.routeConfig.component,path:t.routeConfig.path,pathMatch:t.routeConfig.pathMatch,redirectTo:t.routeConfig.redirectTo,outlet:t.routeConfig.outlet}:null,queryParams:t.queryParams,queryParamMap:t.queryParamMap,fragment:t.fragment,component:t.routeConfig?t.routeConfig.component:void 0,root:void 0,parent:void 0,firstChild:r[0],pathFromRoot:void 0,children:r}},t}(),c=function(){return(c=Object.assign||function(t){for(var e,r=1,o=arguments.length;r<o;r++)for(var i in e=arguments[r])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)},p=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},l=function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var o,i,n=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(o=n.next()).done;)a.push(o.value)}catch(t){i={error:t}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(i)throw i.error}}return a};(n=t.NavigationActionTiming||(t.NavigationActionTiming={}))[n.PreActivation=1]="PreActivation",n[n.PostActivation=2]="PostActivation";var g,f=new e.InjectionToken("@ngrx/router-store Internal Configuration"),h=new e.InjectionToken("@ngrx/router-store Configuration"),d="router";function v(e){return c({stateKey:d,serializer:u,navigationActionTiming:t.NavigationActionTiming.PreActivation},e)}!function(t){t[t.NONE=1]="NONE",t[t.ROUTER=2]="ROUTER",t[t.STORE=3]="STORE"}(g||(g={}));var R={},y=function(){function n(t,e,r,o,i){this.store=t,this.router=e,this.serializer=r,this.errorHandler=o,this.config=i,this.lastEvent=null,this.trigger=g.NONE,this.stateKey=this.config.stateKey,this.setUpStoreStateListener(),this.setUpRouterEventsListener()}var d,y;return d=n,n.forRoot=function(t){return void 0===t&&(t={}),{ngModule:d,providers:[{provide:f,useValue:t},{provide:s,useClass:t.serializer?t.serializer:u}]}},n.prototype.setUpStoreStateListener=function(){var t=this;this.store.pipe(o.select(this.stateKey),i.withLatestFrom(this.store)).subscribe(function(e){var r=l(e,2);t.navigateIfNeeded(r[0],r[1])})},n.prototype.navigateIfNeeded=function(t,e){var o=this;if(t&&t.state&&this.trigger!==g.ROUTER&&!(this.lastEvent instanceof r.NavigationStart)){var i=t.state.url;this.router.url!==i&&(this.storeState=e,this.trigger=g.STORE,this.router.navigateByUrl(i).catch(function(t){o.errorHandler.handleError(t)}))}},n.prototype.setUpRouterEventsListener=function(){var e,o=this,n=this.config.navigationActionTiming===t.NavigationActionTiming.PostActivation;this.router.events.pipe(i.withLatestFrom(this.store)).subscribe(function(t){var i=l(t,2),a=i[0],s=i[1];o.lastEvent=a,a instanceof r.NavigationStart?(o.routerState=o.serializer.serialize(o.router.routerState.snapshot),o.trigger!==g.STORE&&(o.storeState=s,o.dispatchRouterRequest(a))):a instanceof r.RoutesRecognized?(e=a,n||o.trigger===g.STORE||o.dispatchRouterNavigation(a)):a instanceof r.NavigationCancel?(o.dispatchRouterCancel(a),o.reset()):a instanceof r.NavigationError?(o.dispatchRouterError(a),o.reset()):a instanceof r.NavigationEnd&&(o.trigger!==g.STORE&&(n&&o.dispatchRouterNavigation(e),o.dispatchRouterNavigated(a)),o.reset())})},n.prototype.dispatchRouterRequest=function(t){this.dispatchRouterAction("@ngrx/router-store/request",{event:t})},n.prototype.dispatchRouterNavigation=function(t){var e=this.serializer.serialize(t.state);this.dispatchRouterAction("@ngrx/router-store/navigation",{routerState:e,event:new r.RoutesRecognized(t.id,t.url,t.urlAfterRedirects,e)})},n.prototype.dispatchRouterCancel=function(t){this.dispatchRouterAction("@ngrx/router-store/cancel",{storeState:this.storeState,event:t})},n.prototype.dispatchRouterError=function(t){this.dispatchRouterAction(a,{storeState:this.storeState,event:new r.NavigationError(t.id,t.url,""+t)})},n.prototype.dispatchRouterNavigated=function(t){var e=this.serializer.serialize(this.router.routerState.snapshot);this.dispatchRouterAction("@ngrx/router-store/navigated",{event:t,routerState:e})},n.prototype.dispatchRouterAction=function(t,e){this.trigger=g.ROUTER;try{this.store.dispatch({type:t,payload:c({routerState:this.routerState},e)})}finally{this.trigger=g.NONE}},n.prototype.reset=function(){this.trigger=g.NONE,this.storeState=null,this.routerState=null},d=function(t,e,r,o){var i,n=arguments.length,a=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,r,o);else for(var s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,r,a):i(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a}([e.NgModule({providers:[{provide:f,useValue:R},{provide:h,useFactory:v,deps:[f]},{provide:s,useClass:u}]}),(4,y=e.Inject(h),function(t,e){y(t,e,4)}),p("design:paramtypes",[o.Store,r.Router,s,e.ErrorHandler,Object])],n)}();t.ɵngrx_modules_router_store_router_store_a=f,t.ɵngrx_modules_router_store_router_store_b=v,t.ROUTER_ERROR=a,t.ROUTER_CANCEL="@ngrx/router-store/cancel",t.ROUTER_NAVIGATION="@ngrx/router-store/navigation",t.ROUTER_NAVIGATED="@ngrx/router-store/navigated",t.ROUTER_REQUEST="@ngrx/router-store/request",t.routerReducer=function E(t,e){var r=e;switch(r.type){case"@ngrx/router-store/navigation":case a:case"@ngrx/router-store/cancel":return{state:r.payload.routerState,navigationId:r.payload.event.id};default:return t}},t.StoreRouterConnectingModule=y,t.ROUTER_CONFIG=h,t.DEFAULT_ROUTER_FEATURENAME=d,t.RouterStateSerializer=s,t.DefaultRouterStateSerializer=u,Object.defineProperty(t,"__esModule",{value:!0})}); | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("tslib"),require("@angular/core"),require("@angular/router"),require("@ngrx/store"),require("rxjs/operators")):"function"==typeof define&&define.amd?define("@ngrx/router-store",["exports","tslib","@angular/core","@angular/router","@ngrx/store","rxjs/operators"],e):e(((t=t||self).ngrx=t.ngrx||{},t.ngrx.routerStore={}),t.tslib,t.ng.core,t.ng.router,t["@ngrx/store"],t.rxjs.operators)}(this,function(t,e,r,o,i,n){"use strict";var a,s="@ngrx/router-store/error",u=function u(){},c=function(){function t(){}return t.prototype.serialize=function(t){return{root:this.serializeRoute(t.root),url:t.url}},t.prototype.serializeRoute=function(t){var e=this,r=t.children.map(function(t){return e.serializeRoute(t)});return{params:t.params,paramMap:t.paramMap,data:t.data,url:t.url,outlet:t.outlet,routeConfig:t.routeConfig?{component:t.routeConfig.component,path:t.routeConfig.path,pathMatch:t.routeConfig.pathMatch,redirectTo:t.routeConfig.redirectTo,outlet:t.routeConfig.outlet}:null,queryParams:t.queryParams,queryParamMap:t.queryParamMap,fragment:t.fragment,component:t.routeConfig?t.routeConfig.component:void 0,root:void 0,parent:void 0,firstChild:r[0],pathFromRoot:void 0,children:r}},t}();(a=t.NavigationActionTiming||(t.NavigationActionTiming={}))[a.PreActivation=1]="PreActivation",a[a.PostActivation=2]="PostActivation";var g,p=new r.InjectionToken("@ngrx/router-store Internal Configuration"),h=new r.InjectionToken("@ngrx/router-store Configuration"),l="router";function d(r){return e.__assign({stateKey:l,serializer:c,navigationActionTiming:t.NavigationActionTiming.PreActivation},r)}!function(t){t[t.NONE=1]="NONE",t[t.ROUTER=2]="ROUTER",t[t.STORE=3]="STORE"}(g||(g={}));var R=function(){function a(t,e,r,o,i){this.store=t,this.router=e,this.serializer=r,this.errorHandler=o,this.config=i,this.lastEvent=null,this.trigger=g.NONE,this.stateKey=this.config.stateKey,this.setUpStoreStateListener(),this.setUpRouterEventsListener()}var l;return l=a,a.forRoot=function(t){return void 0===t&&(t={}),{ngModule:l,providers:[{provide:p,useValue:t},{provide:h,useFactory:d,deps:[p]},{provide:u,useClass:t.serializer?t.serializer:c}]}},a.prototype.setUpStoreStateListener=function(){var t=this;this.store.pipe(i.select(this.stateKey),n.withLatestFrom(this.store)).subscribe(function(r){var o=e.__read(r,2);t.navigateIfNeeded(o[0],o[1])})},a.prototype.navigateIfNeeded=function(t,e){var r=this;if(t&&t.state&&this.trigger!==g.ROUTER&&!(this.lastEvent instanceof o.NavigationStart)){var i=t.state.url;this.router.url!==i&&(this.storeState=e,this.trigger=g.STORE,this.router.navigateByUrl(i).catch(function(t){r.errorHandler.handleError(t)}))}},a.prototype.setUpRouterEventsListener=function(){var r,i=this,a=this.config.navigationActionTiming===t.NavigationActionTiming.PostActivation;this.router.events.pipe(n.withLatestFrom(this.store)).subscribe(function(t){var n=e.__read(t,2),s=n[0],u=n[1];i.lastEvent=s,s instanceof o.NavigationStart?(i.routerState=i.serializer.serialize(i.router.routerState.snapshot),i.trigger!==g.STORE&&(i.storeState=u,i.dispatchRouterRequest(s))):s instanceof o.RoutesRecognized?(r=s,a||i.trigger===g.STORE||i.dispatchRouterNavigation(s)):s instanceof o.NavigationCancel?(i.dispatchRouterCancel(s),i.reset()):s instanceof o.NavigationError?(i.dispatchRouterError(s),i.reset()):s instanceof o.NavigationEnd&&(i.trigger!==g.STORE&&(a&&i.dispatchRouterNavigation(r),i.dispatchRouterNavigated(s)),i.reset())})},a.prototype.dispatchRouterRequest=function(t){this.dispatchRouterAction("@ngrx/router-store/request",{event:t})},a.prototype.dispatchRouterNavigation=function(t){var e=this.serializer.serialize(t.state);this.dispatchRouterAction("@ngrx/router-store/navigation",{routerState:e,event:new o.RoutesRecognized(t.id,t.url,t.urlAfterRedirects,e)})},a.prototype.dispatchRouterCancel=function(t){this.dispatchRouterAction("@ngrx/router-store/cancel",{storeState:this.storeState,event:t})},a.prototype.dispatchRouterError=function(t){this.dispatchRouterAction(s,{storeState:this.storeState,event:new o.NavigationError(t.id,t.url,""+t)})},a.prototype.dispatchRouterNavigated=function(t){var e=this.serializer.serialize(this.router.routerState.snapshot);this.dispatchRouterAction("@ngrx/router-store/navigated",{event:t,routerState:e})},a.prototype.dispatchRouterAction=function(t,r){this.trigger=g.ROUTER;try{this.store.dispatch({type:t,payload:e.__assign({routerState:this.routerState},r)})}finally{this.trigger=g.NONE}},a.prototype.reset=function(){this.trigger=g.NONE,this.storeState=null,this.routerState=null},l=e.__decorate([r.NgModule({}),e.__param(4,r.Inject(h)),e.__metadata("design:paramtypes",[i.Store,o.Router,u,r.ErrorHandler,Object])],a)}();t.ɵngrx_modules_router_store_router_store_a=p,t.ɵngrx_modules_router_store_router_store_b=d,t.ROUTER_ERROR=s,t.ROUTER_CANCEL="@ngrx/router-store/cancel",t.ROUTER_NAVIGATION="@ngrx/router-store/navigation",t.ROUTER_NAVIGATED="@ngrx/router-store/navigated",t.ROUTER_REQUEST="@ngrx/router-store/request",t.routerReducer=function f(t,e){var r=e;switch(r.type){case"@ngrx/router-store/navigation":case s:case"@ngrx/router-store/cancel":return{state:r.payload.routerState,navigationId:r.payload.event.id};default:return t}},t.StoreRouterConnectingModule=R,t.ROUTER_CONFIG=h,t.DEFAULT_ROUTER_FEATURENAME=l,t.RouterStateSerializer=u,t.DefaultRouterStateSerializer=c,Object.defineProperty(t,"__esModule",{value:!0})}); |
@@ -73,3 +73,2 @@ /** | ||
RouterTrigger[RouterTrigger.STORE] = 'STORE'; | ||
const ɵ0 = {}; | ||
/** | ||
@@ -109,3 +108,3 @@ * Connects RouterModule with StoreModule. | ||
* ]), | ||
* StoreRouterConnectingModule | ||
* StoreRouterConnectingModule.forRoot() | ||
* ], | ||
@@ -149,2 +148,7 @@ * bootstrap: [AppCmp] | ||
{ | ||
provide: ROUTER_CONFIG, | ||
useFactory: _createRouterConfig, | ||
deps: [_ROUTER_CONFIG], | ||
}, | ||
{ | ||
provide: RouterStateSerializer, | ||
@@ -335,19 +339,3 @@ useClass: config.serializer | ||
StoreRouterConnectingModule.decorators = [ | ||
{ type: NgModule, args: [{ | ||
providers: [ | ||
{ | ||
provide: _ROUTER_CONFIG, | ||
useValue: ɵ0, | ||
}, | ||
{ | ||
provide: ROUTER_CONFIG, | ||
useFactory: _createRouterConfig, | ||
deps: [_ROUTER_CONFIG], | ||
}, | ||
{ | ||
provide: RouterStateSerializer, | ||
useClass: DefaultRouterStateSerializer, | ||
}, | ||
], | ||
},] } | ||
{ type: NgModule, args: [{},] } | ||
]; | ||
@@ -414,3 +402,2 @@ /** @nocollapse */ | ||
} | ||
export { ɵ0 }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm91dGVyX3N0b3JlX21vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL21vZHVsZXMvcm91dGVyLXN0b3JlL3NyYy9yb3V0ZXJfc3RvcmVfbW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQ0wsTUFBTSxFQUNOLGNBQWMsRUFFZCxRQUFRLEVBQ1IsWUFBWSxHQUNiLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFDTCxnQkFBZ0IsRUFDaEIsZUFBZSxFQUNmLGFBQWEsRUFDYixNQUFNLEVBQ04sZ0JBQWdCLEVBQ2hCLGVBQWUsR0FHaEIsTUFBTSxpQkFBaUIsQ0FBQztB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V0ZXJTdGF0ZSxcbiAgICAgICAgICAuLi5wYXlsb2FkLFxuICAgICAgICB9LFxuICAgICAgfSk7XG4gICAgfSBmaW5hbGx5IHtcbiAgICAgIHRoaXMudHJpZ2dlciA9IFJvdXRlclRyaWdnZXIuTk9ORTtcbiAgICB9XG4gIH1cblxuICBwcml2YXRlIHJlc2V0KCkge1xuICAgIHRoaXMudHJpZ2dlciA9IFJvdXRlclRyaWdnZXIuTk9ORTtcbiAgICB0aGlzLnN0b3JlU3RhdGUgPSBudWxsO1xuICAgIHRoaXMucm91dGVyU3RhdGUgPSBudWxsO1xuICB9XG59XG4iXX0= |
@@ -1,40 +0,2 @@ | ||
var __assign = (this && this.__assign) || function () { | ||
__assign = Object.assign || function(t) { | ||
for (var s, i = 1, n = arguments.length; i < n; i++) { | ||
s = arguments[i]; | ||
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) | ||
t[p] = s[p]; | ||
} | ||
return t; | ||
}; | ||
return __assign.apply(this, arguments); | ||
}; | ||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; | ||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); | ||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; | ||
return c > 3 && r && Object.defineProperty(target, key, r), r; | ||
}; | ||
var __metadata = (this && this.__metadata) || function (k, v) { | ||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); | ||
}; | ||
var __param = (this && this.__param) || function (paramIndex, decorator) { | ||
return function (target, key) { decorator(target, key, paramIndex); } | ||
}; | ||
var __read = (this && this.__read) || function (o, n) { | ||
var m = typeof Symbol === "function" && o[Symbol.iterator]; | ||
if (!m) return o; | ||
var i = m.call(o), r, ar = [], e; | ||
try { | ||
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); | ||
} | ||
catch (error) { e = { error: error }; } | ||
finally { | ||
try { | ||
if (r && !r.done && (m = i["return"])) m.call(i); | ||
} | ||
finally { if (e) throw e.error; } | ||
} | ||
return ar; | ||
}; | ||
import * as tslib_1 from "tslib"; | ||
import { Inject, InjectionToken, NgModule, ErrorHandler, } from '@angular/core'; | ||
@@ -55,3 +17,3 @@ import { NavigationCancel, NavigationError, NavigationEnd, Router, RoutesRecognized, NavigationStart, } from '@angular/router'; | ||
export function _createRouterConfig(config) { | ||
return __assign({ stateKey: DEFAULT_ROUTER_FEATURENAME, serializer: DefaultRouterStateSerializer, navigationActionTiming: NavigationActionTiming.PreActivation }, config); | ||
return tslib_1.__assign({ stateKey: DEFAULT_ROUTER_FEATURENAME, serializer: DefaultRouterStateSerializer, navigationActionTiming: NavigationActionTiming.PreActivation }, config); | ||
} | ||
@@ -64,3 +26,2 @@ var RouterTrigger; | ||
})(RouterTrigger || (RouterTrigger = {})); | ||
var ɵ0 = {}; | ||
/** | ||
@@ -100,3 +61,3 @@ * Connects RouterModule with StoreModule. | ||
* ]), | ||
* StoreRouterConnectingModule | ||
* StoreRouterConnectingModule.forRoot() | ||
* ], | ||
@@ -130,2 +91,7 @@ * bootstrap: [AppCmp] | ||
{ | ||
provide: ROUTER_CONFIG, | ||
useFactory: _createRouterConfig, | ||
deps: [_ROUTER_CONFIG], | ||
}, | ||
{ | ||
provide: RouterStateSerializer, | ||
@@ -144,3 +110,3 @@ useClass: config.serializer | ||
.subscribe(function (_a) { | ||
var _b = __read(_a, 2), routerStoreState = _b[0], storeState = _b[1]; | ||
var _b = tslib_1.__read(_a, 2), routerStoreState = _b[0], storeState = _b[1]; | ||
_this.navigateIfNeeded(routerStoreState, storeState); | ||
@@ -177,3 +143,3 @@ }); | ||
.subscribe(function (_a) { | ||
var _b = __read(_a, 2), event = _b[0], storeState = _b[1]; | ||
var _b = tslib_1.__read(_a, 2), event = _b[0], storeState = _b[1]; | ||
_this.lastEvent = event; | ||
@@ -243,3 +209,3 @@ if (event instanceof NavigationStart) { | ||
type: type, | ||
payload: __assign({ routerState: this.routerState }, payload), | ||
payload: tslib_1.__assign({ routerState: this.routerState }, payload), | ||
}); | ||
@@ -257,22 +223,6 @@ } | ||
var StoreRouterConnectingModule_1; | ||
StoreRouterConnectingModule = StoreRouterConnectingModule_1 = __decorate([ | ||
NgModule({ | ||
providers: [ | ||
{ | ||
provide: _ROUTER_CONFIG, | ||
useValue: ɵ0, | ||
}, | ||
{ | ||
provide: ROUTER_CONFIG, | ||
useFactory: _createRouterConfig, | ||
deps: [_ROUTER_CONFIG], | ||
}, | ||
{ | ||
provide: RouterStateSerializer, | ||
useClass: DefaultRouterStateSerializer, | ||
}, | ||
], | ||
}), | ||
__param(4, Inject(ROUTER_CONFIG)), | ||
__metadata("design:paramtypes", [Store, | ||
StoreRouterConnectingModule = StoreRouterConnectingModule_1 = tslib_1.__decorate([ | ||
NgModule({}), | ||
tslib_1.__param(4, Inject(ROUTER_CONFIG)), | ||
tslib_1.__metadata("design:paramtypes", [Store, | ||
Router, | ||
@@ -285,3 +235,2 @@ RouterStateSerializer, | ||
export { StoreRouterConnectingModule }; | ||
export { ɵ0 }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm91dGVyX3N0b3JlX21vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL21vZHVsZXMvcm91dGVyLXN0b3JlL3NyYy9yb3V0ZXJfc3RvcmVfbW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLE9BQU8sRUFDTCxNQUFNLEVBQ04sY0FBYyxFQUVkLFFBQVEsRUFDUixZQUFZLE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hSb3V0ZXJBY3Rpb24oXG4gICAgdHlwZTogc3RyaW5nLFxuICAgIHBheWxvYWQ6IFN0b3JlUm91dGVyQWN0aW9uUGF5bG9hZFxuICApOiB2b2lkIHtcbiAgICB0aGlzLnRyaWdnZXIgPSBSb3V0ZXJUcmlnZ2VyLlJPVVRFUjtcbiAgICB0cnkge1xuICAgICAgdGhpcy5zdG9yZS5kaXNwYXRjaCh7XG4gICAgICAgIHR5cGUsXG4gICAgICAgIHBheWxvYWQ6IHtcbiAgICAgICAgICByb3V0ZXJTdGF0ZTogdGhpcy5yb3V0ZXJTdGF0ZSxcbiAgICAgICAgICAuLi5wYXlsb2FkLFxuICAgICAgICB9LFxuICAgICAgfSk7XG4gICAgfSBmaW5hbGx5IHtcbiAgICAgIHRoaXMudHJpZ2dlciA9IFJvdXRlclRyaWdnZXIuTk9ORTtcbiAgICB9XG4gIH1cblxuICBwcml2YXRlIHJlc2V0KCkge1xuICAgIHRoaXMudHJpZ2dlciA9IFJvdXRlclRyaWdnZXIuTk9ORTtcbiAgICB0aGlzLnN0b3JlU3RhdGUgPSBudWxsO1xuICAgIHRoaXMucm91dGVyU3RhdGUgPSBudWxsO1xuICB9XG59XG4iXX0= |
/** | ||
* @license NgRx 7.4.0 | ||
* @license NgRx 8.0.0-beta.0 | ||
* (c) 2015-2018 Brandon Roberts, Mike Ryan, Rob Wormald, Victor Savkin | ||
@@ -164,3 +164,2 @@ * License: MIT | ||
RouterTrigger[RouterTrigger.STORE] = 'STORE'; | ||
const ɵ0 = {}; | ||
/** | ||
@@ -200,3 +199,3 @@ * Connects RouterModule with StoreModule. | ||
* ]), | ||
* StoreRouterConnectingModule | ||
* StoreRouterConnectingModule.forRoot() | ||
* ], | ||
@@ -240,2 +239,7 @@ * bootstrap: [AppCmp] | ||
{ | ||
provide: ROUTER_CONFIG, | ||
useFactory: _createRouterConfig, | ||
deps: [_ROUTER_CONFIG], | ||
}, | ||
{ | ||
provide: RouterStateSerializer, | ||
@@ -426,19 +430,3 @@ useClass: config.serializer | ||
StoreRouterConnectingModule.decorators = [ | ||
{ type: NgModule, args: [{ | ||
providers: [ | ||
{ | ||
provide: _ROUTER_CONFIG, | ||
useValue: ɵ0, | ||
}, | ||
{ | ||
provide: ROUTER_CONFIG, | ||
useFactory: _createRouterConfig, | ||
deps: [_ROUTER_CONFIG], | ||
}, | ||
{ | ||
provide: RouterStateSerializer, | ||
useClass: DefaultRouterStateSerializer, | ||
}, | ||
], | ||
},] } | ||
{ type: NgModule, args: [{},] } | ||
]; | ||
@@ -445,0 +433,0 @@ /** @nocollapse */ |
/** | ||
* @license NgRx 7.4.0 | ||
* @license NgRx 8.0.0-beta.0 | ||
* (c) 2015-2018 Brandon Roberts, Mike Ryan, Rob Wormald, Victor Savkin | ||
* License: MIT | ||
*/ | ||
import { __assign, __read, __decorate, __param, __metadata } from 'tslib'; | ||
import { InjectionToken, NgModule, Inject, ErrorHandler } from '@angular/core'; | ||
@@ -96,41 +97,2 @@ import { NavigationStart, RoutesRecognized, NavigationCancel, NavigationError, NavigationEnd, Router } from '@angular/router'; | ||
var __assign = (undefined && undefined.__assign) || function () { | ||
__assign = Object.assign || function(t) { | ||
for (var s, i = 1, n = arguments.length; i < n; i++) { | ||
s = arguments[i]; | ||
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) | ||
t[p] = s[p]; | ||
} | ||
return t; | ||
}; | ||
return __assign.apply(this, arguments); | ||
}; | ||
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) { | ||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; | ||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); | ||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; | ||
return c > 3 && r && Object.defineProperty(target, key, r), r; | ||
}; | ||
var __metadata = (undefined && undefined.__metadata) || function (k, v) { | ||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); | ||
}; | ||
var __param = (undefined && undefined.__param) || function (paramIndex, decorator) { | ||
return function (target, key) { decorator(target, key, paramIndex); } | ||
}; | ||
var __read = (undefined && undefined.__read) || function (o, n) { | ||
var m = typeof Symbol === "function" && o[Symbol.iterator]; | ||
if (!m) return o; | ||
var i = m.call(o), r, ar = [], e; | ||
try { | ||
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); | ||
} | ||
catch (error) { e = { error: error }; } | ||
finally { | ||
try { | ||
if (r && !r.done && (m = i["return"])) m.call(i); | ||
} | ||
finally { if (e) throw e.error; } | ||
} | ||
return ar; | ||
}; | ||
var NavigationActionTiming; | ||
@@ -153,3 +115,2 @@ (function (NavigationActionTiming) { | ||
})(RouterTrigger || (RouterTrigger = {})); | ||
var ɵ0 = {}; | ||
/** | ||
@@ -189,3 +150,3 @@ * Connects RouterModule with StoreModule. | ||
* ]), | ||
* StoreRouterConnectingModule | ||
* StoreRouterConnectingModule.forRoot() | ||
* ], | ||
@@ -219,2 +180,7 @@ * bootstrap: [AppCmp] | ||
{ | ||
provide: ROUTER_CONFIG, | ||
useFactory: _createRouterConfig, | ||
deps: [_ROUTER_CONFIG], | ||
}, | ||
{ | ||
provide: RouterStateSerializer, | ||
@@ -344,19 +310,3 @@ useClass: config.serializer | ||
StoreRouterConnectingModule = StoreRouterConnectingModule_1 = __decorate([ | ||
NgModule({ | ||
providers: [ | ||
{ | ||
provide: _ROUTER_CONFIG, | ||
useValue: ɵ0, | ||
}, | ||
{ | ||
provide: ROUTER_CONFIG, | ||
useFactory: _createRouterConfig, | ||
deps: [_ROUTER_CONFIG], | ||
}, | ||
{ | ||
provide: RouterStateSerializer, | ||
useClass: DefaultRouterStateSerializer, | ||
}, | ||
], | ||
}), | ||
NgModule({}), | ||
__param(4, Inject(ROUTER_CONFIG)), | ||
@@ -363,0 +313,0 @@ __metadata("design:paramtypes", [Store, |
@@ -9,4 +9,9 @@ { | ||
"factory": "./6_0_0/index" | ||
}, | ||
"ngrx-router-store-migration-02": { | ||
"description": "The road to v8", | ||
"version": "8-beta", | ||
"factory": "./8_0_0/index" | ||
} | ||
} | ||
} |
{ | ||
"name": "@ngrx/router-store", | ||
"version": "7.4.0", | ||
"version": "8.0.0-beta.0", | ||
"description": "Bindings to connect @angular/router to @ngrx/store", | ||
@@ -23,7 +23,7 @@ "repository": { | ||
"peerDependencies": { | ||
"@angular/common": "^7.0.0", | ||
"@angular/core": "^7.0.0", | ||
"@angular/router": "^7.0.0", | ||
"@ngrx/store": "7.4.0", | ||
"rxjs": "^6.0.0" | ||
"@angular/common": "^8.0.0-beta", | ||
"@angular/core": "^8.0.0-beta", | ||
"@angular/router": "^8.0.0-beta", | ||
"@ngrx/store": "8.0.0-beta.0", | ||
"rxjs": "^6.4.0" | ||
}, | ||
@@ -37,2 +37,3 @@ "schematics": "./schematics/collection.json", | ||
"@ngrx/router-store", | ||
"@ngrx/data", | ||
"@ngrx/schematics", | ||
@@ -39,0 +40,0 @@ "@ngrx/store-devtools" |
@@ -1,1 +0,1 @@ | ||
{"__symbolic":"module","version":4,"metadata":{"ɵngrx_modules_router_store_router_store_a":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":65,"character":34},"arguments":["@ngrx/router-store Internal Configuration"]},"ɵngrx_modules_router_store_router_store_b":{"__symbolic":"function","parameters":["config"],"value":{"stateKey":{"__symbolic":"reference","name":"DEFAULT_ROUTER_FEATURENAME"},"serializer":{"__symbolic":"reference","name":"DefaultRouterStateSerializer"},"navigationActionTiming":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"NavigationActionTiming"},"member":"PreActivation"}}},"ROUTER_ERROR":"@ngrx/router-store/error","ROUTER_CANCEL":"@ngrx/router-store/cancel","ROUTER_NAVIGATION":"@ngrx/router-store/navigation","ROUTER_NAVIGATED":"@ngrx/router-store/navigated","ROUTER_REQUEST":"@ngrx/router-store/request","RouterAction":{"__symbolic":"interface"},"RouterCancelAction":{"__symbolic":"interface"},"RouterCancelPayload":{"__symbolic":"interface"},"RouterErrorAction":{"__symbolic":"interface"},"RouterErrorPayload":{"__symbolic":"interface"},"RouterNavigatedAction":{"__symbolic":"interface"},"RouterNavigatedPayload":{"__symbolic":"interface"},"RouterNavigationAction":{"__symbolic":"interface"},"RouterNavigationPayload":{"__symbolic":"interface"},"RouterRequestAction":{"__symbolic":"interface"},"RouterRequestPayload":{"__symbolic":"interface"},"routerReducer":{"__symbolic":"function"},"RouterReducerState":{"__symbolic":"interface"},"StateKeyOrSelector":{"__symbolic":"interface"},"StoreRouterConnectingModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":132,"character":1},"arguments":[{"providers":[{"provide":{"__symbolic":"reference","name":"ɵngrx_modules_router_store_router_store_a"},"useValue":{}},{"provide":{"__symbolic":"reference","name":"ROUTER_CONFIG"},"useFactory":{"__symbolic":"reference","name":"ɵngrx_modules_router_store_router_store_b"},"deps":[{"__symbolic":"reference","name":"ɵngrx_modules_router_store_router_store_a"}]},{"provide":{"__symbolic":"reference","name":"RouterStateSerializer"},"useClass":{"__symbolic":"reference","name":"DefaultRouterStateSerializer"}}]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":181,"character":5},"arguments":[{"__symbolic":"reference","name":"ROUTER_CONFIG"}]}]],"parameters":[{"__symbolic":"reference","name":"Store","module":"@ngrx/store","arguments":[{"__symbolic":"reference","name":"any"}]},{"__symbolic":"reference","module":"@angular/router","name":"Router","line":178,"character":20},{"__symbolic":"reference","name":"RouterStateSerializer"},{"__symbolic":"reference","module":"@angular/core","name":"ErrorHandler","line":180,"character":26},{"__symbolic":"reference","name":"any"}]}],"setUpStoreStateListener":[{"__symbolic":"method"}],"navigateIfNeeded":[{"__symbolic":"method"}],"setUpRouterEventsListener":[{"__symbolic":"method"}],"dispatchRouterRequest":[{"__symbolic":"method"}],"dispatchRouterNavigation":[{"__symbolic":"method"}],"dispatchRouterCancel":[{"__symbolic":"method"}],"dispatchRouterError":[{"__symbolic":"method"}],"dispatchRouterNavigated":[{"__symbolic":"method"}],"dispatchRouterAction":[{"__symbolic":"method"}],"reset":[{"__symbolic":"method"}]},"statics":{"forRoot":{"__symbolic":"function","parameters":["config"],"defaults":[{}],"value":{"ngModule":{"__symbolic":"reference","name":"StoreRouterConnectingModule"},"providers":[{"provide":{"__symbolic":"reference","name":"ɵngrx_modules_router_store_router_store_a"},"useValue":{"__symbolic":"reference","name":"config"}},{"provide":{"__symbolic":"reference","name":"RouterStateSerializer"},"useClass":{"__symbolic":"if","condition":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"config"},"member":"serializer"},"thenExpression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"config"},"member":"serializer"},"elseExpression":{"__symbolic":"reference","name":"DefaultRouterStateSerializer"}}}]}}}},"StoreRouterConfig":{"__symbolic":"interface"},"NavigationActionTiming":{"PreActivation":1,"PostActivation":2},"ROUTER_CONFIG":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":68,"character":33},"arguments":["@ngrx/router-store Configuration"]},"DEFAULT_ROUTER_FEATURENAME":"router","RouterStateSerializer":{"__symbolic":"class","arity":1,"members":{"serialize":[{"__symbolic":"method"}]}},"DefaultRouterStateSerializer":{"__symbolic":"class","members":{"serialize":[{"__symbolic":"method"}],"serializeRoute":[{"__symbolic":"method"}]}},"SerializedRouterStateSnapshot":{"__symbolic":"interface"},"BaseRouterStoreState":{"__symbolic":"interface"}},"origins":{"ɵngrx_modules_router_store_router_store_a":"./src/router_store_module","ɵngrx_modules_router_store_router_store_b":"./src/router_store_module","ROUTER_ERROR":"./src/actions","ROUTER_CANCEL":"./src/actions","ROUTER_NAVIGATION":"./src/actions","ROUTER_NAVIGATED":"./src/actions","ROUTER_REQUEST":"./src/actions","RouterAction":"./src/actions","RouterCancelAction":"./src/actions","RouterCancelPayload":"./src/actions","RouterErrorAction":"./src/actions","RouterErrorPayload":"./src/actions","RouterNavigatedAction":"./src/actions","RouterNavigatedPayload":"./src/actions","RouterNavigationAction":"./src/actions","RouterNavigationPayload":"./src/actions","RouterRequestAction":"./src/actions","RouterRequestPayload":"./src/actions","routerReducer":"./src/reducer","RouterReducerState":"./src/reducer","StateKeyOrSelector":"./src/router_store_module","StoreRouterConnectingModule":"./src/router_store_module","StoreRouterConfig":"./src/router_store_module","NavigationActionTiming":"./src/router_store_module","ROUTER_CONFIG":"./src/router_store_module","DEFAULT_ROUTER_FEATURENAME":"./src/router_store_module","RouterStateSerializer":"./src/serializer","DefaultRouterStateSerializer":"./src/serializer","SerializedRouterStateSnapshot":"./src/serializer","BaseRouterStoreState":"./src/serializer"},"importAs":"@ngrx/router-store"} | ||
{"__symbolic":"module","version":4,"metadata":{"ɵngrx_modules_router_store_router_store_a":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":65,"character":34},"arguments":["@ngrx/router-store Internal Configuration"]},"ɵngrx_modules_router_store_router_store_b":{"__symbolic":"function","parameters":["config"],"value":{"stateKey":{"__symbolic":"reference","name":"DEFAULT_ROUTER_FEATURENAME"},"serializer":{"__symbolic":"reference","name":"DefaultRouterStateSerializer"},"navigationActionTiming":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"NavigationActionTiming"},"member":"PreActivation"}}},"ROUTER_ERROR":"@ngrx/router-store/error","ROUTER_CANCEL":"@ngrx/router-store/cancel","ROUTER_NAVIGATION":"@ngrx/router-store/navigation","ROUTER_NAVIGATED":"@ngrx/router-store/navigated","ROUTER_REQUEST":"@ngrx/router-store/request","RouterAction":{"__symbolic":"interface"},"RouterCancelAction":{"__symbolic":"interface"},"RouterCancelPayload":{"__symbolic":"interface"},"RouterErrorAction":{"__symbolic":"interface"},"RouterErrorPayload":{"__symbolic":"interface"},"RouterNavigatedAction":{"__symbolic":"interface"},"RouterNavigatedPayload":{"__symbolic":"interface"},"RouterNavigationAction":{"__symbolic":"interface"},"RouterNavigationPayload":{"__symbolic":"interface"},"RouterRequestAction":{"__symbolic":"interface"},"RouterRequestPayload":{"__symbolic":"interface"},"routerReducer":{"__symbolic":"function"},"RouterReducerState":{"__symbolic":"interface"},"StateKeyOrSelector":{"__symbolic":"interface"},"StoreRouterConnectingModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":132,"character":1},"arguments":[{}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":170,"character":5},"arguments":[{"__symbolic":"reference","name":"ROUTER_CONFIG"}]}]],"parameters":[{"__symbolic":"reference","name":"Store","module":"@ngrx/store","arguments":[{"__symbolic":"reference","name":"any"}]},{"__symbolic":"reference","module":"@angular/router","name":"Router","line":167,"character":20},{"__symbolic":"reference","name":"RouterStateSerializer"},{"__symbolic":"reference","module":"@angular/core","name":"ErrorHandler","line":169,"character":26},{"__symbolic":"reference","name":"any"}]}],"setUpStoreStateListener":[{"__symbolic":"method"}],"navigateIfNeeded":[{"__symbolic":"method"}],"setUpRouterEventsListener":[{"__symbolic":"method"}],"dispatchRouterRequest":[{"__symbolic":"method"}],"dispatchRouterNavigation":[{"__symbolic":"method"}],"dispatchRouterCancel":[{"__symbolic":"method"}],"dispatchRouterError":[{"__symbolic":"method"}],"dispatchRouterNavigated":[{"__symbolic":"method"}],"dispatchRouterAction":[{"__symbolic":"method"}],"reset":[{"__symbolic":"method"}]},"statics":{"forRoot":{"__symbolic":"function","parameters":["config"],"defaults":[{}],"value":{"ngModule":{"__symbolic":"reference","name":"StoreRouterConnectingModule"},"providers":[{"provide":{"__symbolic":"reference","name":"ɵngrx_modules_router_store_router_store_a"},"useValue":{"__symbolic":"reference","name":"config"}},{"provide":{"__symbolic":"reference","name":"ROUTER_CONFIG"},"useFactory":{"__symbolic":"reference","name":"ɵngrx_modules_router_store_router_store_b"},"deps":[{"__symbolic":"reference","name":"ɵngrx_modules_router_store_router_store_a"}]},{"provide":{"__symbolic":"reference","name":"RouterStateSerializer"},"useClass":{"__symbolic":"if","condition":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"config"},"member":"serializer"},"thenExpression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"config"},"member":"serializer"},"elseExpression":{"__symbolic":"reference","name":"DefaultRouterStateSerializer"}}}]}}}},"StoreRouterConfig":{"__symbolic":"interface"},"NavigationActionTiming":{"PreActivation":1,"PostActivation":2},"ROUTER_CONFIG":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":68,"character":33},"arguments":["@ngrx/router-store Configuration"]},"DEFAULT_ROUTER_FEATURENAME":"router","RouterStateSerializer":{"__symbolic":"class","arity":1,"members":{"serialize":[{"__symbolic":"method"}]}},"DefaultRouterStateSerializer":{"__symbolic":"class","members":{"serialize":[{"__symbolic":"method"}],"serializeRoute":[{"__symbolic":"method"}]}},"SerializedRouterStateSnapshot":{"__symbolic":"interface"},"BaseRouterStoreState":{"__symbolic":"interface"}},"origins":{"ɵngrx_modules_router_store_router_store_a":"./src/router_store_module","ɵngrx_modules_router_store_router_store_b":"./src/router_store_module","ROUTER_ERROR":"./src/actions","ROUTER_CANCEL":"./src/actions","ROUTER_NAVIGATION":"./src/actions","ROUTER_NAVIGATED":"./src/actions","ROUTER_REQUEST":"./src/actions","RouterAction":"./src/actions","RouterCancelAction":"./src/actions","RouterCancelPayload":"./src/actions","RouterErrorAction":"./src/actions","RouterErrorPayload":"./src/actions","RouterNavigatedAction":"./src/actions","RouterNavigatedPayload":"./src/actions","RouterNavigationAction":"./src/actions","RouterNavigationPayload":"./src/actions","RouterRequestAction":"./src/actions","RouterRequestPayload":"./src/actions","routerReducer":"./src/reducer","RouterReducerState":"./src/reducer","StateKeyOrSelector":"./src/router_store_module","StoreRouterConnectingModule":"./src/router_store_module","StoreRouterConfig":"./src/router_store_module","NavigationActionTiming":"./src/router_store_module","ROUTER_CONFIG":"./src/router_store_module","DEFAULT_ROUTER_FEATURENAME":"./src/router_store_module","RouterStateSerializer":"./src/serializer","DefaultRouterStateSerializer":"./src/serializer","SerializedRouterStateSnapshot":"./src/serializer","BaseRouterStoreState":"./src/serializer"},"importAs":"@ngrx/router-store"} |
/// <amd-module name="@ngrx/router-store/schematics-core" /> | ||
import { dasherize, decamelize, camelize, classify, underscore, group, capitalize, featurePath } from './utility/strings'; | ||
export { findNodes, getSourceNodes, getDecoratorMetadata, getContentOfKeyLiteral, insertAfterLastOccurrence, insertImport, addBootstrapToModule, addDeclarationToModule, addExportToModule, addImportToModule, addProviderToModule, } from './utility/ast-utils'; | ||
export { Host, Change, NoopChange, InsertChange, RemoveChange, ReplaceChange, } from './utility/change'; | ||
export { Host, Change, NoopChange, InsertChange, RemoveChange, ReplaceChange, createReplaceChange, createChangeRecorder, } from './utility/change'; | ||
export { AppConfig, getWorkspace, getWorkspacePath } from './utility/config'; | ||
@@ -6,0 +6,0 @@ export { findModule, findModuleFromOptions, buildRelativePath, ModuleOptions, } from './utility/find-module'; |
@@ -30,2 +30,4 @@ (function (factory) { | ||
exports.ReplaceChange = change_1.ReplaceChange; | ||
exports.createReplaceChange = change_1.createReplaceChange; | ||
exports.createChangeRecorder = change_1.createChangeRecorder; | ||
var config_1 = require("@ngrx/router-store/schematics-core/utility/config"); | ||
@@ -67,2 +69,2 @@ exports.getWorkspace = config_1.getWorkspace; | ||
}); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9tb2R1bGVzL3JvdXRlci1zdG9yZS9zY2hlbWF0aWNzLWNvcmUvaW5kZ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FJlZHVjZXJUb1N0YXRlSW50ZXJmYWNlLFxuICBhZGRSZWR1Y2VySW1wb3J0VG9OZ01vZHVsZSxcbiAgYWRkUmVkdWNlclRvQWN0aW9uUmVkdWNlck1hcCxcbiAgb21pdCxcbn0gZnJvbSAnLi91dGlsaXR5L25ncngtdXRpbHMnO1xuXG5leHBvcnQgeyBnZXRQcm9qZWN0UGF0aCwgZ2V0UHJvamVjdCwgaXNMaWIgfSBmcm9tICcuL3V0aWxpdHkvcHJvamVjdCc7XG5cbmV4cG9ydCBjb25zdCBzdHJpbmdVdGlscyA9IHtcbiAgZGFzaGVyaXplLFxuICBkZWNhbWVsaXplLFxuICBjYW1lbGl6ZSxcbiAgY2xhc3NpZnksXG4gIHVuZGVyc2NvcmUsXG4gIGdyb3VwLFxuICBjYXBpdGFsaXplLFxuICBmZWF0dXJlUGF0aCxcbn07XG5cbmV4cG9ydCB7IHVwZGF0ZVBhY2thZ2UgfSBmcm9tICcuL3V0aWxpdHkvdXBkYXRlJztcblxuZXhwb3J0IHsgcGFyc2VOYW1lIH0gZnJvbSAnLi91dGlsaXR5L3BhcnNlLW5hbWUnO1xuXG5leHBvcnQgeyBhZGRQYWNrYWdlVG9QYWNrYWdlSnNvbiB9IGZyb20gJy4vdXRpbGl0eS9wYWNrYWdlJztcblxuZXhwb3J0IHsgcGxhdGZvcm1WZXJzaW9uIH0gZnJvbSAnLi91dGlsaXR5L2xpYnMtdmVyc2lvbic7XG4iXX0= |
/// <amd-module name="@ngrx/router-store/schematics-core/utility/change" /> | ||
import * as ts from 'typescript'; | ||
import { Tree, UpdateRecorder } from '@angular-devkit/schematics'; | ||
import { Path } from '@angular-devkit/core'; | ||
/** | ||
@@ -68,1 +71,3 @@ * @license | ||
} | ||
export declare function createReplaceChange(sourceFile: ts.SourceFile, path: Path, node: ts.Node, oldText: string, newText: string): ReplaceChange; | ||
export declare function createChangeRecorder(tree: Tree, path: Path, changes: ReplaceChange[]): UpdateRecorder; |
@@ -105,3 +105,17 @@ (function (factory) { | ||
exports.ReplaceChange = ReplaceChange; | ||
function createReplaceChange(sourceFile, path, node, oldText, newText) { | ||
return new ReplaceChange(path, node.getStart(sourceFile), oldText, newText); | ||
} | ||
exports.createReplaceChange = createReplaceChange; | ||
function createChangeRecorder(tree, path, changes) { | ||
const recorder = tree.beginUpdate(path); | ||
for (const change of changes) { | ||
const action = change; | ||
recorder.remove(action.pos, action.oldText.length); | ||
recorder.insertLeft(action.pos, action.newText); | ||
} | ||
return recorder; | ||
} | ||
exports.createChangeRecorder = createChangeRecorder; | ||
}); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhbmdlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbW9kdWxlcy9yb3V0ZXItc3RvcmUvc2NoZW1hdGljcy1jb3JlL3V0aWxpdHkvY2hhbmdlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7O0lBNEJBOztPQUVHO0lBQ0gsTUFBYSxVQUFVO1FBQXZCO1lBQ0UsZ0JBQVcsR0FBRyxlQUFlLENBQUM7WUFDOUIsVUFBSyxHQUFHLFFBQVEsQ0FBQztZQUNqQixTQUFJLEdBQUcsSUFBSSxDQUFDO1FBSWQsQ0FBQztRQUhDLEtBQUs7WUFDSCxPQUFPLE9BQU8sQ0FBQyxPQUFPLEVBQUUsQ0FBQztRQUMzQixDQUFDO0tBQ0Y7SUFQRCxnQ0FPQztJQUVEOztPQUVHO0lBQ0gsTUFBYSxZQUFZO1FBSXZCLFlBQW1CLElBQVksRUFBUyxHQUFXLEVBQVMsS0FBYTtZQUF0RCxTQUFJLEdBQUosSUFBSSxDQUFRO1lBQVMsUUFBRyxHQUFILEdBQUcsQ0FBUTtZQUFTLFVBQUssR0FBTCxLQUFLLENBQVE7WUFDdkUsSUFBSSxHQUFHLEdBQUcsQ0FBQyxFQUFFO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HJvdyBlcnJvciBpZiBvbGRUZXh0IGRvZXNuJ3QgbWF0Y2ggcmVtb3ZlZCBzdHJpbmcuXG4gICAgICByZXR1cm4gaG9zdC53cml0ZSh0aGlzLnBhdGgsIGAke3ByZWZpeH0ke3RoaXMubmV3VGV4dH0ke3N1ZmZpeH1gKTtcbiAgICB9KTtcbiAgfVxufVxuXG5leHBvcnQgZnVuY3Rpb24gY3JlYXRlUmVwbGFjZUNoYW5nZShcbiAgc291cmNlRmlsZTogdHMuU291cmNlRmlsZSxcbiAgcGF0aDogUGF0aCxcbiAgbm9kZTogdHMuTm9kZSxcbiAgb2xkVGV4dDogc3RyaW5nLFxuICBuZXdUZXh0OiBzdHJpbmdcbik6IFJlcGxhY2VDaGFuZ2Uge1xuICByZXR1cm4gbmV3IFJlcGxhY2VDaGFuZ2UocGF0aCwgbm9kZS5nZXRTdGFydChzb3VyY2VGaWxlKSwgb2xkVGV4dCwgbmV3VGV4dCk7XG59XG5cbmV4cG9ydCBmdW5jdGlvbiBjcmVhdGVDaGFuZ2VSZWNvcmRlcihcbiAgdHJlZTogVHJlZSxcbiAgcGF0aDogUGF0aCxcbiAgY2hhbmdlczogUmVwbGFjZUNoYW5nZVtdXG4pOiBVcGRhdGVSZWNvcmRlciB7XG4gIGNvbnN0IHJlY29yZGVyID0gdHJlZS5iZWdpblVwZGF0ZShwYXRoKTtcbiAgZm9yIChjb25zdCBjaGFuZ2Ugb2YgY2hhbmdlcykge1xuICAgIGNvbnN0IGFjdGlvbiA9IDxhbnk+Y2hhbmdlO1xuICAgIHJlY29yZGVyLnJlbW92ZShhY3Rpb24ucG9zLCBhY3Rpb24ub2xkVGV4dC5sZW5ndGgpO1xuICAgIHJlY29yZGVyLmluc2VydExlZnQoYWN0aW9uLnBvcywgYWN0aW9uLm5ld1RleHQpO1xuICB9XG4gIHJldHVybiByZWNvcmRlcjtcbn1cbiJdfQ== |
/// <amd-module name="@ngrx/router-store/schematics-core/utility/libs-version" /> | ||
export declare const platformVersion = "^7.0.0"; | ||
export declare const platformVersion = "^8.0.0-beta.0"; |
@@ -12,4 +12,4 @@ (function (factory) { | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.platformVersion = '^7.0.0'; | ||
exports.platformVersion = '^8.0.0-beta.0'; | ||
}); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGlicy12ZXJzaW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbW9kdWxlcy9yb3V0ZXItc3RvcmUvc2NoZW1hdGljcy1jb3JlL3V0aWxpdHkvbGlicy12ZXJzaW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7O0lBQWEsUUFBQSxlQUFlLEdBQUcsUUFBUSxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGNvbnN0IHBsYXRmb3JtVmVyc2lvbiA9ICdeNy4wLjAnO1xuIl19 | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGlicy12ZXJzaW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbW9kdWxlcy9yb3V0ZXItc3RvcmUvc2NoZW1hdGljcy1jb3JlL3V0aWxpdHkvbGlicy12ZXJzaW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7O0lBQWEsUUFBQSxlQUFlLEdBQUcsZUFBZSxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGNvbnN0IHBsYXRmb3JtVmVyc2lvbiA9ICdeOC4wLjAtYmV0YS4wJztcbiJdfQ== |
@@ -61,3 +61,3 @@ import { InjectionToken, ModuleWithProviders, ErrorHandler } from '@angular/core'; | ||
* ]), | ||
* StoreRouterConnectingModule | ||
* StoreRouterConnectingModule.forRoot() | ||
* ], | ||
@@ -64,0 +64,0 @@ * bootstrap: [AppCmp] |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
71
464601
4202
2