Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ng-vcl/store

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ng-vcl/store - npm Package Compare versions

Comparing version 0.2.11 to 0.3.1-0

store.umd.js

15

actions.js

@@ -1,11 +0,6 @@

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 __());
};
})();
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 __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

@@ -12,0 +7,0 @@ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":3,"metadata":{"StoreActions":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"rxjs/Observable","name":"Observable"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"ofType":[{"__symbolic":"method"}],"dispatch":[{"__symbolic":"method"}],"next":[{"__symbolic":"method"}],"error":[{"__symbolic":"method"}],"complete":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"StoreActions":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"rxjs/Observable","name":"Observable"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"ofType":[{"__symbolic":"method"}],"dispatch":[{"__symbolic":"method"}],"next":[{"__symbolic":"method"}],"error":[{"__symbolic":"method"}],"complete":[{"__symbolic":"method"}]}}}}]
[{"__symbolic":"module","version":3,"metadata":{"Action":{"__symbolic":"interface"},"StoreActions":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"rxjs/Observable","name":"Observable"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"ofType":[{"__symbolic":"method"}],"dispatch":[{"__symbolic":"method"}],"next":[{"__symbolic":"method"}],"error":[{"__symbolic":"method"}],"complete":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"Action":{"__symbolic":"interface"},"StoreActions":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"rxjs/Observable","name":"Observable"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"ofType":[{"__symbolic":"method"}],"dispatch":[{"__symbolic":"method"}],"next":[{"__symbolic":"method"}],"error":[{"__symbolic":"method"}],"complete":[{"__symbolic":"method"}]}}}}]
import { OnDestroy, OpaqueToken } from '@angular/core';
import 'rxjs/add/observable/merge';
import 'rxjs/add/operator/catch';
import { Store } from './store';

@@ -4,0 +5,0 @@ export declare const STORE_EFFECTS: OpaqueToken;

@@ -16,2 +16,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

import 'rxjs/add/observable/merge';
import 'rxjs/add/operator/catch';
import { Store, StoreErrorAction } from './store';

@@ -18,0 +19,0 @@ var EFFECTS_METADATA_KEY = 'ng-vcl/effects';

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":3,"metadata":{"STORE_EFFECTS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"OpaqueToken"},"arguments":["store.effects"]},"Effect":{"__symbolic":"function","parameters":[],"value":{"__symbolic":"error","message":"Function call not supported","line":12,"character":9}},"getEffectsMetadata":{"__symbolic":"function"},"Effects":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional"}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","name":"STORE_EFFECTS"}]}]],"parameters":[{"__symbolic":"reference","module":"./store","name":"Store"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]}]}],"addEffects":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"STORE_EFFECTS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"OpaqueToken"},"arguments":["store.effects"]},"Effect":{"__symbolic":"function","parameters":[],"value":{"__symbolic":"error","message":"Function call not supported","line":12,"character":9}},"getEffectsMetadata":{"__symbolic":"function"},"Effects":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional"}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","name":"STORE_EFFECTS"}]}]],"parameters":[{"__symbolic":"reference","module":"./store","name":"Store"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]}]}],"addEffects":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}}}}]
[{"__symbolic":"module","version":3,"metadata":{"STORE_EFFECTS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"OpaqueToken"},"arguments":["store.effects"]},"Effect":{"__symbolic":"function","parameters":[],"value":{"__symbolic":"error","message":"Function call not supported","line":13,"character":9}},"getEffectsMetadata":{"__symbolic":"function"},"Effects":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional"}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","name":"STORE_EFFECTS"}]}]],"parameters":[{"__symbolic":"reference","module":"./store","name":"Store"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]}]}],"addEffects":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"STORE_EFFECTS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"OpaqueToken"},"arguments":["store.effects"]},"Effect":{"__symbolic":"function","parameters":[],"value":{"__symbolic":"error","message":"Function call not supported","line":13,"character":9}},"getEffectsMetadata":{"__symbolic":"function"},"Effects":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional"}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","name":"STORE_EFFECTS"}]}]],"parameters":[{"__symbolic":"reference","module":"./store","name":"Store"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]}]}],"addEffects":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}}}}]

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":3,"metadata":{"STORE_FORROOT_GUARD":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"OpaqueToken"},"arguments":["STORE_FORROOT_GUARD"]},"provideForRootGuard":{"__symbolic":"function"},"initialReducer":{"__symbolic":"function","parameters":["appState"],"value":{"__symbolic":"reference","name":"appState"}},"StoreModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"providers":[{"__symbolic":"reference","module":"./actions","name":"StoreActions"},{"__symbolic":"reference","module":"./store","name":"Store"},{"__symbolic":"reference","module":"./effects","name":"Effects"},{"provide":{"__symbolic":"reference","module":"./store","name":"STORE_INITIAL_STATE"},"useValue":{}},{"provide":{"__symbolic":"reference","module":"./store","name":"STORE_INITIAL_REDUCERS"},"useValue":{"__symbolic":"reference","name":"initialReducer"},"multi":true}]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional"}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","name":"STORE_FORROOT_GUARD"}]}]],"parameters":[{"__symbolic":"reference","name":"any"}]}]}}},"exports":[{"from":"./actions"},{"from":"./utils"},{"from":"./effects"},{"from":"./observable"},{"from":"./store"},{"from":"./router"}]},{"__symbolic":"module","version":1,"metadata":{"STORE_FORROOT_GUARD":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"OpaqueToken"},"arguments":["STORE_FORROOT_GUARD"]},"provideForRootGuard":{"__symbolic":"function"},"initialReducer":{"__symbolic":"function","parameters":["appState"],"value":{"__symbolic":"reference","name":"appState"}},"StoreModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"providers":[{"__symbolic":"reference","module":"./actions","name":"StoreActions"},{"__symbolic":"reference","module":"./store","name":"Store"},{"__symbolic":"reference","module":"./effects","name":"Effects"},{"provide":{"__symbolic":"reference","module":"./store","name":"STORE_INITIAL_STATE"},"useValue":{}},{"provide":{"__symbolic":"reference","module":"./store","name":"STORE_INITIAL_REDUCERS"},"useValue":{"__symbolic":"reference","name":"initialReducer"},"multi":true}]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional"}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","name":"STORE_FORROOT_GUARD"}]}]],"parameters":[{"__symbolic":"reference","name":"any"}]}]}}},"exports":[{"from":"./actions"},{"from":"./utils"},{"from":"./effects"},{"from":"./observable"},{"from":"./store"},{"from":"./router"}]}]
[{"__symbolic":"module","version":3,"metadata":{"STORE_FORROOT_GUARD":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"OpaqueToken"},"arguments":["STORE_FORROOT_GUARD"]},"provideForRootGuard":{"__symbolic":"function"},"StoreConfig":{"__symbolic":"interface"},"StoreChildConfig":{"__symbolic":"interface"},"initialReducer":{"__symbolic":"function","parameters":["appState"],"value":{"__symbolic":"reference","name":"appState"}},"StoreModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"providers":[{"__symbolic":"reference","module":"./actions","name":"StoreActions"},{"__symbolic":"reference","module":"./store","name":"Store"},{"__symbolic":"reference","module":"./effects","name":"Effects"},{"provide":{"__symbolic":"reference","module":"./store","name":"STORE_INITIAL_STATE"},"useValue":{}},{"provide":{"__symbolic":"reference","module":"./store","name":"STORE_INITIAL_REDUCERS"},"useValue":{"__symbolic":"reference","name":"initialReducer"},"multi":true}]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional"}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","name":"STORE_FORROOT_GUARD"}]}]],"parameters":[{"__symbolic":"reference","name":"any"}]}]}}},"exports":[{"from":"./actions"},{"from":"./utils"},{"from":"./effects"},{"from":"./observable"},{"from":"./store"},{"from":"./router"}]},{"__symbolic":"module","version":1,"metadata":{"STORE_FORROOT_GUARD":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"OpaqueToken"},"arguments":["STORE_FORROOT_GUARD"]},"provideForRootGuard":{"__symbolic":"function"},"StoreConfig":{"__symbolic":"interface"},"StoreChildConfig":{"__symbolic":"interface"},"initialReducer":{"__symbolic":"function","parameters":["appState"],"value":{"__symbolic":"reference","name":"appState"}},"StoreModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"providers":[{"__symbolic":"reference","module":"./actions","name":"StoreActions"},{"__symbolic":"reference","module":"./store","name":"Store"},{"__symbolic":"reference","module":"./effects","name":"Effects"},{"provide":{"__symbolic":"reference","module":"./store","name":"STORE_INITIAL_STATE"},"useValue":{}},{"provide":{"__symbolic":"reference","module":"./store","name":"STORE_INITIAL_REDUCERS"},"useValue":{"__symbolic":"reference","name":"initialReducer"},"multi":true}]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional"}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","name":"STORE_FORROOT_GUARD"}]}]],"parameters":[{"__symbolic":"reference","name":"any"}]}]}}},"exports":[{"from":"./actions"},{"from":"./utils"},{"from":"./effects"},{"from":"./observable"},{"from":"./store"},{"from":"./router"}]}]

@@ -1,11 +0,6 @@

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 __());
};
})();
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 __());
};
import { Observable } from 'rxjs/Observable';

@@ -12,0 +7,0 @@ import 'rxjs/add/operator/distinctUntilChanged';

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":3,"metadata":{"select":{"__symbolic":"function"},"StoreObservable":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"rxjs/Observable","name":"Observable"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[null]}],"select":[{"__symbolic":"method"}],"lift":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"select":{"__symbolic":"function"},"StoreObservable":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"rxjs/Observable","name":"Observable"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[null]}],"select":[{"__symbolic":"method"}],"lift":[{"__symbolic":"method"}]}}}}]
[{"__symbolic":"module","version":3,"metadata":{"select":{"__symbolic":"function"},"StoreObservable":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"rxjs/Observable","name":"Observable"},"arity":1,"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[null]}],"select":[{"__symbolic":"method"}],"lift":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"select":{"__symbolic":"function"},"StoreObservable":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"rxjs/Observable","name":"Observable"},"arity":1,"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[null]}],"select":[{"__symbolic":"method"}],"lift":[{"__symbolic":"method"}]}}}}]
{
"name": "@ng-vcl/store",
"version": "0.2.11",
"version": "0.3.1-0",
"description": "ng-vcl store",

@@ -11,8 +11,8 @@ "repository": {

"license": "MIT",
"module": "index.js",
"main": "index.umd.js",
"main": "store.umd.js",
"module": "store.js",
"typings": "index.d.ts",
"peerDependencies": {
"@angular/core": "^2.3.0",
"@angular/router": "^3.3.0",
"@angular/core": "^4.0.0",
"@angular/router": "^4.0.0",
"rxjs": "^5.0.3"

@@ -19,0 +19,0 @@ },

@@ -53,5 +53,4 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

.filter(function (event) { return event instanceof NavigationEnd; })
.map(function (event) { return event.url; })
.subscribe(function (url) {
_this.store.dispatch(new RouterUrlUpdateAction(url));
.subscribe(function (event) {
_this.store.dispatch(new RouterUrlUpdateAction(event.url));
});

@@ -58,0 +57,0 @@ this.navigateEffect = this.actions$

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":3,"metadata":{"initialRouterState":{"url":""},"RouterNavigateAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]},{"__symbolic":"reference","module":"@angular/router","name":"NavigationExtras"}]}]}},"RouterNavigateByUrlAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":22,"character":26},{"__symbolic":"reference","module":"@angular/router","name":"NavigationExtras"}]}]}},"RouterUrlUpdateAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"}]}]}},"StoreRouterEffects":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/router","name":"Router"},{"__symbolic":"reference","module":"./store","name":"Store"},{"__symbolic":"reference","module":"./actions","name":"StoreActions"}]}],"navigateEffect":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"./effects","name":"Effect"}}]}],"navigateByUrlEffect":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"./effects","name":"Effect"}}]}],"ngOnDestroy":[{"__symbolic":"method"}]}},"StoreRouter":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./store","name":"Store"}]}],"navigate":[{"__symbolic":"method"}],"navigateByUrl":[{"__symbolic":"method"}]}},"routerReducer":{"__symbolic":"error","message":"Function call not supported","line":77,"character":10}}},{"__symbolic":"module","version":1,"metadata":{"initialRouterState":{"url":""},"RouterNavigateAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]},{"__symbolic":"reference","module":"@angular/router","name":"NavigationExtras"}]}]}},"RouterNavigateByUrlAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":22,"character":26},{"__symbolic":"reference","module":"@angular/router","name":"NavigationExtras"}]}]}},"RouterUrlUpdateAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"}]}]}},"StoreRouterEffects":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/router","name":"Router"},{"__symbolic":"reference","module":"./store","name":"Store"},{"__symbolic":"reference","module":"./actions","name":"StoreActions"}]}],"navigateEffect":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"./effects","name":"Effect"}}]}],"navigateByUrlEffect":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"./effects","name":"Effect"}}]}],"ngOnDestroy":[{"__symbolic":"method"}]}},"StoreRouter":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./store","name":"Store"}]}],"navigate":[{"__symbolic":"method"}],"navigateByUrl":[{"__symbolic":"method"}]}},"routerReducer":{"__symbolic":"error","message":"Function call not supported","line":77,"character":10}}}]
[{"__symbolic":"module","version":3,"metadata":{"RouterState":{"__symbolic":"interface"},"initialRouterState":{"url":""},"RouterNavigateAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]},{"__symbolic":"reference","module":"@angular/router","name":"NavigationExtras"}]}]}},"RouterNavigateByUrlAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":22,"character":26},{"__symbolic":"reference","module":"@angular/router","name":"NavigationExtras"}]}]}},"RouterUrlUpdateAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"}]}]}},"StoreRouterEffects":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/router","name":"Router"},{"__symbolic":"reference","module":"./store","name":"Store"},{"__symbolic":"reference","module":"./actions","name":"StoreActions"}]}],"navigateEffect":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"./effects","name":"Effect"}}]}],"navigateByUrlEffect":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"./effects","name":"Effect"}}]}],"ngOnDestroy":[{"__symbolic":"method"}]}},"StoreRouter":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./store","name":"Store"}]}],"navigate":[{"__symbolic":"method"}],"navigateByUrl":[{"__symbolic":"method"}]}},"routerReducer":{"__symbolic":"error","message":"Function call not supported","line":76,"character":10}}},{"__symbolic":"module","version":1,"metadata":{"RouterState":{"__symbolic":"interface"},"initialRouterState":{"url":""},"RouterNavigateAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any"}]},{"__symbolic":"reference","module":"@angular/router","name":"NavigationExtras"}]}]}},"RouterNavigateByUrlAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":22,"character":26},{"__symbolic":"reference","module":"@angular/router","name":"NavigationExtras"}]}]}},"RouterUrlUpdateAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"}]}]}},"StoreRouterEffects":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/router","name":"Router"},{"__symbolic":"reference","module":"./store","name":"Store"},{"__symbolic":"reference","module":"./actions","name":"StoreActions"}]}],"navigateEffect":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"./effects","name":"Effect"}}]}],"navigateByUrlEffect":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"./effects","name":"Effect"}}]}],"ngOnDestroy":[{"__symbolic":"method"}]}},"StoreRouter":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./store","name":"Store"}]}],"navigate":[{"__symbolic":"method"}],"navigateByUrl":[{"__symbolic":"method"}]}},"routerReducer":{"__symbolic":"error","message":"Function call not supported","line":76,"character":10}}}]

@@ -1,12 +0,163 @@

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 { Inject, Injectable, NgModule, OpaqueToken, Optional, SkipSelf } from '@angular/core';
import { BehaviorSubject } from 'rxjs/BehaviorSubject';
import { Observable } from 'rxjs/Observable';
import 'rxjs/add/operator/scan';
import 'rxjs/add/operator/withLatestFrom';
import 'rxjs/add/operator/distinctUntilChanged';
import { Subject } from 'rxjs/Subject';
import 'rxjs/add/operator/filter';
import 'rxjs/add/operator/pluck';
import 'rxjs/add/operator/map';
import 'rxjs/add/observable/merge';
import 'rxjs/add/operator/catch';
import { NavigationEnd, Router } from '@angular/router';
var __extends$1 = (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 __decorate$2 = (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$2 = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var StoreActions = (function (_super) {
__extends$1(StoreActions, _super);
function StoreActions() {
var _this = _super.call(this) || this;
// Action dispatcher
_this._dispatcher = new Subject();
// Action stream ist just the last action
_this.actions$ = _this._dispatcher.asObservable();
_this.source = _this.actions$;
return _this;
}
StoreActions.prototype.ofType = function () {
var actionClasses = [];
for (var _i = 0; _i < arguments.length; _i++) {
actionClasses[_i] = arguments[_i];
}
return this.actions$.filter(function (action) { return actionClasses.some(function (cls) { return action instanceof cls; }); });
};
})();
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
StoreActions.prototype.dispatch = function (action) {
var _this = this;
setTimeout(function () { return _this._dispatcher.next(action); }, 0);
};
StoreActions.prototype.next = function (action) {
this.dispatch(action);
};
StoreActions.prototype.error = function (err) { };
StoreActions.prototype.complete = function () { };
return StoreActions;
}(Observable));
StoreActions = __decorate$2([
Injectable(),
__metadata$2("design:paramtypes", [])
], StoreActions);
var __extends$2 = (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 __());
};
function select(path) {
var paths = [];
for (var _i = 1; _i < arguments.length; _i++) {
paths[_i - 1] = arguments[_i];
}
var select$;
if (typeof path === 'string') {
select$ = this.pluck.apply(this, [path].concat(paths));
}
else if (typeof path === 'function') {
select$ = this.map(path);
}
else {
throw new TypeError("Unexpected type " + typeof path + " in select operator");
}
select$ = select$.distinctUntilChanged();
return new StoreObservable(select$);
}
var StoreObservable = (function (_super) {
__extends$2(StoreObservable, _super);
function StoreObservable(source) {
var _this = _super.call(this) || this;
_this.source = source;
return _this;
}
StoreObservable.prototype.select = function (path) {
var paths = [];
for (var _i = 1; _i < arguments.length; _i++) {
paths[_i - 1] = arguments[_i];
}
return select.call.apply(select, [this, path].concat(paths));
};
StoreObservable.prototype.lift = function (operator) {
var observable = new StoreObservable(this);
observable.operator = operator;
return observable;
};
return StoreObservable;
}(Observable));
var compose = function () {
var functions = [];
for (var _i = 0; _i < arguments.length; _i++) {
functions[_i] = arguments[_i];
}
return function (arg) {
if (functions.length === 0) {
return arg;
}
var last = functions[functions.length - 1];
var rest = functions.slice(0, -1);
return rest.reduceRight(function (composed, fn) { return fn(composed); }, last(arg));
};
};
function reduceReducers() {
var reducers = [];
for (var _i = 0; _i < arguments.length; _i++) {
reducers[_i] = arguments[_i];
}
return function (state, action) {
return reducers.reduce(function (prevState, reducer) { return reducer(prevState, action); }, state);
};
}
function combineReducers(reducers) {
var reducerKeys = Object.keys(reducers);
var finalReducers = {};
for (var i = 0; i < reducerKeys.length; i++) {
var key = reducerKeys[i];
if (typeof reducers[key] === 'function') {
finalReducers[key] = reducers[key];
}
}
var finalReducerKeys = Object.keys(finalReducers);
return function combination(state, action) {
if (state === void 0) { state = {}; }
var hasChanged = false;
var nextState = {};
for (var i = 0; i < finalReducerKeys.length; i++) {
var key = finalReducerKeys[i];
var reducer = finalReducers[key];
var previousStateForKey = state[key];
var nextStateForKey = reducer(previousStateForKey, action);
nextState[key] = nextStateForKey;
hasChanged = hasChanged || nextStateForKey !== previousStateForKey;
}
return hasChanged ? Object.assign({}, state, nextState) : state;
};
}
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 __decorate$1 = (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;

@@ -17,19 +168,10 @@ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);

};
var __metadata = (this && this.__metadata) || function (k, v) {
var __metadata$1 = (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) {
var __param$1 = (this && this.__param) || function (paramIndex, decorator) {
return function (target, key) { decorator(target, key, paramIndex); }
};
import { BehaviorSubject } from 'rxjs/BehaviorSubject';
import { Observable } from 'rxjs/Observable';
import 'rxjs/add/operator/scan';
import 'rxjs/add/operator/withLatestFrom';
import 'rxjs/add/operator/distinctUntilChanged';
import { Injectable, OpaqueToken, Inject } from '@angular/core';
import { StoreActions } from './actions';
import { select } from './observable';
import { combineReducers, reduceReducers } from './utils';
export var STORE_INITIAL_REDUCERS = new OpaqueToken('store.initial.reducers');
export var STORE_INITIAL_STATE = new OpaqueToken('store.initial.state');
var STORE_INITIAL_REDUCERS = new OpaqueToken('store.initial.reducers');
var STORE_INITIAL_STATE = new OpaqueToken('store.initial.state');
// Some store actions

@@ -41,3 +183,2 @@ var StoreInitAction = (function () {

}());
export { StoreInitAction };
var StoreErrorAction = (function () {

@@ -49,3 +190,2 @@ function StoreErrorAction(err) {

}());
export { StoreErrorAction };
var Store = (function (_super) {

@@ -123,8 +263,310 @@ __extends(Store, _super);

}(Observable));
Store = __decorate([
Store = __decorate$1([
Injectable(),
__param(1, Inject(STORE_INITIAL_STATE)),
__param(2, Inject(STORE_INITIAL_REDUCERS)),
__metadata("design:paramtypes", [StoreActions, Object, Array])
__param$1(1, Inject(STORE_INITIAL_STATE)),
__param$1(2, Inject(STORE_INITIAL_REDUCERS)),
__metadata$1("design:paramtypes", [StoreActions, Object, Array])
], Store);
export { Store };
var __decorate$3 = (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$3 = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var __param$2 = (this && this.__param) || function (paramIndex, decorator) {
return function (target, key) { decorator(target, key, paramIndex); }
};
var EFFECTS_METADATA_KEY = 'ng-vcl/effects';
var STORE_EFFECTS = new OpaqueToken('store.effects');
function Effect() {
return function (target, propertyName) {
if (!Reflect.hasOwnMetadata(EFFECTS_METADATA_KEY, target)) {
Reflect.defineMetadata(EFFECTS_METADATA_KEY, [], target);
}
var effectProperties = Reflect.getOwnMetadata(EFFECTS_METADATA_KEY, target);
Reflect.defineMetadata(EFFECTS_METADATA_KEY, effectProperties.concat([propertyName]), target);
};
}
function getEffectsMetadata(instance) {
var target = Object.getPrototypeOf(instance);
if (!Reflect.hasOwnMetadata(EFFECTS_METADATA_KEY, target)) {
return [];
}
return Reflect.getOwnMetadata(EFFECTS_METADATA_KEY, target);
}
var Effects = (function () {
function Effects(store, effects) {
this.store = store;
this.effectSubs = [];
this.addEffects(effects);
}
Effects.prototype.addEffects = function (effectInstances) {
var _this = this;
var eiArr = Array.isArray(effectInstances) ? effectInstances : [effectInstances];
eiArr.forEach(function (instance) {
if (instance) {
var properties = getEffectsMetadata(instance);
var effects$ = Observable.merge.apply(Observable, (properties.map(function (property) { return instance[property]; })));
var sub = effects$.catch(function (err) {
// Catch effect error and dispatch StoreErrorAction
return Observable.of(new StoreErrorAction(err));
}).subscribe(_this.store);
_this.effectSubs.push(sub);
}
});
};
Effects.prototype.ngOnDestroy = function () {
this.effectSubs.slice().filter(function (sub) { return sub && !sub.closed; }).forEach(function (sub) { return sub.unsubscribe(); });
};
return Effects;
}());
Effects = __decorate$3([
Injectable(),
__param$2(1, Optional()),
__param$2(1, Inject(STORE_EFFECTS)),
__metadata$3("design:paramtypes", [Store, Array])
], Effects);
var __decorate$4 = (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$4 = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var initialRouterState = {
url: ''
};
var RouterNavigateAction = (function () {
function RouterNavigateAction(commands, extras) {
this.commands = commands;
this.extras = extras;
}
return RouterNavigateAction;
}());
var RouterNavigateByUrlAction = (function () {
function RouterNavigateByUrlAction(url, extras) {
this.url = url;
this.extras = extras;
}
return RouterNavigateByUrlAction;
}());
var RouterUrlUpdateAction = (function () {
function RouterUrlUpdateAction(url) {
this.url = url;
}
return RouterUrlUpdateAction;
}());
var StoreRouterEffects = (function () {
function StoreRouterEffects(router, store, actions$) {
var _this = this;
this.router = router;
this.store = store;
this.actions$ = actions$;
this.routerSub = this.router
.events
.filter(function (event) { return event instanceof NavigationEnd; })
.subscribe(function (event) {
_this.store.dispatch(new RouterUrlUpdateAction(event.url));
});
this.navigateEffect = this.actions$
.ofType(RouterNavigateAction)
.map(function (action) {
_this.router.navigate(action.commands, action.extras);
});
this.navigateByUrlEffect = this.actions$
.ofType(RouterNavigateByUrlAction)
.map(function (action) {
_this.router.navigateByUrl(action.url, action.extras);
});
}
StoreRouterEffects.prototype.ngOnDestroy = function () {
if (this.routerSub && !this.routerSub.closed)
this.routerSub.unsubscribe();
};
return StoreRouterEffects;
}());
__decorate$4([
Effect(),
__metadata$4("design:type", Object)
], StoreRouterEffects.prototype, "navigateEffect", void 0);
__decorate$4([
Effect(),
__metadata$4("design:type", Object)
], StoreRouterEffects.prototype, "navigateByUrlEffect", void 0);
StoreRouterEffects = __decorate$4([
Injectable(),
__metadata$4("design:paramtypes", [Router, Store, StoreActions])
], StoreRouterEffects);
var StoreRouter = (function () {
function StoreRouter(store) {
this.store = store;
}
StoreRouter.prototype.navigate = function (commands, extras) {
this.store.dispatch(new RouterNavigateAction(commands, extras));
};
StoreRouter.prototype.navigateByUrl = function (url, extras) {
this.store.dispatch(new RouterNavigateByUrlAction(url, extras));
};
return StoreRouter;
}());
StoreRouter = __decorate$4([
Injectable(),
__metadata$4("design:paramtypes", [Store])
], StoreRouter);
var routerReducer = combineReducers({
router: function (state, action) {
if (state === void 0) { state = initialRouterState; }
if (action instanceof RouterUrlUpdateAction) {
return {
url: action.url
};
}
return state;
}
});
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 STORE_FORROOT_GUARD = new OpaqueToken('STORE_FORROOT_GUARD');
function provideForRootGuard(store) {
if (store) {
throw new Error("StoreModule.forRoot() called twice. Lazy loaded modules should use StoreModule.forChild() instead.");
}
return 'guarded';
}
function createReducer(reducers) {
var reducer;
if (Array.isArray(reducers)) {
reducer = reduceReducers.apply(void 0, reducers.map(function (reducer) {
if (typeof reducer === 'object' && reducer) {
return combineReducers(reducer);
}
else if (typeof reducer === 'function') {
return reducer;
}
else {
throw 'Invalid reducer in config';
}
}));
}
else if (typeof reducers === 'function') {
reducer = reduceReducers(reducers);
}
else if (typeof reducers === 'object' && reducers) {
reducer = combineReducers(reducers);
}
else {
reducer = function (appState) { return appState; };
}
return reducer;
}
function initialReducer(appState) {
return appState;
}
var StoreModule = StoreModule_1 = (function () {
function StoreModule(guard) {
}
StoreModule.forRoot = function (config) {
var initialReducer = createReducer(config.reducers);
// Merge router reducer
if (config.enableRouter) {
initialReducer = reduceReducers(initialReducer, routerReducer);
}
return {
ngModule: StoreModule_1,
providers: [
{
provide: STORE_FORROOT_GUARD,
useFactory: provideForRootGuard,
deps: [[Store, new Optional(), new SkipSelf()]]
},
StoreActions,
Store,
StoreRouter,
Effects,
{
provide: STORE_INITIAL_STATE,
useValue: config.state || {}
},
{
provide: STORE_INITIAL_REDUCERS,
multi: true,
useValue: initialReducer
}
].concat((config.enableRouter ? [
StoreRouter,
{
provide: STORE_EFFECTS,
useClass: StoreRouterEffects,
multi: true
}
] : []), (config.effects || []).map(function (type) {
return {
provide: STORE_EFFECTS,
useClass: type,
multi: true
};
}))
};
};
StoreModule.forChild = function (config) {
var initialReducer = createReducer(config.reducers);
return {
ngModule: StoreModule_1,
providers: [
{
provide: STORE_INITIAL_REDUCERS,
multi: true,
useValue: initialReducer
}
].concat((config.effects || []).map(function (type) {
return {
provide: STORE_EFFECTS,
useClass: type,
multi: true
};
}))
};
};
return StoreModule;
}());
StoreModule = StoreModule_1 = __decorate([
NgModule({
providers: [
StoreActions,
Store,
Effects,
{
provide: STORE_INITIAL_STATE,
useValue: {}
},
{
provide: STORE_INITIAL_REDUCERS,
useValue: initialReducer,
multi: true
}
]
}),
__param(0, Optional()), __param(0, Inject(STORE_FORROOT_GUARD)),
__metadata("design:paramtypes", [Object])
], StoreModule);
var StoreModule_1;
export { STORE_FORROOT_GUARD, provideForRootGuard, initialReducer, StoreModule, StoreActions, compose, reduceReducers, combineReducers, STORE_EFFECTS, Effect, getEffectsMetadata, Effects, select, StoreObservable, STORE_INITIAL_REDUCERS, STORE_INITIAL_STATE, StoreInitAction, StoreErrorAction, Store, initialRouterState, RouterNavigateAction, RouterNavigateByUrlAction, RouterUrlUpdateAction, StoreRouterEffects, StoreRouter, routerReducer };

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":3,"metadata":{"STORE_INITIAL_REDUCERS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"OpaqueToken"},"arguments":["store.initial.reducers"]},"STORE_INITIAL_STATE":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"OpaqueToken"},"arguments":["store.initial.state"]},"StoreInitAction":{"__symbolic":"class"},"StoreErrorAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"any"}]}]}},"Store":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"rxjs/Observable","name":"Observable"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","name":"STORE_INITIAL_STATE"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","name":"STORE_INITIAL_REDUCERS"}]}]],"parameters":[{"__symbolic":"reference","module":"./actions","name":"StoreActions"},{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":42,"character":29,"context":{"typeName":"Reducer"}}]}]}],"replaceReducer":[{"__symbolic":"method"}],"dispatch":[{"__symbolic":"method"}],"select":[{"__symbolic":"method"}],"actionOfType":[{"__symbolic":"method"}],"next":[{"__symbolic":"method"}],"error":[{"__symbolic":"method"}],"complete":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"STORE_INITIAL_REDUCERS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"OpaqueToken"},"arguments":["store.initial.reducers"]},"STORE_INITIAL_STATE":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"OpaqueToken"},"arguments":["store.initial.state"]},"StoreInitAction":{"__symbolic":"class"},"StoreErrorAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"any"}]}]}},"Store":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"rxjs/Observable","name":"Observable"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","name":"STORE_INITIAL_STATE"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","name":"STORE_INITIAL_REDUCERS"}]}]],"parameters":[{"__symbolic":"reference","module":"./actions","name":"StoreActions"},{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":42,"character":29,"context":{"typeName":"Reducer"}}]}]}],"replaceReducer":[{"__symbolic":"method"}],"dispatch":[{"__symbolic":"method"}],"select":[{"__symbolic":"method"}],"actionOfType":[{"__symbolic":"method"}],"next":[{"__symbolic":"method"}],"error":[{"__symbolic":"method"}],"complete":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}}}}]
[{"__symbolic":"module","version":3,"metadata":{"STORE_INITIAL_REDUCERS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"OpaqueToken"},"arguments":["store.initial.reducers"]},"STORE_INITIAL_STATE":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"OpaqueToken"},"arguments":["store.initial.state"]},"StoreState":{"__symbolic":"interface"},"Reducer":{"__symbolic":"interface"},"Reducers":{"__symbolic":"interface"},"StoreInitAction":{"__symbolic":"class"},"StoreErrorAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"any"}]}]}},"Store":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"rxjs/Observable","name":"Observable"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","name":"STORE_INITIAL_STATE"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","name":"STORE_INITIAL_REDUCERS"}]}]],"parameters":[{"__symbolic":"reference","module":"./actions","name":"StoreActions"},{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any","arguments":[{"__symbolic":"reference","name":"any"}]}]}]}],"replaceReducer":[{"__symbolic":"method"}],"dispatch":[{"__symbolic":"method"}],"select":[{"__symbolic":"method"}],"actionOfType":[{"__symbolic":"method"}],"next":[{"__symbolic":"method"}],"error":[{"__symbolic":"method"}],"complete":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"STORE_INITIAL_REDUCERS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"OpaqueToken"},"arguments":["store.initial.reducers"]},"STORE_INITIAL_STATE":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"OpaqueToken"},"arguments":["store.initial.state"]},"StoreState":{"__symbolic":"interface"},"Reducer":{"__symbolic":"interface"},"Reducers":{"__symbolic":"interface"},"StoreInitAction":{"__symbolic":"class"},"StoreErrorAction":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"any"}]}]}},"Store":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"rxjs/Observable","name":"Observable"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","name":"STORE_INITIAL_STATE"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","name":"STORE_INITIAL_REDUCERS"}]}]],"parameters":[{"__symbolic":"reference","module":"./actions","name":"StoreActions"},{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"any","arguments":[{"__symbolic":"reference","name":"any"}]}]}]}],"replaceReducer":[{"__symbolic":"method"}],"dispatch":[{"__symbolic":"method"}],"select":[{"__symbolic":"method"}],"actionOfType":[{"__symbolic":"method"}],"next":[{"__symbolic":"method"}],"error":[{"__symbolic":"method"}],"complete":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}}}}]

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":3,"metadata":{"compose":{"__symbolic":"error","message":"Function call not supported","line":11,"character":41},"reduceReducers":{"__symbolic":"function","parameters":["reducers"],"value":{"__symbolic":"error","message":"Function call not supported","line":23,"character":9}},"combineReducers":{"__symbolic":"function"}}},{"__symbolic":"module","version":1,"metadata":{"compose":{"__symbolic":"error","message":"Function call not supported","line":11,"character":41},"reduceReducers":{"__symbolic":"function","parameters":["reducers"],"value":{"__symbolic":"error","message":"Function call not supported","line":23,"character":9}},"combineReducers":{"__symbolic":"function"}}}]
[{"__symbolic":"module","version":3,"metadata":{"ComposeSignature":{"__symbolic":"interface"},"compose":{"__symbolic":"error","message":"Function call not supported","line":11,"character":41},"reduceReducers":{"__symbolic":"function","parameters":["reducers"],"value":{"__symbolic":"error","message":"Function call not supported","line":23,"character":9}},"combineReducers":{"__symbolic":"function"}}},{"__symbolic":"module","version":1,"metadata":{"ComposeSignature":{"__symbolic":"interface"},"compose":{"__symbolic":"error","message":"Function call not supported","line":11,"character":41},"reduceReducers":{"__symbolic":"function","parameters":["reducers"],"value":{"__symbolic":"error","message":"Function call not supported","line":23,"character":9}},"combineReducers":{"__symbolic":"function"}}}]
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc