@ngrx/store-devtools
Advanced tools
Comparing version 3.2.3 to 3.2.4
@@ -1,1 +0,1 @@ | ||
!function(global,factory){"object"==typeof exports&&"undefined"!=typeof module?factory(exports,require("@angular/core"),require("@ngrx/store"),require("rxjs/ReplaySubject"),require("rxjs/operator/map"),require("rxjs/operator/merge"),require("rxjs/operator/observeOn"),require("rxjs/operator/scan"),require("rxjs/operator/skip"),require("rxjs/operator/withLatestFrom"),require("rxjs/scheduler/queue"),require("rxjs/Observable"),require("rxjs/observable/empty"),require("rxjs/operator/filter"),require("rxjs/operator/share"),require("rxjs/operator/switchMap"),require("rxjs/operator/takeUntil")):"function"==typeof define&&define.amd?define(["exports","@angular/core","@ngrx/store","rxjs/ReplaySubject","rxjs/operator/map","rxjs/operator/merge","rxjs/operator/observeOn","rxjs/operator/scan","rxjs/operator/skip","rxjs/operator/withLatestFrom","rxjs/scheduler/queue","rxjs/Observable","rxjs/observable/empty","rxjs/operator/filter","rxjs/operator/share","rxjs/operator/switchMap","rxjs/operator/takeUntil"],factory):factory((global.ngrx=global.ngrx||{},global.ngrx.storeDevtools=global.ngrx.storeDevtools||{}),global.ng.core,global.ngrx.store,global.Rx,global.Rx.Observable.prototype,global.Rx.Observable.prototype,global.Rx.Observable.prototype,global.Rx.Observable.prototype,global.Rx.Observable.prototype,global.Rx.Observable.prototype,global.Rx.Scheduler,global.Rx,global.Rx.Observable,global.Rx.Observable.prototype,global.Rx.Observable.prototype,global.Rx.Observable.prototype,global.Rx.Observable.prototype)}(this,function(exports,_angular_core,_ngrx_store,rxjs_ReplaySubject,rxjs_operator_map,rxjs_operator_merge,rxjs_operator_observeOn,rxjs_operator_scan,rxjs_operator_skip,rxjs_operator_withLatestFrom,rxjs_scheduler_queue,rxjs_Observable,rxjs_observable_empty,rxjs_operator_filter,rxjs_operator_share,rxjs_operator_switchMap,rxjs_operator_takeUntil){"use strict";function difference(first,second){return first.filter(function(item){return second.indexOf(item)<0})}function unliftState(liftedState){var computedStates=liftedState.computedStates,currentStateIndex=liftedState.currentStateIndex,state=computedStates[currentStateIndex].state;return state}function liftAction(action){return StoreDevtoolActions.performAction(action)}function applyOperators(input$,operators){return operators.reduce(function(source$,_a){var operator=_a[0],args=_a.slice(1);return operator.apply(source$,args)},input$)}function computeNextEntry(reducer,action,state,error){if(error)return{state:state,error:"Interrupted by an error up the chain"};var nextError,nextState=state;try{nextState=reducer(state,action)}catch(err){nextError=err.toString(),console.error(err.stack||err)}return{state:nextState,error:nextError}}function recomputeStates(computedStates,minInvalidatedStateIndex,reducer,committedState,actionsById,stagedActionIds,skippedActionIds){if(minInvalidatedStateIndex>=computedStates.length&&computedStates.length===stagedActionIds.length)return computedStates;for(var nextComputedStates=computedStates.slice(0,minInvalidatedStateIndex),i=minInvalidatedStateIndex;i<stagedActionIds.length;i++){var actionId=stagedActionIds[i],action=actionsById[actionId].action,previousEntry=nextComputedStates[i-1],previousState=previousEntry?previousEntry.state:committedState,previousError=previousEntry?previousEntry.error:void 0,shouldSkip=skippedActionIds.indexOf(actionId)>-1,entry=shouldSkip?previousEntry:computeNextEntry(reducer,action,previousState,previousError);nextComputedStates.push(entry)}return nextComputedStates}function liftInitialState(initialCommittedState,monitorReducer){return{monitorState:monitorReducer(void 0,{}),nextActionId:1,actionsById:{0:liftAction(INIT_ACTION)},stagedActionIds:[0],skippedActionIds:[],committedState:initialCommittedState,currentStateIndex:0,computedStates:[]}}function liftReducerWith(initialCommittedState,initialLiftedState,monitorReducer,options){return void 0===options&&(options={}),function(reducer){return function(liftedState,liftedAction){function commitExcessActions(n){for(var excess=n,idsToDelete=stagedActionIds.slice(1,excess+1),i=0;i<idsToDelete.length;i++){if(computedStates[i+1].error){excess=i,idsToDelete=stagedActionIds.slice(1,excess+1);break}delete actionsById[idsToDelete[i]]}skippedActionIds=skippedActionIds.filter(function(id){return-1===idsToDelete.indexOf(id)}),stagedActionIds=[0].concat(stagedActionIds.slice(excess+1)),committedState=computedStates[excess].state,computedStates=computedStates.slice(excess),currentStateIndex=currentStateIndex>excess?currentStateIndex-excess:0}var _a=liftedState||initialLiftedState,monitorState=_a.monitorState,actionsById=_a.actionsById,nextActionId=_a.nextActionId,stagedActionIds=_a.stagedActionIds,skippedActionIds=_a.skippedActionIds,committedState=_a.committedState,currentStateIndex=_a.currentStateIndex,computedStates=_a.computedStates;liftedState||(actionsById=Object.create(actionsById));var minInvalidatedStateIndex=0;switch(liftedAction.type){case ActionTypes.RESET:actionsById={0:liftAction(INIT_ACTION)},nextActionId=1,stagedActionIds=[0],skippedActionIds=[],committedState=initialCommittedState,currentStateIndex=0,computedStates=[];break;case ActionTypes.COMMIT:actionsById={0:liftAction(INIT_ACTION)},nextActionId=1,stagedActionIds=[0],skippedActionIds=[],committedState=computedStates[currentStateIndex].state,currentStateIndex=0,computedStates=[];break;case ActionTypes.ROLLBACK:actionsById={0:liftAction(INIT_ACTION)},nextActionId=1,stagedActionIds=[0],skippedActionIds=[],currentStateIndex=0,computedStates=[];break;case ActionTypes.TOGGLE_ACTION:var actionId_1=liftedAction.id,index=skippedActionIds.indexOf(actionId_1);skippedActionIds=-1===index?[actionId_1].concat(skippedActionIds):skippedActionIds.filter(function(id){return id!==actionId_1}),minInvalidatedStateIndex=stagedActionIds.indexOf(actionId_1);break;case ActionTypes.SET_ACTIONS_ACTIVE:for(var start=liftedAction.start,end=liftedAction.end,active=liftedAction.active,actionIds=[],i=start;end>i;i++)actionIds.push(i);skippedActionIds=active?difference(skippedActionIds,actionIds):skippedActionIds.concat(actionIds),minInvalidatedStateIndex=stagedActionIds.indexOf(start);break;case ActionTypes.JUMP_TO_STATE:currentStateIndex=liftedAction.index,minInvalidatedStateIndex=1/0;break;case ActionTypes.SWEEP:stagedActionIds=difference(stagedActionIds,skippedActionIds),skippedActionIds=[],currentStateIndex=Math.min(currentStateIndex,stagedActionIds.length-1);break;case ActionTypes.PERFORM_ACTION:options.maxAge&&stagedActionIds.length===options.maxAge&&commitExcessActions(1),currentStateIndex===stagedActionIds.length-1&¤tStateIndex++;var actionId=nextActionId++;actionsById[actionId]=liftedAction,stagedActionIds=stagedActionIds.concat([actionId]),minInvalidatedStateIndex=stagedActionIds.length-1;break;case ActionTypes.IMPORT_STATE:_b=liftedAction.nextLiftedState,monitorState=_b.monitorState,actionsById=_b.actionsById,nextActionId=_b.nextActionId,stagedActionIds=_b.stagedActionIds,skippedActionIds=_b.skippedActionIds,committedState=_b.committedState,currentStateIndex=_b.currentStateIndex,computedStates=_b.computedStates,_b;break;case _ngrx_store.Reducer.REPLACE:case _ngrx_store.Dispatcher.INIT:minInvalidatedStateIndex=0,options.maxAge&&stagedActionIds.length>options.maxAge&&(computedStates=recomputeStates(computedStates,minInvalidatedStateIndex,reducer,committedState,actionsById,stagedActionIds,skippedActionIds),commitExcessActions(stagedActionIds.length-options.maxAge),minInvalidatedStateIndex=1/0);break;default:minInvalidatedStateIndex=1/0}return computedStates=recomputeStates(computedStates,minInvalidatedStateIndex,reducer,committedState,actionsById,stagedActionIds,skippedActionIds),monitorState=monitorReducer(monitorState,liftedAction),{monitorState:monitorState,actionsById:actionsById,nextActionId:nextActionId,stagedActionIds:stagedActionIds,skippedActionIds:skippedActionIds,committedState:committedState,currentStateIndex:currentStateIndex,computedStates:computedStates};var _b}}}function _createReduxDevtoolsExtension(){var legacyExtensionKey="devToolsExtension",extensionKey="__REDUX_DEVTOOLS_EXTENSION__";return"object"==typeof window&&"undefined"!=typeof window[legacyExtensionKey]?window[legacyExtensionKey]:"object"==typeof window&&"undefined"!=typeof window[extensionKey]?window[extensionKey]:null}function _createState(devtools){return devtools.state}function _createReducer(dispatcher,reducer){return new _ngrx_store.Reducer(dispatcher,reducer)}function _createStateIfExtension(extension,injector){if(extension){var devtools=injector.get(StoreDevtools);return _createState(devtools)}var initialState=injector.get(_ngrx_store.INITIAL_STATE),dispatcher=injector.get(_ngrx_store.Dispatcher),reducer=injector.get(_ngrx_store.Reducer);return new _ngrx_store.State(initialState,dispatcher,reducer)}function _createReducerIfExtension(extension,injector){if(extension){var devtoolsDispatcher=injector.get(DevtoolsDispatcher),reducer=injector.get(_ngrx_store.INITIAL_REDUCER);return _createReducer(devtoolsDispatcher,reducer)}var dispatcher=injector.get(_ngrx_store.Dispatcher),reducer=injector.get(_ngrx_store.INITIAL_REDUCER);return new _ngrx_store.Reducer(dispatcher,reducer)}function noMonitor(){return null}function _createOptions(_options){var DEFAULT_OPTIONS={monitor:noMonitor},options="function"==typeof _options?_options():_options;if(options=Object.assign({},DEFAULT_OPTIONS,options),options.maxAge&&options.maxAge<2)throw new Error("Devtools 'maxAge' cannot be less than 2, got "+options.maxAge);return options}var ActionTypes={PERFORM_ACTION:"PERFORM_ACTION",RESET:"RESET",ROLLBACK:"ROLLBACK",COMMIT:"COMMIT",SWEEP:"SWEEP",TOGGLE_ACTION:"TOGGLE_ACTION",SET_ACTIONS_ACTIVE:"SET_ACTIONS_ACTIVE",JUMP_TO_STATE:"JUMP_TO_STATE",IMPORT_STATE:"IMPORT_STATE"},StoreDevtoolActions={performAction:function(action){if("undefined"==typeof action.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');return{type:ActionTypes.PERFORM_ACTION,action:action,timestamp:Date.now()}},reset:function(){return{type:ActionTypes.RESET,timestamp:Date.now()}},rollback:function(){return{type:ActionTypes.ROLLBACK,timestamp:Date.now()}},commit:function(){return{type:ActionTypes.COMMIT,timestamp:Date.now()}},sweep:function(){return{type:ActionTypes.SWEEP}},toggleAction:function(id){return{type:ActionTypes.TOGGLE_ACTION,id:id}},setActionsActive:function(start,end,active){return void 0===active&&(active=!0),{type:ActionTypes.SET_ACTIONS_ACTIVE,start:start,end:end,active:active}},jumpToState:function(index){return{type:ActionTypes.JUMP_TO_STATE,index:index}},importState:function(nextLiftedState){return{type:ActionTypes.IMPORT_STATE,nextLiftedState:nextLiftedState}}},ExtensionActionTypes={START:"START",DISPATCH:"DISPATCH",STOP:"STOP",ACTION:"ACTION"},REDUX_DEVTOOLS_EXTENSION=new _angular_core.OpaqueToken("Redux Devtools Extension"),DevtoolsExtension=function(){function DevtoolsExtension(devtoolsExtension){this.instanceId="ngrx-store-"+Date.now(),this.devtoolsExtension=devtoolsExtension,this.createActionStreams()}return DevtoolsExtension.prototype.notify=function(action,state){this.devtoolsExtension&&this.devtoolsExtension.send(null,state,!1,this.instanceId)},DevtoolsExtension.prototype.createChangesObservable=function(){var _this=this;return this.devtoolsExtension?new rxjs_Observable.Observable(function(subscriber){var connection=_this.devtoolsExtension.connect({instanceId:_this.instanceId});return connection.subscribe(function(change){return subscriber.next(change)}),connection.unsubscribe}):rxjs_observable_empty.empty()},DevtoolsExtension.prototype.createActionStreams=function(){var _this=this,changes$=rxjs_operator_share.share.call(this.createChangesObservable()),start$=rxjs_operator_filter.filter.call(changes$,function(change){return change.type===ExtensionActionTypes.START}),stop$=rxjs_operator_filter.filter.call(changes$,function(change){return change.type===ExtensionActionTypes.STOP}),liftedActions$=applyOperators(changes$,[[rxjs_operator_filter.filter,function(change){return change.type===ExtensionActionTypes.DISPATCH}],[rxjs_operator_map.map,function(change){return _this.unwrapAction(change.payload)}]]),actions$=applyOperators(changes$,[[rxjs_operator_filter.filter,function(change){return change.type===ExtensionActionTypes.ACTION}],[rxjs_operator_map.map,function(change){return _this.unwrapAction(change.payload)}]]),actionsUntilStop$=rxjs_operator_takeUntil.takeUntil.call(actions$,stop$),liftedUntilStop$=rxjs_operator_takeUntil.takeUntil.call(liftedActions$,stop$);this.actions$=rxjs_operator_switchMap.switchMap.call(start$,function(){return actionsUntilStop$}),this.liftedActions$=rxjs_operator_switchMap.switchMap.call(start$,function(){return liftedUntilStop$})},DevtoolsExtension.prototype.unwrapAction=function(action){return"string"==typeof action?eval("("+action+")"):action},DevtoolsExtension.decorators=[{type:_angular_core.Injectable}],DevtoolsExtension.ctorParameters=[{type:void 0,decorators:[{type:_angular_core.Inject,args:[REDUX_DEVTOOLS_EXTENSION]}]}],DevtoolsExtension}(),INIT_ACTION={type:_ngrx_store.Dispatcher.INIT},STORE_DEVTOOLS_CONFIG=new _angular_core.OpaqueToken("@ngrx/devtools Options"),INITIAL_OPTIONS=new _angular_core.OpaqueToken("@ngrx/devtools Initial Config"),__extends=void 0||function(d,b){function __(){this.constructor=d}for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p]);d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)},DevtoolsDispatcher=function(_super){function DevtoolsDispatcher(){_super.apply(this,arguments)}return __extends(DevtoolsDispatcher,_super),DevtoolsDispatcher.decorators=[{type:_angular_core.Injectable}],DevtoolsDispatcher.ctorParameters=[],DevtoolsDispatcher}(_ngrx_store.Dispatcher),StoreDevtools=function(){function StoreDevtools(dispatcher,actions$,reducers$,extension,initialState,config){var liftedInitialState=liftInitialState(initialState,config.monitor),liftReducer=liftReducerWith(initialState,liftedInitialState,config.monitor,{maxAge:config.maxAge}),liftedAction$=applyOperators(actions$,[[rxjs_operator_skip.skip,1],[rxjs_operator_merge.merge,extension.actions$],[rxjs_operator_map.map,liftAction],[rxjs_operator_merge.merge,dispatcher,extension.liftedActions$],[rxjs_operator_observeOn.observeOn,rxjs_scheduler_queue.queue]]),liftedReducer$=rxjs_operator_map.map.call(reducers$,liftReducer),liftedStateSubject=new rxjs_ReplaySubject.ReplaySubject(1),liftedStateSubscription=applyOperators(liftedAction$,[[rxjs_operator_withLatestFrom.withLatestFrom,liftedReducer$],[rxjs_operator_scan.scan,function(liftedState,_a){var action=_a[0],reducer=_a[1],nextState=reducer(liftedState,action);return extension.notify(action,nextState),nextState},liftedInitialState]]).subscribe(liftedStateSubject),liftedState$=liftedStateSubject.asObservable(),state$=rxjs_operator_map.map.call(liftedState$,unliftState);this.stateSubscription=liftedStateSubscription,this.dispatcher=dispatcher,this.liftedState=liftedState$,this.state=state$}return StoreDevtools.prototype.dispatch=function(action){this.dispatcher.dispatch(action)},StoreDevtools.prototype.next=function(action){this.dispatcher.dispatch(action)},StoreDevtools.prototype.error=function(){},StoreDevtools.prototype.complete=function(){},StoreDevtools.prototype.performAction=function(action){this.dispatch(StoreDevtoolActions.performAction(action))},StoreDevtools.prototype.reset=function(){this.dispatch(StoreDevtoolActions.reset())},StoreDevtools.prototype.rollback=function(){this.dispatch(StoreDevtoolActions.rollback())},StoreDevtools.prototype.commit=function(){this.dispatch(StoreDevtoolActions.commit())},StoreDevtools.prototype.sweep=function(){this.dispatch(StoreDevtoolActions.sweep())},StoreDevtools.prototype.toggleAction=function(id){this.dispatch(StoreDevtoolActions.toggleAction(id))},StoreDevtools.prototype.jumpToState=function(index){this.dispatch(StoreDevtoolActions.jumpToState(index))},StoreDevtools.prototype.importState=function(nextLiftedState){this.dispatch(StoreDevtoolActions.importState(nextLiftedState))},StoreDevtools.decorators=[{type:_angular_core.Injectable}],StoreDevtools.ctorParameters=[{type:DevtoolsDispatcher},{type:_ngrx_store.Dispatcher},{type:_ngrx_store.Reducer},{type:DevtoolsExtension},{type:void 0,decorators:[{type:_angular_core.Inject,args:[_ngrx_store.INITIAL_STATE]}]},{type:void 0,decorators:[{type:_angular_core.Inject,args:[STORE_DEVTOOLS_CONFIG]}]}],StoreDevtools}(),StoreDevtoolsModule=function(){function StoreDevtoolsModule(){}return StoreDevtoolsModule.instrumentStore=function(_options){return void 0===_options&&(_options={}),{ngModule:StoreDevtoolsModule,providers:[{provide:_ngrx_store.State,deps:[StoreDevtools],useFactory:_createState},{provide:INITIAL_OPTIONS,useValue:_options},{provide:_ngrx_store.Reducer,deps:[DevtoolsDispatcher,_ngrx_store.INITIAL_REDUCER],useFactory:_createReducer},{provide:STORE_DEVTOOLS_CONFIG,deps:[INITIAL_OPTIONS],useFactory:_createOptions}]}},StoreDevtoolsModule.instrumentOnlyWithExtension=function(_options){return void 0===_options&&(_options={}),{ngModule:StoreDevtoolsModule,providers:[{provide:_ngrx_store.State,deps:[REDUX_DEVTOOLS_EXTENSION,_angular_core.Injector],useFactory:_createStateIfExtension},{provide:_ngrx_store.Reducer,deps:[REDUX_DEVTOOLS_EXTENSION,_angular_core.Injector],useFactory:_createReducerIfExtension},{provide:INITIAL_OPTIONS,useValue:_options},{provide:STORE_DEVTOOLS_CONFIG,deps:[INITIAL_OPTIONS],useFactory:_createOptions}]}},StoreDevtoolsModule.decorators=[{type:_angular_core.NgModule,args:[{imports:[_ngrx_store.StoreModule],providers:[DevtoolsExtension,DevtoolsDispatcher,StoreDevtools,{provide:REDUX_DEVTOOLS_EXTENSION,useFactory:_createReduxDevtoolsExtension}]}]}],StoreDevtoolsModule.ctorParameters=[],StoreDevtoolsModule}();exports.StoreDevtoolsModule=StoreDevtoolsModule,exports.StoreDevtools=StoreDevtools,Object.defineProperty(exports,"__esModule",{value:!0})}); | ||
!function(global,factory){"object"==typeof exports&&"undefined"!=typeof module?factory(exports,require("@angular/core"),require("@ngrx/store"),require("rxjs/ReplaySubject"),require("rxjs/operator/map"),require("rxjs/operator/merge"),require("rxjs/operator/observeOn"),require("rxjs/operator/scan"),require("rxjs/operator/skip"),require("rxjs/operator/withLatestFrom"),require("rxjs/scheduler/queue"),require("rxjs/Observable"),require("rxjs/observable/empty"),require("rxjs/operator/filter"),require("rxjs/operator/share"),require("rxjs/operator/switchMap"),require("rxjs/operator/takeUntil")):"function"==typeof define&&define.amd?define(["exports","@angular/core","@ngrx/store","rxjs/ReplaySubject","rxjs/operator/map","rxjs/operator/merge","rxjs/operator/observeOn","rxjs/operator/scan","rxjs/operator/skip","rxjs/operator/withLatestFrom","rxjs/scheduler/queue","rxjs/Observable","rxjs/observable/empty","rxjs/operator/filter","rxjs/operator/share","rxjs/operator/switchMap","rxjs/operator/takeUntil"],factory):factory((global.ngrx=global.ngrx||{},global.ngrx.storeDevtools=global.ngrx.storeDevtools||{}),global.ng.core,global.ngrx.store,global.Rx,global.Rx.Observable.prototype,global.Rx.Observable.prototype,global.Rx.Observable.prototype,global.Rx.Observable.prototype,global.Rx.Observable.prototype,global.Rx.Observable.prototype,global.Rx.Scheduler,global.Rx,global.Rx.Observable,global.Rx.Observable.prototype,global.Rx.Observable.prototype,global.Rx.Observable.prototype,global.Rx.Observable.prototype)}(this,function(exports,_angular_core,_ngrx_store,rxjs_ReplaySubject,rxjs_operator_map,rxjs_operator_merge,rxjs_operator_observeOn,rxjs_operator_scan,rxjs_operator_skip,rxjs_operator_withLatestFrom,rxjs_scheduler_queue,rxjs_Observable,rxjs_observable_empty,rxjs_operator_filter,rxjs_operator_share,rxjs_operator_switchMap,rxjs_operator_takeUntil){"use strict";function difference(first,second){return first.filter(function(item){return second.indexOf(item)<0})}function unliftState(liftedState){var computedStates=liftedState.computedStates,currentStateIndex=liftedState.currentStateIndex,state=computedStates[currentStateIndex].state;return state}function liftAction(action){return StoreDevtoolActions.performAction(action)}function applyOperators(input$,operators){return operators.reduce(function(source$,_a){var operator=_a[0],args=_a.slice(1);return operator.apply(source$,args)},input$)}function computeNextEntry(reducer,action,state,error){if(error)return{state:state,error:"Interrupted by an error up the chain"};var nextError,nextState=state;try{nextState=reducer(state,action)}catch(err){nextError=err.toString(),console.error(err.stack||err)}return{state:nextState,error:nextError}}function recomputeStates(computedStates,minInvalidatedStateIndex,reducer,committedState,actionsById,stagedActionIds,skippedActionIds){if(minInvalidatedStateIndex>=computedStates.length&&computedStates.length===stagedActionIds.length)return computedStates;for(var nextComputedStates=computedStates.slice(0,minInvalidatedStateIndex),i=minInvalidatedStateIndex;i<stagedActionIds.length;i++){var actionId=stagedActionIds[i],action=actionsById[actionId].action,previousEntry=nextComputedStates[i-1],previousState=previousEntry?previousEntry.state:committedState,previousError=previousEntry?previousEntry.error:void 0,shouldSkip=skippedActionIds.indexOf(actionId)>-1,entry=shouldSkip?previousEntry:computeNextEntry(reducer,action,previousState,previousError);nextComputedStates.push(entry)}return nextComputedStates}function liftInitialState(initialCommittedState,monitorReducer){return{monitorState:monitorReducer(void 0,{}),nextActionId:1,actionsById:{0:liftAction(INIT_ACTION)},stagedActionIds:[0],skippedActionIds:[],committedState:initialCommittedState,currentStateIndex:0,computedStates:[]}}function liftReducerWith(initialCommittedState,initialLiftedState,monitorReducer,options){return void 0===options&&(options={}),function(reducer){return function(liftedState,liftedAction){function commitExcessActions(n){for(var excess=n,idsToDelete=stagedActionIds.slice(1,excess+1),i=0;i<idsToDelete.length;i++){if(computedStates[i+1].error){excess=i,idsToDelete=stagedActionIds.slice(1,excess+1);break}delete actionsById[idsToDelete[i]]}skippedActionIds=skippedActionIds.filter(function(id){return-1===idsToDelete.indexOf(id)}),stagedActionIds=[0].concat(stagedActionIds.slice(excess+1)),committedState=computedStates[excess].state,computedStates=computedStates.slice(excess),currentStateIndex=currentStateIndex>excess?currentStateIndex-excess:0}var _a=liftedState||initialLiftedState,monitorState=_a.monitorState,actionsById=_a.actionsById,nextActionId=_a.nextActionId,stagedActionIds=_a.stagedActionIds,skippedActionIds=_a.skippedActionIds,committedState=_a.committedState,currentStateIndex=_a.currentStateIndex,computedStates=_a.computedStates;liftedState||(actionsById=Object.create(actionsById));var minInvalidatedStateIndex=0;switch(liftedAction.type){case ActionTypes.RESET:actionsById={0:liftAction(INIT_ACTION)},nextActionId=1,stagedActionIds=[0],skippedActionIds=[],committedState=initialCommittedState,currentStateIndex=0,computedStates=[];break;case ActionTypes.COMMIT:actionsById={0:liftAction(INIT_ACTION)},nextActionId=1,stagedActionIds=[0],skippedActionIds=[],committedState=computedStates[currentStateIndex].state,currentStateIndex=0,computedStates=[];break;case ActionTypes.ROLLBACK:actionsById={0:liftAction(INIT_ACTION)},nextActionId=1,stagedActionIds=[0],skippedActionIds=[],currentStateIndex=0,computedStates=[];break;case ActionTypes.TOGGLE_ACTION:var actionId_1=liftedAction.id,index=skippedActionIds.indexOf(actionId_1);skippedActionIds=-1===index?[actionId_1].concat(skippedActionIds):skippedActionIds.filter(function(id){return id!==actionId_1}),minInvalidatedStateIndex=stagedActionIds.indexOf(actionId_1);break;case ActionTypes.SET_ACTIONS_ACTIVE:for(var start=liftedAction.start,end=liftedAction.end,active=liftedAction.active,actionIds=[],i=start;end>i;i++)actionIds.push(i);skippedActionIds=active?difference(skippedActionIds,actionIds):skippedActionIds.concat(actionIds),minInvalidatedStateIndex=stagedActionIds.indexOf(start);break;case ActionTypes.JUMP_TO_STATE:currentStateIndex=liftedAction.index,minInvalidatedStateIndex=1/0;break;case ActionTypes.SWEEP:stagedActionIds=difference(stagedActionIds,skippedActionIds),skippedActionIds=[],currentStateIndex=Math.min(currentStateIndex,stagedActionIds.length-1);break;case ActionTypes.PERFORM_ACTION:options.maxAge&&stagedActionIds.length===options.maxAge&&commitExcessActions(1),currentStateIndex===stagedActionIds.length-1&¤tStateIndex++;var actionId=nextActionId++;actionsById[actionId]=liftedAction,stagedActionIds=stagedActionIds.concat([actionId]),minInvalidatedStateIndex=stagedActionIds.length-1;break;case ActionTypes.IMPORT_STATE:_b=liftedAction.nextLiftedState,monitorState=_b.monitorState,actionsById=_b.actionsById,nextActionId=_b.nextActionId,stagedActionIds=_b.stagedActionIds,skippedActionIds=_b.skippedActionIds,committedState=_b.committedState,currentStateIndex=_b.currentStateIndex,computedStates=_b.computedStates;break;case _ngrx_store.Reducer.REPLACE:case _ngrx_store.Dispatcher.INIT:minInvalidatedStateIndex=0,options.maxAge&&stagedActionIds.length>options.maxAge&&(computedStates=recomputeStates(computedStates,minInvalidatedStateIndex,reducer,committedState,actionsById,stagedActionIds,skippedActionIds),commitExcessActions(stagedActionIds.length-options.maxAge),minInvalidatedStateIndex=1/0);break;default:minInvalidatedStateIndex=1/0}return computedStates=recomputeStates(computedStates,minInvalidatedStateIndex,reducer,committedState,actionsById,stagedActionIds,skippedActionIds),monitorState=monitorReducer(monitorState,liftedAction),{monitorState:monitorState,actionsById:actionsById,nextActionId:nextActionId,stagedActionIds:stagedActionIds,skippedActionIds:skippedActionIds,committedState:committedState,currentStateIndex:currentStateIndex,computedStates:computedStates};var _b}}}function _createReduxDevtoolsExtension(){var legacyExtensionKey="devToolsExtension",extensionKey="__REDUX_DEVTOOLS_EXTENSION__";return"object"==typeof window&&"undefined"!=typeof window[legacyExtensionKey]?window[legacyExtensionKey]:"object"==typeof window&&"undefined"!=typeof window[extensionKey]?window[extensionKey]:null}function _createState(devtools){return devtools.state}function _createReducer(dispatcher,reducer){return new _ngrx_store.Reducer(dispatcher,reducer)}function _createStateIfExtension(extension,injector,initialState){if(extension){var devtools=injector.get(StoreDevtools);return _createState(devtools)}var dispatcher=injector.get(_ngrx_store.Dispatcher),reducer=injector.get(_ngrx_store.Reducer);return new _ngrx_store.State(initialState,dispatcher,reducer)}function _createReducerIfExtension(extension,injector,reducer){if(extension){var devtoolsDispatcher=injector.get(DevtoolsDispatcher);return _createReducer(devtoolsDispatcher,reducer)}var dispatcher=injector.get(_ngrx_store.Dispatcher);return new _ngrx_store.Reducer(dispatcher,reducer)}function noMonitor(){return null}function _createOptions(_options){var DEFAULT_OPTIONS={monitor:noMonitor},options="function"==typeof _options?_options():_options;if(options=Object.assign({},DEFAULT_OPTIONS,options),options.maxAge&&options.maxAge<2)throw new Error("Devtools 'maxAge' cannot be less than 2, got "+options.maxAge);return options}var ActionTypes={PERFORM_ACTION:"PERFORM_ACTION",RESET:"RESET",ROLLBACK:"ROLLBACK",COMMIT:"COMMIT",SWEEP:"SWEEP",TOGGLE_ACTION:"TOGGLE_ACTION",SET_ACTIONS_ACTIVE:"SET_ACTIONS_ACTIVE",JUMP_TO_STATE:"JUMP_TO_STATE",IMPORT_STATE:"IMPORT_STATE"},StoreDevtoolActions={performAction:function(action){if("undefined"==typeof action.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');return{type:ActionTypes.PERFORM_ACTION,action:action,timestamp:Date.now()}},reset:function(){return{type:ActionTypes.RESET,timestamp:Date.now()}},rollback:function(){return{type:ActionTypes.ROLLBACK,timestamp:Date.now()}},commit:function(){return{type:ActionTypes.COMMIT,timestamp:Date.now()}},sweep:function(){return{type:ActionTypes.SWEEP}},toggleAction:function(id){return{type:ActionTypes.TOGGLE_ACTION,id:id}},setActionsActive:function(start,end,active){return void 0===active&&(active=!0),{type:ActionTypes.SET_ACTIONS_ACTIVE,start:start,end:end,active:active}},jumpToState:function(index){return{type:ActionTypes.JUMP_TO_STATE,index:index}},importState:function(nextLiftedState){return{type:ActionTypes.IMPORT_STATE,nextLiftedState:nextLiftedState}}},ExtensionActionTypes={START:"START",DISPATCH:"DISPATCH",STOP:"STOP",ACTION:"ACTION"},REDUX_DEVTOOLS_EXTENSION=new _angular_core.OpaqueToken("Redux Devtools Extension"),DevtoolsExtension=function(){function DevtoolsExtension(devtoolsExtension){this.instanceId="ngrx-store-"+Date.now(),this.devtoolsExtension=devtoolsExtension,this.createActionStreams()}return DevtoolsExtension.prototype.notify=function(action,state){this.devtoolsExtension&&this.devtoolsExtension.send(null,state,!1,this.instanceId)},DevtoolsExtension.prototype.createChangesObservable=function(){var _this=this;return this.devtoolsExtension?new rxjs_Observable.Observable(function(subscriber){var connection=_this.devtoolsExtension.connect({instanceId:_this.instanceId});return connection.subscribe(function(change){return subscriber.next(change)}),connection.unsubscribe}):rxjs_observable_empty.empty()},DevtoolsExtension.prototype.createActionStreams=function(){var _this=this,changes$=rxjs_operator_share.share.call(this.createChangesObservable()),start$=rxjs_operator_filter.filter.call(changes$,function(change){return change.type===ExtensionActionTypes.START}),stop$=rxjs_operator_filter.filter.call(changes$,function(change){return change.type===ExtensionActionTypes.STOP}),liftedActions$=applyOperators(changes$,[[rxjs_operator_filter.filter,function(change){return change.type===ExtensionActionTypes.DISPATCH}],[rxjs_operator_map.map,function(change){return _this.unwrapAction(change.payload)}]]),actions$=applyOperators(changes$,[[rxjs_operator_filter.filter,function(change){return change.type===ExtensionActionTypes.ACTION}],[rxjs_operator_map.map,function(change){return _this.unwrapAction(change.payload)}]]),actionsUntilStop$=rxjs_operator_takeUntil.takeUntil.call(actions$,stop$),liftedUntilStop$=rxjs_operator_takeUntil.takeUntil.call(liftedActions$,stop$);this.actions$=rxjs_operator_switchMap.switchMap.call(start$,function(){return actionsUntilStop$}),this.liftedActions$=rxjs_operator_switchMap.switchMap.call(start$,function(){return liftedUntilStop$})},DevtoolsExtension.prototype.unwrapAction=function(action){return"string"==typeof action?eval("("+action+")"):action},DevtoolsExtension}();DevtoolsExtension.decorators=[{type:_angular_core.Injectable}],DevtoolsExtension.ctorParameters=function(){return[{type:void 0,decorators:[{type:_angular_core.Inject,args:[REDUX_DEVTOOLS_EXTENSION]}]}]};var INIT_ACTION={type:_ngrx_store.Dispatcher.INIT},STORE_DEVTOOLS_CONFIG=new _angular_core.OpaqueToken("@ngrx/devtools Options"),INITIAL_OPTIONS=new _angular_core.OpaqueToken("@ngrx/devtools Initial Config"),__extends=void 0||function(){var extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])};return function(d,b){function __(){this.constructor=d}extendStatics(d,b),d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)}}(),DevtoolsDispatcher=function(_super){function DevtoolsDispatcher(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(DevtoolsDispatcher,_super),DevtoolsDispatcher}(_ngrx_store.Dispatcher);DevtoolsDispatcher.decorators=[{type:_angular_core.Injectable}],DevtoolsDispatcher.ctorParameters=function(){return[]};var StoreDevtools=function(){function StoreDevtools(dispatcher,actions$,reducers$,extension,initialState,config){var liftedInitialState=liftInitialState(initialState,config.monitor),liftReducer=liftReducerWith(initialState,liftedInitialState,config.monitor,{maxAge:config.maxAge}),liftedAction$=applyOperators(actions$,[[rxjs_operator_skip.skip,1],[rxjs_operator_merge.merge,extension.actions$],[rxjs_operator_map.map,liftAction],[rxjs_operator_merge.merge,dispatcher,extension.liftedActions$],[rxjs_operator_observeOn.observeOn,rxjs_scheduler_queue.queue]]),liftedReducer$=rxjs_operator_map.map.call(reducers$,liftReducer),liftedStateSubject=new rxjs_ReplaySubject.ReplaySubject(1),liftedStateSubscription=applyOperators(liftedAction$,[[rxjs_operator_withLatestFrom.withLatestFrom,liftedReducer$],[rxjs_operator_scan.scan,function(liftedState,_a){var action=_a[0],reducer=_a[1],nextState=reducer(liftedState,action);return extension.notify(action,nextState),nextState},liftedInitialState]]).subscribe(liftedStateSubject),liftedState$=liftedStateSubject.asObservable(),state$=rxjs_operator_map.map.call(liftedState$,unliftState);this.stateSubscription=liftedStateSubscription,this.dispatcher=dispatcher,this.liftedState=liftedState$,this.state=state$}return StoreDevtools.prototype.dispatch=function(action){this.dispatcher.dispatch(action)},StoreDevtools.prototype.next=function(action){this.dispatcher.dispatch(action)},StoreDevtools.prototype.error=function(){},StoreDevtools.prototype.complete=function(){},StoreDevtools.prototype.performAction=function(action){this.dispatch(StoreDevtoolActions.performAction(action))},StoreDevtools.prototype.reset=function(){this.dispatch(StoreDevtoolActions.reset())},StoreDevtools.prototype.rollback=function(){this.dispatch(StoreDevtoolActions.rollback())},StoreDevtools.prototype.commit=function(){this.dispatch(StoreDevtoolActions.commit())},StoreDevtools.prototype.sweep=function(){this.dispatch(StoreDevtoolActions.sweep())},StoreDevtools.prototype.toggleAction=function(id){this.dispatch(StoreDevtoolActions.toggleAction(id))},StoreDevtools.prototype.jumpToState=function(index){this.dispatch(StoreDevtoolActions.jumpToState(index))},StoreDevtools.prototype.importState=function(nextLiftedState){this.dispatch(StoreDevtoolActions.importState(nextLiftedState))},StoreDevtools}();StoreDevtools.decorators=[{type:_angular_core.Injectable}],StoreDevtools.ctorParameters=function(){return[{type:DevtoolsDispatcher},{type:_ngrx_store.Dispatcher},{type:_ngrx_store.Reducer},{type:DevtoolsExtension},{type:void 0,decorators:[{type:_angular_core.Inject,args:[_ngrx_store.INITIAL_STATE]}]},{type:void 0,decorators:[{type:_angular_core.Inject,args:[STORE_DEVTOOLS_CONFIG]}]}]};var StoreDevtoolsModule=function(){function StoreDevtoolsModule(){}return StoreDevtoolsModule.instrumentStore=function(_options){return void 0===_options&&(_options={}),{ngModule:StoreDevtoolsModule,providers:[{provide:_ngrx_store.State,deps:[StoreDevtools],useFactory:_createState},{provide:INITIAL_OPTIONS,useValue:_options},{provide:_ngrx_store.Reducer,deps:[DevtoolsDispatcher,_ngrx_store.INITIAL_REDUCER],useFactory:_createReducer},{provide:STORE_DEVTOOLS_CONFIG,deps:[INITIAL_OPTIONS],useFactory:_createOptions}]}},StoreDevtoolsModule.instrumentOnlyWithExtension=function(_options){return void 0===_options&&(_options={}),{ngModule:StoreDevtoolsModule,providers:[{provide:_ngrx_store.State,deps:[REDUX_DEVTOOLS_EXTENSION,_angular_core.Injector,_ngrx_store.INITIAL_STATE],useFactory:_createStateIfExtension},{provide:_ngrx_store.Reducer,deps:[REDUX_DEVTOOLS_EXTENSION,_angular_core.Injector,_ngrx_store.INITIAL_REDUCER],useFactory:_createReducerIfExtension},{provide:INITIAL_OPTIONS,useValue:_options},{provide:STORE_DEVTOOLS_CONFIG,deps:[INITIAL_OPTIONS],useFactory:_createOptions}]}},StoreDevtoolsModule}();StoreDevtoolsModule.decorators=[{type:_angular_core.NgModule,args:[{imports:[_ngrx_store.StoreModule],providers:[DevtoolsExtension,DevtoolsDispatcher,StoreDevtools,{provide:REDUX_DEVTOOLS_EXTENSION,useFactory:_createReduxDevtoolsExtension}]}]}],StoreDevtoolsModule.ctorParameters=function(){return[]},exports.StoreDevtoolsModule=StoreDevtoolsModule,exports.StoreDevtools=StoreDevtools,Object.defineProperty(exports,"__esModule",{value:!0})}); |
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@ngrx/store'), require('rxjs/ReplaySubject'), require('rxjs/operator/map'), require('rxjs/operator/merge'), require('rxjs/operator/observeOn'), require('rxjs/operator/scan'), require('rxjs/operator/skip'), require('rxjs/operator/withLatestFrom'), require('rxjs/scheduler/queue'), require('rxjs/Observable'), require('rxjs/observable/empty'), require('rxjs/operator/filter'), require('rxjs/operator/share'), require('rxjs/operator/switchMap'), require('rxjs/operator/takeUntil')) : | ||
typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@ngrx/store', 'rxjs/ReplaySubject', 'rxjs/operator/map', 'rxjs/operator/merge', 'rxjs/operator/observeOn', 'rxjs/operator/scan', 'rxjs/operator/skip', 'rxjs/operator/withLatestFrom', 'rxjs/scheduler/queue', 'rxjs/Observable', 'rxjs/observable/empty', 'rxjs/operator/filter', 'rxjs/operator/share', 'rxjs/operator/switchMap', 'rxjs/operator/takeUntil'], factory) : | ||
(factory((global.ngrx = global.ngrx || {}, global.ngrx.storeDevtools = global.ngrx.storeDevtools || {}),global.ng.core,global.ngrx.store,global.Rx,global.Rx.Observable.prototype,global.Rx.Observable.prototype,global.Rx.Observable.prototype,global.Rx.Observable.prototype,global.Rx.Observable.prototype,global.Rx.Observable.prototype,global.Rx.Scheduler,global.Rx,global.Rx.Observable,global.Rx.Observable.prototype,global.Rx.Observable.prototype,global.Rx.Observable.prototype,global.Rx.Observable.prototype)); | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@ngrx/store'), require('rxjs/ReplaySubject'), require('rxjs/operator/map'), require('rxjs/operator/merge'), require('rxjs/operator/observeOn'), require('rxjs/operator/scan'), require('rxjs/operator/skip'), require('rxjs/operator/withLatestFrom'), require('rxjs/scheduler/queue'), require('rxjs/Observable'), require('rxjs/observable/empty'), require('rxjs/operator/filter'), require('rxjs/operator/share'), require('rxjs/operator/switchMap'), require('rxjs/operator/takeUntil')) : | ||
typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@ngrx/store', 'rxjs/ReplaySubject', 'rxjs/operator/map', 'rxjs/operator/merge', 'rxjs/operator/observeOn', 'rxjs/operator/scan', 'rxjs/operator/skip', 'rxjs/operator/withLatestFrom', 'rxjs/scheduler/queue', 'rxjs/Observable', 'rxjs/observable/empty', 'rxjs/operator/filter', 'rxjs/operator/share', 'rxjs/operator/switchMap', 'rxjs/operator/takeUntil'], factory) : | ||
(factory((global.ngrx = global.ngrx || {}, global.ngrx.storeDevtools = global.ngrx.storeDevtools || {}),global.ng.core,global.ngrx.store,global.Rx,global.Rx.Observable.prototype,global.Rx.Observable.prototype,global.Rx.Observable.prototype,global.Rx.Observable.prototype,global.Rx.Observable.prototype,global.Rx.Observable.prototype,global.Rx.Scheduler,global.Rx,global.Rx.Observable,global.Rx.Observable.prototype,global.Rx.Observable.prototype,global.Rx.Observable.prototype,global.Rx.Observable.prototype)); | ||
}(this, (function (exports,_angular_core,_ngrx_store,rxjs_ReplaySubject,rxjs_operator_map,rxjs_operator_merge,rxjs_operator_observeOn,rxjs_operator_scan,rxjs_operator_skip,rxjs_operator_withLatestFrom,rxjs_scheduler_queue,rxjs_Observable,rxjs_observable_empty,rxjs_operator_filter,rxjs_operator_share,rxjs_operator_switchMap,rxjs_operator_takeUntil) { 'use strict'; | ||
@@ -67,2 +67,3 @@ | ||
} | ||
/** | ||
@@ -138,11 +139,11 @@ * Lifts an app's action into an action on the lifted store. | ||
}; | ||
DevtoolsExtension.decorators = [ | ||
{ type: _angular_core.Injectable }, | ||
]; | ||
/** @nocollapse */ | ||
DevtoolsExtension.ctorParameters = [ | ||
{ type: undefined, decorators: [{ type: _angular_core.Inject, args: [REDUX_DEVTOOLS_EXTENSION,] },] }, | ||
]; | ||
return DevtoolsExtension; | ||
}()); | ||
DevtoolsExtension.decorators = [ | ||
{ type: _angular_core.Injectable }, | ||
]; | ||
/** @nocollapse */ | ||
DevtoolsExtension.ctorParameters = function () { return [ | ||
{ type: undefined, decorators: [{ type: _angular_core.Inject, args: [REDUX_DEVTOOLS_EXTENSION,] },] }, | ||
]; }; | ||
@@ -353,3 +354,3 @@ var INIT_ACTION = { type: _ngrx_store.Dispatcher.INIT }; | ||
// Completely replace everything. | ||
(_b = liftedAction.nextLiftedState, monitorState = _b.monitorState, actionsById = _b.actionsById, nextActionId = _b.nextActionId, stagedActionIds = _b.stagedActionIds, skippedActionIds = _b.skippedActionIds, committedState = _b.committedState, currentStateIndex = _b.currentStateIndex, computedStates = _b.computedStates, _b); | ||
(_b = liftedAction.nextLiftedState, monitorState = _b.monitorState, actionsById = _b.actionsById, nextActionId = _b.nextActionId, stagedActionIds = _b.stagedActionIds, skippedActionIds = _b.skippedActionIds, committedState = _b.committedState, currentStateIndex = _b.currentStateIndex, computedStates = _b.computedStates); | ||
break; | ||
@@ -396,19 +397,24 @@ } | ||
var __extends = (undefined && undefined.__extends) || function (d, b) { | ||
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; | ||
function __() { this.constructor = d; } | ||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); | ||
}; | ||
var __extends = (undefined && undefined.__extends) || (function () { | ||
var extendStatics = Object.setPrototypeOf || | ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || | ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; | ||
return function (d, b) { | ||
extendStatics(d, b); | ||
function __() { this.constructor = d; } | ||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); | ||
}; | ||
})(); | ||
var DevtoolsDispatcher = (function (_super) { | ||
__extends(DevtoolsDispatcher, _super); | ||
function DevtoolsDispatcher() { | ||
_super.apply(this, arguments); | ||
return _super !== null && _super.apply(this, arguments) || this; | ||
} | ||
DevtoolsDispatcher.decorators = [ | ||
{ type: _angular_core.Injectable }, | ||
]; | ||
/** @nocollapse */ | ||
DevtoolsDispatcher.ctorParameters = []; | ||
return DevtoolsDispatcher; | ||
}(_ngrx_store.Dispatcher)); | ||
DevtoolsDispatcher.decorators = [ | ||
{ type: _angular_core.Injectable }, | ||
]; | ||
/** @nocollapse */ | ||
DevtoolsDispatcher.ctorParameters = function () { return []; }; | ||
var StoreDevtools = (function () { | ||
@@ -477,16 +483,16 @@ function StoreDevtools(dispatcher, actions$, reducers$, extension, initialState, config) { | ||
}; | ||
StoreDevtools.decorators = [ | ||
{ type: _angular_core.Injectable }, | ||
]; | ||
/** @nocollapse */ | ||
StoreDevtools.ctorParameters = [ | ||
{ type: DevtoolsDispatcher, }, | ||
{ type: _ngrx_store.Dispatcher, }, | ||
{ type: _ngrx_store.Reducer, }, | ||
{ type: DevtoolsExtension, }, | ||
{ type: undefined, decorators: [{ type: _angular_core.Inject, args: [_ngrx_store.INITIAL_STATE,] },] }, | ||
{ type: undefined, decorators: [{ type: _angular_core.Inject, args: [STORE_DEVTOOLS_CONFIG,] },] }, | ||
]; | ||
return StoreDevtools; | ||
}()); | ||
StoreDevtools.decorators = [ | ||
{ type: _angular_core.Injectable }, | ||
]; | ||
/** @nocollapse */ | ||
StoreDevtools.ctorParameters = function () { return [ | ||
{ type: DevtoolsDispatcher, }, | ||
{ type: _ngrx_store.Dispatcher, }, | ||
{ type: _ngrx_store.Reducer, }, | ||
{ type: DevtoolsExtension, }, | ||
{ type: undefined, decorators: [{ type: _angular_core.Inject, args: [_ngrx_store.INITIAL_STATE,] },] }, | ||
{ type: undefined, decorators: [{ type: _angular_core.Inject, args: [STORE_DEVTOOLS_CONFIG,] },] }, | ||
]; }; | ||
@@ -512,3 +518,3 @@ function _createReduxDevtoolsExtension() { | ||
} | ||
function _createStateIfExtension(extension, injector) { | ||
function _createStateIfExtension(extension, injector, initialState) { | ||
if (!!extension) { | ||
@@ -519,3 +525,2 @@ var devtools = injector.get(StoreDevtools); | ||
else { | ||
var initialState = injector.get(_ngrx_store.INITIAL_STATE); | ||
var dispatcher = injector.get(_ngrx_store.Dispatcher); | ||
@@ -526,6 +531,5 @@ var reducer = injector.get(_ngrx_store.Reducer); | ||
} | ||
function _createReducerIfExtension(extension, injector) { | ||
function _createReducerIfExtension(extension, injector, reducer) { | ||
if (!!extension) { | ||
var devtoolsDispatcher = injector.get(DevtoolsDispatcher); | ||
var reducer = injector.get(_ngrx_store.INITIAL_REDUCER); | ||
return _createReducer(devtoolsDispatcher, reducer); | ||
@@ -535,3 +539,2 @@ } | ||
var dispatcher = injector.get(_ngrx_store.Dispatcher); | ||
var reducer = injector.get(_ngrx_store.INITIAL_REDUCER); | ||
return new _ngrx_store.Reducer(dispatcher, reducer); | ||
@@ -589,3 +592,3 @@ } | ||
provide: _ngrx_store.State, | ||
deps: [REDUX_DEVTOOLS_EXTENSION, _angular_core.Injector], | ||
deps: [REDUX_DEVTOOLS_EXTENSION, _angular_core.Injector, _ngrx_store.INITIAL_STATE], | ||
useFactory: _createStateIfExtension | ||
@@ -595,3 +598,3 @@ }, | ||
provide: _ngrx_store.Reducer, | ||
deps: [REDUX_DEVTOOLS_EXTENSION, _angular_core.Injector], | ||
deps: [REDUX_DEVTOOLS_EXTENSION, _angular_core.Injector, _ngrx_store.INITIAL_REDUCER], | ||
useFactory: _createReducerIfExtension | ||
@@ -611,22 +614,22 @@ }, | ||
}; | ||
StoreDevtoolsModule.decorators = [ | ||
{ type: _angular_core.NgModule, args: [{ | ||
imports: [ | ||
_ngrx_store.StoreModule | ||
], | ||
providers: [ | ||
DevtoolsExtension, | ||
DevtoolsDispatcher, | ||
StoreDevtools, | ||
{ | ||
provide: REDUX_DEVTOOLS_EXTENSION, | ||
useFactory: _createReduxDevtoolsExtension | ||
} | ||
] | ||
},] }, | ||
]; | ||
/** @nocollapse */ | ||
StoreDevtoolsModule.ctorParameters = []; | ||
return StoreDevtoolsModule; | ||
}()); | ||
StoreDevtoolsModule.decorators = [ | ||
{ type: _angular_core.NgModule, args: [{ | ||
imports: [ | ||
_ngrx_store.StoreModule | ||
], | ||
providers: [ | ||
DevtoolsExtension, | ||
DevtoolsDispatcher, | ||
StoreDevtools, | ||
{ | ||
provide: REDUX_DEVTOOLS_EXTENSION, | ||
useFactory: _createReduxDevtoolsExtension | ||
} | ||
] | ||
},] }, | ||
]; | ||
/** @nocollapse */ | ||
StoreDevtoolsModule.ctorParameters = function () { return []; }; | ||
@@ -638,2 +641,2 @@ exports.StoreDevtoolsModule = StoreDevtoolsModule; | ||
}))); | ||
}))); |
@@ -1,1 +0,1 @@ | ||
{"__symbolic":"module","version":1,"metadata":{},"exports":[{"from":"./src/instrument","export":["StoreDevtoolsModule"]},{"from":"./src/reducer","export":["LiftedState"]},{"from":"./src/devtools","export":["StoreDevtools"]},{"from":"./src/config","export":["StoreDevtoolsConfig"]}]} | ||
[{"__symbolic":"module","version":3,"metadata":{},"exports":[{"from":"./src/instrument","export":["StoreDevtoolsModule"]},{"from":"./src/reducer","export":["LiftedState"]},{"from":"./src/devtools","export":["StoreDevtools"]},{"from":"./src/config","export":["StoreDevtoolsConfig"]}]},{"__symbolic":"module","version":1,"metadata":{},"exports":[{"from":"./src/instrument","export":["StoreDevtoolsModule"]},{"from":"./src/reducer","export":["LiftedState"]},{"from":"./src/devtools","export":["StoreDevtools"]},{"from":"./src/config","export":["StoreDevtoolsConfig"]}]}] |
{ | ||
"name": "@ngrx/store-devtools", | ||
"version": "3.2.3", | ||
"version": "3.2.4", | ||
"description": "Developer tools for @ngrx/store", | ||
@@ -52,27 +52,29 @@ "main": "./bundles/store-devtools.umd.js", | ||
"devDependencies": { | ||
"@angular/common": "^2.1.0", | ||
"@angular/compiler": "^2.1.0", | ||
"@angular/compiler-cli": "^2.1.0", | ||
"@angular/core": "^2.1.0", | ||
"@angular/platform-browser": "^2.1.1", | ||
"@angular/platform-browser-dynamic": "^2.1.1", | ||
"@angular/platform-server": "^2.1.1", | ||
"@angular/animations": "^4.0.0", | ||
"@angular/common": "^4.0.0", | ||
"@angular/compiler": "^4.0.0", | ||
"@angular/compiler-cli": "^4.0.0", | ||
"@angular/core": "^4.0.0", | ||
"@angular/http": "^4.0.0", | ||
"@angular/platform-browser": "^4.0.0", | ||
"@angular/platform-browser-dynamic": "^4.0.0", | ||
"@angular/platform-server": "^4.0.0", | ||
"@ngrx/core": "^1.0.0", | ||
"@ngrx/store": "^2.1.2", | ||
"@types/jasmine": "^2.2.33", | ||
"@types/node": "^6.0.38", | ||
"@types/jasmine": "^2.5.46", | ||
"@types/node": "^7.0.10", | ||
"core-js": "^2.4.1", | ||
"cpy-cli": "^1.0.1", | ||
"jasmine": "^2.5.2", | ||
"nyc": "^8.3.2", | ||
"rimraf": "^2.5.4", | ||
"rollup": "^0.34.13", | ||
"rxjs": "^5.0.0-beta.11", | ||
"ts-loader": "^0.8.2", | ||
"ts-node": "^1.6.0", | ||
"tslint": "^3.15.1", | ||
"tslint-loader": "^2.1.5", | ||
"typescript": "^2.0.2", | ||
"jasmine": "^2.5.3", | ||
"nyc": "^10.1.2", | ||
"rimraf": "^2.6.1", | ||
"rollup": "^0.41.6", | ||
"rxjs": "^5.2.0", | ||
"ts-loader": "^2.0.3", | ||
"ts-node": "^3.0.2", | ||
"tslint": "^4.5.1", | ||
"tslint-loader": "^3.4.3", | ||
"typescript": "^2.2.1", | ||
"uglifyjs": "^2.4.10", | ||
"zone.js": "^0.6.17" | ||
"zone.js": "^0.8.5" | ||
}, | ||
@@ -79,0 +81,0 @@ "nyc": { |
@@ -1,1 +0,1 @@ | ||
{"__symbolic":"module","version":1,"metadata":{"ActionTypes":{"PERFORM_ACTION":"PERFORM_ACTION","RESET":"RESET","ROLLBACK":"ROLLBACK","COMMIT":"COMMIT","SWEEP":"SWEEP","TOGGLE_ACTION":"TOGGLE_ACTION","SET_ACTIONS_ACTIVE":"SET_ACTIONS_ACTIVE","JUMP_TO_STATE":"JUMP_TO_STATE","IMPORT_STATE":"IMPORT_STATE"},"StoreDevtoolActions":{}}} | ||
[{"__symbolic":"module","version":3,"metadata":{"ActionTypes":{"PERFORM_ACTION":"PERFORM_ACTION","RESET":"RESET","ROLLBACK":"ROLLBACK","COMMIT":"COMMIT","SWEEP":"SWEEP","TOGGLE_ACTION":"TOGGLE_ACTION","SET_ACTIONS_ACTIVE":"SET_ACTIONS_ACTIVE","JUMP_TO_STATE":"JUMP_TO_STATE","IMPORT_STATE":"IMPORT_STATE"},"StoreDevtoolActions":{}}},{"__symbolic":"module","version":1,"metadata":{"ActionTypes":{"PERFORM_ACTION":"PERFORM_ACTION","RESET":"RESET","ROLLBACK":"ROLLBACK","COMMIT":"COMMIT","SWEEP":"SWEEP","TOGGLE_ACTION":"TOGGLE_ACTION","SET_ACTIONS_ACTIVE":"SET_ACTIONS_ACTIVE","JUMP_TO_STATE":"JUMP_TO_STATE","IMPORT_STATE":"IMPORT_STATE"},"StoreDevtoolActions":{}}}] |
@@ -1,1 +0,1 @@ | ||
{"__symbolic":"module","version":1,"metadata":{"STORE_DEVTOOLS_CONFIG":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"OpaqueToken"},"arguments":["@ngrx/devtools Options"]},"INITIAL_OPTIONS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"OpaqueToken"},"arguments":["@ngrx/devtools Initial Config"]}}} | ||
[{"__symbolic":"module","version":3,"metadata":{"StoreDevtoolsConfig":{"__symbolic":"interface"},"STORE_DEVTOOLS_CONFIG":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"OpaqueToken"},"arguments":["@ngrx/devtools Options"]},"INITIAL_OPTIONS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"OpaqueToken"},"arguments":["@ngrx/devtools Initial Config"]}}},{"__symbolic":"module","version":1,"metadata":{"StoreDevtoolsConfig":{"__symbolic":"interface"},"STORE_DEVTOOLS_CONFIG":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"OpaqueToken"},"arguments":["@ngrx/devtools Options"]},"INITIAL_OPTIONS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"OpaqueToken"},"arguments":["@ngrx/devtools Initial Config"]}}}] |
@@ -1,6 +0,11 @@ | ||
var __extends = (this && this.__extends) || function (d, b) { | ||
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; | ||
function __() { this.constructor = d; } | ||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); | ||
}; | ||
var __extends = (this && this.__extends) || (function () { | ||
var extendStatics = Object.setPrototypeOf || | ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || | ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; | ||
return function (d, b) { | ||
extendStatics(d, b); | ||
function __() { this.constructor = d; } | ||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); | ||
}; | ||
})(); | ||
import { Injectable, Inject } from '@angular/core'; | ||
@@ -21,15 +26,16 @@ import { INITIAL_STATE, Dispatcher, Reducer } from '@ngrx/store'; | ||
import { STORE_DEVTOOLS_CONFIG } from './config'; | ||
export var DevtoolsDispatcher = (function (_super) { | ||
var DevtoolsDispatcher = (function (_super) { | ||
__extends(DevtoolsDispatcher, _super); | ||
function DevtoolsDispatcher() { | ||
_super.apply(this, arguments); | ||
return _super !== null && _super.apply(this, arguments) || this; | ||
} | ||
DevtoolsDispatcher.decorators = [ | ||
{ type: Injectable }, | ||
]; | ||
/** @nocollapse */ | ||
DevtoolsDispatcher.ctorParameters = []; | ||
return DevtoolsDispatcher; | ||
}(Dispatcher)); | ||
export var StoreDevtools = (function () { | ||
export { DevtoolsDispatcher }; | ||
DevtoolsDispatcher.decorators = [ | ||
{ type: Injectable }, | ||
]; | ||
/** @nocollapse */ | ||
DevtoolsDispatcher.ctorParameters = function () { return []; }; | ||
var StoreDevtools = (function () { | ||
function StoreDevtools(dispatcher, actions$, reducers$, extension, initialState, config) { | ||
@@ -97,16 +103,17 @@ var liftedInitialState = liftInitialState(initialState, config.monitor); | ||
}; | ||
StoreDevtools.decorators = [ | ||
{ type: Injectable }, | ||
]; | ||
/** @nocollapse */ | ||
StoreDevtools.ctorParameters = [ | ||
{ type: DevtoolsDispatcher, }, | ||
{ type: Dispatcher, }, | ||
{ type: Reducer, }, | ||
{ type: DevtoolsExtension, }, | ||
{ type: undefined, decorators: [{ type: Inject, args: [INITIAL_STATE,] },] }, | ||
{ type: undefined, decorators: [{ type: Inject, args: [STORE_DEVTOOLS_CONFIG,] },] }, | ||
]; | ||
return StoreDevtools; | ||
}()); | ||
export { StoreDevtools }; | ||
StoreDevtools.decorators = [ | ||
{ type: Injectable }, | ||
]; | ||
/** @nocollapse */ | ||
StoreDevtools.ctorParameters = function () { return [ | ||
{ type: DevtoolsDispatcher, }, | ||
{ type: Dispatcher, }, | ||
{ type: Reducer, }, | ||
{ type: DevtoolsExtension, }, | ||
{ type: undefined, decorators: [{ type: Inject, args: [INITIAL_STATE,] },] }, | ||
{ type: undefined, decorators: [{ type: Inject, args: [STORE_DEVTOOLS_CONFIG,] },] }, | ||
]; }; | ||
//# sourceMappingURL=devtools.js.map |
@@ -1,1 +0,1 @@ | ||
{"__symbolic":"module","version":1,"metadata":{"DevtoolsDispatcher":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}]},"StoreDevtools":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"@ngrx/store","name":"INITIAL_STATE"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"./config","name":"STORE_DEVTOOLS_CONFIG"}]}]],"parameters":[{"__symbolic":"reference","name":"DevtoolsDispatcher"},{"__symbolic":"reference","module":"@ngrx/store","name":"Dispatcher"},{"__symbolic":"reference","module":"@ngrx/store","name":"Reducer"},{"__symbolic":"reference","module":"./extension","name":"DevtoolsExtension"},{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","module":"./config","name":"StoreDevtoolsConfig"}]}],"dispatch":[{"__symbolic":"method"}],"next":[{"__symbolic":"method"}],"error":[{"__symbolic":"method"}],"complete":[{"__symbolic":"method"}],"performAction":[{"__symbolic":"method"}],"reset":[{"__symbolic":"method"}],"rollback":[{"__symbolic":"method"}],"commit":[{"__symbolic":"method"}],"sweep":[{"__symbolic":"method"}],"toggleAction":[{"__symbolic":"method"}],"jumpToState":[{"__symbolic":"method"}],"importState":[{"__symbolic":"method"}]}}}} | ||
[{"__symbolic":"module","version":3,"metadata":{"DevtoolsDispatcher":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@ngrx/store","name":"Dispatcher"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}]},"StoreDevtools":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"@ngrx/store","name":"INITIAL_STATE"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"./config","name":"STORE_DEVTOOLS_CONFIG"}]}]],"parameters":[{"__symbolic":"reference","name":"DevtoolsDispatcher"},{"__symbolic":"reference","module":"@ngrx/store","name":"Dispatcher"},{"__symbolic":"reference","module":"@ngrx/store","name":"Reducer"},{"__symbolic":"reference","module":"./extension","name":"DevtoolsExtension"},{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","module":"./config","name":"StoreDevtoolsConfig"}]}],"dispatch":[{"__symbolic":"method"}],"next":[{"__symbolic":"method"}],"error":[{"__symbolic":"method"}],"complete":[{"__symbolic":"method"}],"performAction":[{"__symbolic":"method"}],"reset":[{"__symbolic":"method"}],"rollback":[{"__symbolic":"method"}],"commit":[{"__symbolic":"method"}],"sweep":[{"__symbolic":"method"}],"toggleAction":[{"__symbolic":"method"}],"jumpToState":[{"__symbolic":"method"}],"importState":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"DevtoolsDispatcher":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@ngrx/store","name":"Dispatcher"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}]},"StoreDevtools":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"@ngrx/store","name":"INITIAL_STATE"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"./config","name":"STORE_DEVTOOLS_CONFIG"}]}]],"parameters":[{"__symbolic":"reference","name":"DevtoolsDispatcher"},{"__symbolic":"reference","module":"@ngrx/store","name":"Dispatcher"},{"__symbolic":"reference","module":"@ngrx/store","name":"Reducer"},{"__symbolic":"reference","module":"./extension","name":"DevtoolsExtension"},{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","module":"./config","name":"StoreDevtoolsConfig"}]}],"dispatch":[{"__symbolic":"method"}],"next":[{"__symbolic":"method"}],"error":[{"__symbolic":"method"}],"complete":[{"__symbolic":"method"}],"performAction":[{"__symbolic":"method"}],"reset":[{"__symbolic":"method"}],"rollback":[{"__symbolic":"method"}],"commit":[{"__symbolic":"method"}],"sweep":[{"__symbolic":"method"}],"toggleAction":[{"__symbolic":"method"}],"jumpToState":[{"__symbolic":"method"}],"importState":[{"__symbolic":"method"}]}}}}] |
@@ -17,3 +17,3 @@ import { OpaqueToken, Inject, Injectable } from '@angular/core'; | ||
export var REDUX_DEVTOOLS_EXTENSION = new OpaqueToken('Redux Devtools Extension'); | ||
export var DevtoolsExtension = (function () { | ||
var DevtoolsExtension = (function () { | ||
function DevtoolsExtension(devtoolsExtension) { | ||
@@ -68,11 +68,12 @@ this.instanceId = "ngrx-store-" + Date.now(); | ||
}; | ||
DevtoolsExtension.decorators = [ | ||
{ type: Injectable }, | ||
]; | ||
/** @nocollapse */ | ||
DevtoolsExtension.ctorParameters = [ | ||
{ type: undefined, decorators: [{ type: Inject, args: [REDUX_DEVTOOLS_EXTENSION,] },] }, | ||
]; | ||
return DevtoolsExtension; | ||
}()); | ||
export { DevtoolsExtension }; | ||
DevtoolsExtension.decorators = [ | ||
{ type: Injectable }, | ||
]; | ||
/** @nocollapse */ | ||
DevtoolsExtension.ctorParameters = function () { return [ | ||
{ type: undefined, decorators: [{ type: Inject, args: [REDUX_DEVTOOLS_EXTENSION,] },] }, | ||
]; }; | ||
//# sourceMappingURL=extension.js.map |
@@ -1,1 +0,1 @@ | ||
{"__symbolic":"module","version":1,"metadata":{"ExtensionActionTypes":{"START":"START","DISPATCH":"DISPATCH","STOP":"STOP","ACTION":"ACTION"},"REDUX_DEVTOOLS_EXTENSION":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"OpaqueToken"},"arguments":["Redux Devtools Extension"]},"DevtoolsExtension":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","name":"REDUX_DEVTOOLS_EXTENSION"}]}]],"parameters":[null]}],"notify":[{"__symbolic":"method"}],"createChangesObservable":[{"__symbolic":"method"}],"createActionStreams":[{"__symbolic":"method"}],"unwrapAction":[{"__symbolic":"method"}]}}}} | ||
[{"__symbolic":"module","version":3,"metadata":{"ExtensionActionTypes":{"START":"START","DISPATCH":"DISPATCH","STOP":"STOP","ACTION":"ACTION"},"REDUX_DEVTOOLS_EXTENSION":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"OpaqueToken"},"arguments":["Redux Devtools Extension"]},"ReduxDevtoolsExtensionConnection":{"__symbolic":"interface"},"ReduxDevtoolsExtension":{"__symbolic":"interface"},"DevtoolsExtension":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","name":"REDUX_DEVTOOLS_EXTENSION"}]}]],"parameters":[null]}],"notify":[{"__symbolic":"method"}],"createChangesObservable":[{"__symbolic":"method"}],"createActionStreams":[{"__symbolic":"method"}],"unwrapAction":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"ExtensionActionTypes":{"START":"START","DISPATCH":"DISPATCH","STOP":"STOP","ACTION":"ACTION"},"REDUX_DEVTOOLS_EXTENSION":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"OpaqueToken"},"arguments":["Redux Devtools Extension"]},"ReduxDevtoolsExtensionConnection":{"__symbolic":"interface"},"ReduxDevtoolsExtension":{"__symbolic":"interface"},"DevtoolsExtension":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","name":"REDUX_DEVTOOLS_EXTENSION"}]}]],"parameters":[null]}],"notify":[{"__symbolic":"method"}],"createChangesObservable":[{"__symbolic":"method"}],"createActionStreams":[{"__symbolic":"method"}],"unwrapAction":[{"__symbolic":"method"}]}}}}] |
@@ -9,4 +9,4 @@ import { Injector, ModuleWithProviders } from '@angular/core'; | ||
export declare function _createReducer(dispatcher: DevtoolsDispatcher, reducer: any): Reducer; | ||
export declare function _createStateIfExtension(extension: any, injector: Injector): Observable<any>; | ||
export declare function _createReducerIfExtension(extension: any, injector: Injector): Reducer; | ||
export declare function _createStateIfExtension(extension: any, injector: Injector, initialState: any): Observable<any>; | ||
export declare function _createReducerIfExtension(extension: any, injector: Injector, reducer: any): Reducer; | ||
export declare function noMonitor(): any; | ||
@@ -13,0 +13,0 @@ export declare function _createOptions(_options: any): StoreDevtoolsConfig; |
@@ -25,3 +25,3 @@ import { NgModule, Injector } from '@angular/core'; | ||
} | ||
export function _createStateIfExtension(extension, injector) { | ||
export function _createStateIfExtension(extension, injector, initialState) { | ||
if (!!extension) { | ||
@@ -32,3 +32,2 @@ var devtools = injector.get(StoreDevtools); | ||
else { | ||
var initialState = injector.get(INITIAL_STATE); | ||
var dispatcher = injector.get(Dispatcher); | ||
@@ -39,6 +38,5 @@ var reducer = injector.get(Reducer); | ||
} | ||
export function _createReducerIfExtension(extension, injector) { | ||
export function _createReducerIfExtension(extension, injector, reducer) { | ||
if (!!extension) { | ||
var devtoolsDispatcher = injector.get(DevtoolsDispatcher); | ||
var reducer = injector.get(INITIAL_REDUCER); | ||
return _createReducer(devtoolsDispatcher, reducer); | ||
@@ -48,3 +46,2 @@ } | ||
var dispatcher = injector.get(Dispatcher); | ||
var reducer = injector.get(INITIAL_REDUCER); | ||
return new Reducer(dispatcher, reducer); | ||
@@ -65,3 +62,3 @@ } | ||
} | ||
export var StoreDevtoolsModule = (function () { | ||
var StoreDevtoolsModule = (function () { | ||
function StoreDevtoolsModule() { | ||
@@ -103,3 +100,3 @@ } | ||
provide: State, | ||
deps: [REDUX_DEVTOOLS_EXTENSION, Injector], | ||
deps: [REDUX_DEVTOOLS_EXTENSION, Injector, INITIAL_STATE], | ||
useFactory: _createStateIfExtension | ||
@@ -109,3 +106,3 @@ }, | ||
provide: Reducer, | ||
deps: [REDUX_DEVTOOLS_EXTENSION, Injector], | ||
deps: [REDUX_DEVTOOLS_EXTENSION, Injector, INITIAL_REDUCER], | ||
useFactory: _createReducerIfExtension | ||
@@ -125,22 +122,23 @@ }, | ||
}; | ||
StoreDevtoolsModule.decorators = [ | ||
{ type: NgModule, args: [{ | ||
imports: [ | ||
StoreModule | ||
], | ||
providers: [ | ||
DevtoolsExtension, | ||
DevtoolsDispatcher, | ||
StoreDevtools, | ||
{ | ||
provide: REDUX_DEVTOOLS_EXTENSION, | ||
useFactory: _createReduxDevtoolsExtension | ||
} | ||
] | ||
},] }, | ||
]; | ||
/** @nocollapse */ | ||
StoreDevtoolsModule.ctorParameters = []; | ||
return StoreDevtoolsModule; | ||
}()); | ||
export { StoreDevtoolsModule }; | ||
StoreDevtoolsModule.decorators = [ | ||
{ type: NgModule, args: [{ | ||
imports: [ | ||
StoreModule | ||
], | ||
providers: [ | ||
DevtoolsExtension, | ||
DevtoolsDispatcher, | ||
StoreDevtools, | ||
{ | ||
provide: REDUX_DEVTOOLS_EXTENSION, | ||
useFactory: _createReduxDevtoolsExtension | ||
} | ||
] | ||
},] }, | ||
]; | ||
/** @nocollapse */ | ||
StoreDevtoolsModule.ctorParameters = function () { return []; }; | ||
//# sourceMappingURL=instrument.js.map |
@@ -1,1 +0,1 @@ | ||
{"__symbolic":"module","version":1,"metadata":{"_createState":{"__symbolic":"function","parameters":["devtools"],"value":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"devtools"},"member":"state"}},"_createReducer":{"__symbolic":"function","parameters":["dispatcher","reducer"],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@ngrx/store","name":"Reducer"},"arguments":[{"__symbolic":"reference","name":"dispatcher"},{"__symbolic":"reference","name":"reducer"}]}},"noMonitor":{"__symbolic":"function","parameters":[],"value":null},"StoreDevtoolsModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"imports":[{"__symbolic":"reference","module":"@ngrx/store","name":"StoreModule"}],"providers":[{"__symbolic":"reference","module":"./extension","name":"DevtoolsExtension"},{"__symbolic":"reference","module":"./devtools","name":"DevtoolsDispatcher"},{"__symbolic":"reference","module":"./devtools","name":"StoreDevtools"},{"provide":{"__symbolic":"reference","module":"./extension","name":"REDUX_DEVTOOLS_EXTENSION"},"useFactory":{"__symbolic":"reference","name":"_createReduxDevtoolsExtension"}}]}]}],"statics":{"instrumentStore":{"__symbolic":"function","parameters":["_options"],"value":{"ngModule":{"__symbolic":"reference","name":"StoreDevtoolsModule"},"providers":[{"provide":{"__symbolic":"reference","module":"@ngrx/store","name":"State"},"deps":[{"__symbolic":"reference","module":"./devtools","name":"StoreDevtools"}],"useFactory":{"__symbolic":"reference","name":"_createState"}},{"provide":{"__symbolic":"reference","module":"./config","name":"INITIAL_OPTIONS"},"useValue":{"__symbolic":"reference","name":"_options"}},{"provide":{"__symbolic":"reference","module":"@ngrx/store","name":"Reducer"},"deps":[{"__symbolic":"reference","module":"./devtools","name":"DevtoolsDispatcher"},{"__symbolic":"reference","module":"@ngrx/store","name":"INITIAL_REDUCER"}],"useFactory":{"__symbolic":"reference","name":"_createReducer"}},{"provide":{"__symbolic":"reference","module":"./config","name":"STORE_DEVTOOLS_CONFIG"},"deps":[{"__symbolic":"reference","module":"./config","name":"INITIAL_OPTIONS"}],"useFactory":{"__symbolic":"reference","name":"_createOptions"}}]},"defaults":[{}]},"instrumentOnlyWithExtension":{"__symbolic":"function","parameters":["_options"],"value":{"ngModule":{"__symbolic":"reference","name":"StoreDevtoolsModule"},"providers":[{"provide":{"__symbolic":"reference","module":"@ngrx/store","name":"State"},"deps":[{"__symbolic":"reference","module":"./extension","name":"REDUX_DEVTOOLS_EXTENSION"},{"__symbolic":"reference","module":"@angular/core","name":"Injector"}],"useFactory":{"__symbolic":"reference","name":"_createStateIfExtension"}},{"provide":{"__symbolic":"reference","module":"@ngrx/store","name":"Reducer"},"deps":[{"__symbolic":"reference","module":"./extension","name":"REDUX_DEVTOOLS_EXTENSION"},{"__symbolic":"reference","module":"@angular/core","name":"Injector"}],"useFactory":{"__symbolic":"reference","name":"_createReducerIfExtension"}},{"provide":{"__symbolic":"reference","module":"./config","name":"INITIAL_OPTIONS"},"useValue":{"__symbolic":"reference","name":"_options"}},{"provide":{"__symbolic":"reference","module":"./config","name":"STORE_DEVTOOLS_CONFIG"},"deps":[{"__symbolic":"reference","module":"./config","name":"INITIAL_OPTIONS"}],"useFactory":{"__symbolic":"reference","name":"_createOptions"}}]},"defaults":[{}]}}}}} | ||
[{"__symbolic":"module","version":3,"metadata":{"_createReduxDevtoolsExtension":{"__symbolic":"function"},"_createState":{"__symbolic":"function","parameters":["devtools"],"value":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"devtools"},"member":"state"}},"_createReducer":{"__symbolic":"function","parameters":["dispatcher","reducer"],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@ngrx/store","name":"Reducer"},"arguments":[{"__symbolic":"reference","name":"dispatcher"},{"__symbolic":"reference","name":"reducer"}]}},"_createStateIfExtension":{"__symbolic":"function"},"_createReducerIfExtension":{"__symbolic":"function"},"noMonitor":{"__symbolic":"function","parameters":[],"value":null},"_createOptions":{"__symbolic":"function"},"StoreDevtoolsModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"imports":[{"__symbolic":"reference","module":"@ngrx/store","name":"StoreModule"}],"providers":[{"__symbolic":"reference","module":"./extension","name":"DevtoolsExtension"},{"__symbolic":"reference","module":"./devtools","name":"DevtoolsDispatcher"},{"__symbolic":"reference","module":"./devtools","name":"StoreDevtools"},{"provide":{"__symbolic":"reference","module":"./extension","name":"REDUX_DEVTOOLS_EXTENSION"},"useFactory":{"__symbolic":"reference","name":"_createReduxDevtoolsExtension"}}]}]}],"statics":{"instrumentStore":{"__symbolic":"function","parameters":["_options"],"value":{"ngModule":{"__symbolic":"reference","name":"StoreDevtoolsModule"},"providers":[{"provide":{"__symbolic":"reference","module":"@ngrx/store","name":"State"},"deps":[{"__symbolic":"reference","module":"./devtools","name":"StoreDevtools"}],"useFactory":{"__symbolic":"reference","name":"_createState"}},{"provide":{"__symbolic":"reference","module":"./config","name":"INITIAL_OPTIONS"},"useValue":{"__symbolic":"reference","name":"_options"}},{"provide":{"__symbolic":"reference","module":"@ngrx/store","name":"Reducer"},"deps":[{"__symbolic":"reference","module":"./devtools","name":"DevtoolsDispatcher"},{"__symbolic":"reference","module":"@ngrx/store","name":"INITIAL_REDUCER"}],"useFactory":{"__symbolic":"reference","name":"_createReducer"}},{"provide":{"__symbolic":"reference","module":"./config","name":"STORE_DEVTOOLS_CONFIG"},"deps":[{"__symbolic":"reference","module":"./config","name":"INITIAL_OPTIONS"}],"useFactory":{"__symbolic":"reference","name":"_createOptions"}}]},"defaults":[{}]},"instrumentOnlyWithExtension":{"__symbolic":"function","parameters":["_options"],"value":{"ngModule":{"__symbolic":"reference","name":"StoreDevtoolsModule"},"providers":[{"provide":{"__symbolic":"reference","module":"@ngrx/store","name":"State"},"deps":[{"__symbolic":"reference","module":"./extension","name":"REDUX_DEVTOOLS_EXTENSION"},{"__symbolic":"reference","module":"@angular/core","name":"Injector"},{"__symbolic":"reference","module":"@ngrx/store","name":"INITIAL_STATE"}],"useFactory":{"__symbolic":"reference","name":"_createStateIfExtension"}},{"provide":{"__symbolic":"reference","module":"@ngrx/store","name":"Reducer"},"deps":[{"__symbolic":"reference","module":"./extension","name":"REDUX_DEVTOOLS_EXTENSION"},{"__symbolic":"reference","module":"@angular/core","name":"Injector"},{"__symbolic":"reference","module":"@ngrx/store","name":"INITIAL_REDUCER"}],"useFactory":{"__symbolic":"reference","name":"_createReducerIfExtension"}},{"provide":{"__symbolic":"reference","module":"./config","name":"INITIAL_OPTIONS"},"useValue":{"__symbolic":"reference","name":"_options"}},{"provide":{"__symbolic":"reference","module":"./config","name":"STORE_DEVTOOLS_CONFIG"},"deps":[{"__symbolic":"reference","module":"./config","name":"INITIAL_OPTIONS"}],"useFactory":{"__symbolic":"reference","name":"_createOptions"}}]},"defaults":[{}]}}}}},{"__symbolic":"module","version":1,"metadata":{"_createReduxDevtoolsExtension":{"__symbolic":"function"},"_createState":{"__symbolic":"function","parameters":["devtools"],"value":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"devtools"},"member":"state"}},"_createReducer":{"__symbolic":"function","parameters":["dispatcher","reducer"],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@ngrx/store","name":"Reducer"},"arguments":[{"__symbolic":"reference","name":"dispatcher"},{"__symbolic":"reference","name":"reducer"}]}},"_createStateIfExtension":{"__symbolic":"function"},"_createReducerIfExtension":{"__symbolic":"function"},"noMonitor":{"__symbolic":"function","parameters":[],"value":null},"_createOptions":{"__symbolic":"function"},"StoreDevtoolsModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"imports":[{"__symbolic":"reference","module":"@ngrx/store","name":"StoreModule"}],"providers":[{"__symbolic":"reference","module":"./extension","name":"DevtoolsExtension"},{"__symbolic":"reference","module":"./devtools","name":"DevtoolsDispatcher"},{"__symbolic":"reference","module":"./devtools","name":"StoreDevtools"},{"provide":{"__symbolic":"reference","module":"./extension","name":"REDUX_DEVTOOLS_EXTENSION"},"useFactory":{"__symbolic":"reference","name":"_createReduxDevtoolsExtension"}}]}]}],"statics":{"instrumentStore":{"__symbolic":"function","parameters":["_options"],"value":{"ngModule":{"__symbolic":"reference","name":"StoreDevtoolsModule"},"providers":[{"provide":{"__symbolic":"reference","module":"@ngrx/store","name":"State"},"deps":[{"__symbolic":"reference","module":"./devtools","name":"StoreDevtools"}],"useFactory":{"__symbolic":"reference","name":"_createState"}},{"provide":{"__symbolic":"reference","module":"./config","name":"INITIAL_OPTIONS"},"useValue":{"__symbolic":"reference","name":"_options"}},{"provide":{"__symbolic":"reference","module":"@ngrx/store","name":"Reducer"},"deps":[{"__symbolic":"reference","module":"./devtools","name":"DevtoolsDispatcher"},{"__symbolic":"reference","module":"@ngrx/store","name":"INITIAL_REDUCER"}],"useFactory":{"__symbolic":"reference","name":"_createReducer"}},{"provide":{"__symbolic":"reference","module":"./config","name":"STORE_DEVTOOLS_CONFIG"},"deps":[{"__symbolic":"reference","module":"./config","name":"INITIAL_OPTIONS"}],"useFactory":{"__symbolic":"reference","name":"_createOptions"}}]},"defaults":[{}]},"instrumentOnlyWithExtension":{"__symbolic":"function","parameters":["_options"],"value":{"ngModule":{"__symbolic":"reference","name":"StoreDevtoolsModule"},"providers":[{"provide":{"__symbolic":"reference","module":"@ngrx/store","name":"State"},"deps":[{"__symbolic":"reference","module":"./extension","name":"REDUX_DEVTOOLS_EXTENSION"},{"__symbolic":"reference","module":"@angular/core","name":"Injector"},{"__symbolic":"reference","module":"@ngrx/store","name":"INITIAL_STATE"}],"useFactory":{"__symbolic":"reference","name":"_createStateIfExtension"}},{"provide":{"__symbolic":"reference","module":"@ngrx/store","name":"Reducer"},"deps":[{"__symbolic":"reference","module":"./extension","name":"REDUX_DEVTOOLS_EXTENSION"},{"__symbolic":"reference","module":"@angular/core","name":"Injector"},{"__symbolic":"reference","module":"@ngrx/store","name":"INITIAL_REDUCER"}],"useFactory":{"__symbolic":"reference","name":"_createReducerIfExtension"}},{"provide":{"__symbolic":"reference","module":"./config","name":"INITIAL_OPTIONS"},"useValue":{"__symbolic":"reference","name":"_options"}},{"provide":{"__symbolic":"reference","module":"./config","name":"STORE_DEVTOOLS_CONFIG"},"deps":[{"__symbolic":"reference","module":"./config","name":"INITIAL_OPTIONS"}],"useFactory":{"__symbolic":"reference","name":"_createOptions"}}]},"defaults":[{}]}}}}}] |
@@ -208,3 +208,3 @@ import { Dispatcher, Reducer } from '@ngrx/store'; | ||
// Completely replace everything. | ||
(_b = liftedAction.nextLiftedState, monitorState = _b.monitorState, actionsById = _b.actionsById, nextActionId = _b.nextActionId, stagedActionIds = _b.stagedActionIds, skippedActionIds = _b.skippedActionIds, committedState = _b.committedState, currentStateIndex = _b.currentStateIndex, computedStates = _b.computedStates, _b); | ||
(_b = liftedAction.nextLiftedState, monitorState = _b.monitorState, actionsById = _b.actionsById, nextActionId = _b.nextActionId, stagedActionIds = _b.stagedActionIds, skippedActionIds = _b.skippedActionIds, committedState = _b.committedState, currentStateIndex = _b.currentStateIndex, computedStates = _b.computedStates); | ||
break; | ||
@@ -211,0 +211,0 @@ } |
@@ -1,1 +0,1 @@ | ||
{"__symbolic":"module","version":1,"metadata":{"INIT_ACTION":{"type":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@ngrx/store","name":"Dispatcher"},"member":"INIT"}},"liftInitialState":{"__symbolic":"function","parameters":["initialCommittedState","monitorReducer"],"value":{"__symbolic":"error","message":"Name expected","line":90,"character":19,"context":{"received":"0"}}},"liftReducerWith":{"__symbolic":"function","parameters":["initialCommittedState","initialLiftedState","monitorReducer","options"],"value":{"__symbolic":"error","message":"Function call not supported","line":111,"character":9},"defaults":[null,null,null,{}]}}} | ||
[{"__symbolic":"module","version":3,"metadata":{"INIT_ACTION":{"type":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@ngrx/store","name":"Dispatcher"},"member":"INIT"}},"LiftedState":{"__symbolic":"interface"},"liftInitialState":{"__symbolic":"function","parameters":["initialCommittedState","monitorReducer"],"value":{"__symbolic":"error","message":"Name expected","line":90,"character":19,"context":{"received":"0"}}},"liftReducerWith":{"__symbolic":"function","parameters":["initialCommittedState","initialLiftedState","monitorReducer","options"],"value":{"__symbolic":"error","message":"Function call not supported","line":111,"character":9},"defaults":[null,null,null,{}]}}},{"__symbolic":"module","version":1,"metadata":{"INIT_ACTION":{"type":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@ngrx/store","name":"Dispatcher"},"member":"INIT"}},"LiftedState":{"__symbolic":"interface"},"liftInitialState":{"__symbolic":"function","parameters":["initialCommittedState","monitorReducer"],"value":{"__symbolic":"error","message":"Name expected","line":90,"character":19,"context":{"received":"0"}}},"liftReducerWith":{"__symbolic":"function","parameters":["initialCommittedState","initialLiftedState","monitorReducer","options"],"value":{"__symbolic":"error","message":"Function call not supported","line":111,"character":9},"defaults":[null,null,null,{}]}}}] |
@@ -1,1 +0,1 @@ | ||
{"__symbolic":"module","version":1,"metadata":{"difference":{"__symbolic":"function","parameters":["first","second"],"value":{"__symbolic":"error","message":"Function call not supported","line":6,"character":22}},"unliftAction":{"__symbolic":"function","parameters":["liftedState"],"value":{"__symbolic":"index","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"liftedState"},"member":"actionsById"},"index":{"__symbolic":"binop","operator":"-","left":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"liftedState"},"member":"nextActionId"},"right":1}}},"liftAction":{"__symbolic":"function","parameters":["action"],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"./actions","name":"StoreDevtoolActions"},"member":"performAction"},"arguments":[{"__symbolic":"reference","name":"action"}]}},"applyOperators":{"__symbolic":"function","parameters":["input$","operators"],"value":{"__symbolic":"error","message":"Function call not supported","line":32,"character":26}}}} | ||
[{"__symbolic":"module","version":3,"metadata":{"difference":{"__symbolic":"function","parameters":["first","second"],"value":{"__symbolic":"error","message":"Function call not supported","line":6,"character":22}},"unliftState":{"__symbolic":"function"},"unliftAction":{"__symbolic":"function","parameters":["liftedState"],"value":{"__symbolic":"index","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"liftedState"},"member":"actionsById"},"index":{"__symbolic":"binop","operator":"-","left":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"liftedState"},"member":"nextActionId"},"right":1}}},"liftAction":{"__symbolic":"function","parameters":["action"],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"./actions","name":"StoreDevtoolActions"},"member":"performAction"},"arguments":[{"__symbolic":"reference","name":"action"}]}},"applyOperators":{"__symbolic":"function","parameters":["input$","operators"],"value":{"__symbolic":"error","message":"Function call not supported","line":32,"character":26}}}},{"__symbolic":"module","version":1,"metadata":{"difference":{"__symbolic":"function","parameters":["first","second"],"value":{"__symbolic":"error","message":"Function call not supported","line":6,"character":22}},"unliftState":{"__symbolic":"function"},"unliftAction":{"__symbolic":"function","parameters":["liftedState"],"value":{"__symbolic":"index","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"liftedState"},"member":"actionsById"},"index":{"__symbolic":"binop","operator":"-","left":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"liftedState"},"member":"nextActionId"},"right":1}}},"liftAction":{"__symbolic":"function","parameters":["action"],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"./actions","name":"StoreDevtoolActions"},"member":"performAction"},"arguments":[{"__symbolic":"reference","name":"action"}]}},"applyOperators":{"__symbolic":"function","parameters":["input$","operators"],"value":{"__symbolic":"error","message":"Function call not supported","line":32,"character":26}}}}] |
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
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
153133
1478
27
2