@ngrx/effects
Advanced tools
Comparing version 12.5.1 to 13.0.0-beta.0
@@ -5,4 +5,28 @@ (function (global, factory) { | ||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.ngrx = global.ngrx || {}, global.ngrx.effects = {}), global.ngrx.store, global.rxjs, global.rxjs.operators, global.ng.core)); | ||
}(this, (function (exports, store, rxjs, operators, core) { 'use strict'; | ||
}(this, (function (exports, i3, i1, operators, i0) { 'use strict'; | ||
function _interopNamespace(e) { | ||
if (e && e.__esModule) return e; | ||
var n = Object.create(null); | ||
if (e) { | ||
Object.keys(e).forEach(function (k) { | ||
if (k !== 'default') { | ||
var d = Object.getOwnPropertyDescriptor(e, k); | ||
Object.defineProperty(n, k, d.get ? d : { | ||
enumerable: true, | ||
get: function () { | ||
return e[k]; | ||
} | ||
}); | ||
} | ||
}); | ||
} | ||
n['default'] = e; | ||
return Object.freeze(n); | ||
} | ||
var i3__namespace = /*#__PURE__*/_interopNamespace(i3); | ||
var i1__namespace = /*#__PURE__*/_interopNamespace(i1); | ||
var i0__namespace = /*#__PURE__*/_interopNamespace(i0); | ||
var DEFAULT_EFFECT_CONFIG = { | ||
@@ -94,3 +118,3 @@ dispatch: true, | ||
function getEffectDecoratorMetadata(instance) { | ||
var effectsDecorators = store.compose(getEffectMetadataEntries, getSourceForInstance)(instance); | ||
var effectsDecorators = i3.compose(getEffectMetadataEntries, getSourceForInstance)(instance); | ||
return effectsDecorators; | ||
@@ -363,6 +387,12 @@ } | ||
} | ||
function __spreadArray(to, from) { | ||
for (var i = 0, il = from.length, j = to.length; i < il; i++, j++) | ||
to[j] = from[i]; | ||
return to; | ||
function __spreadArray(to, from, pack) { | ||
if (pack || arguments.length === 2) | ||
for (var i = 0, l = from.length, ar; i < l; i++) { | ||
if (ar || !(i in from)) { | ||
if (!ar) | ||
ar = Array.prototype.slice.call(from, 0, i); | ||
ar[i] = from[i]; | ||
} | ||
} | ||
return to.concat(ar || Array.prototype.slice.call(from)); | ||
} | ||
@@ -472,3 +502,3 @@ function __await(v) { | ||
}); | ||
return rxjs.merge.apply(void 0, __spreadArray([], __read(observables$))); | ||
return i1.merge.apply(void 0, __spreadArray([], __read(observables$))); | ||
} | ||
@@ -506,18 +536,14 @@ | ||
return Actions; | ||
}(rxjs.Observable)); | ||
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */ | ||
Actions.decorators = [ | ||
{ type: core.Injectable } | ||
]; | ||
}(i1.Observable)); | ||
/** @nocollapse */ Actions.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: Actions, deps: [{ token: i3.ScannedActionsSubject }], target: i0__namespace.ɵɵFactoryTarget.Injectable }); | ||
/** @nocollapse */ Actions.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: Actions }); | ||
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: Actions, decorators: [{ | ||
type: i0.Injectable | ||
}], ctorParameters: function () { | ||
return [{ type: i1__namespace.Observable, decorators: [{ | ||
type: i0.Inject, | ||
args: [i3.ScannedActionsSubject] | ||
}] }]; | ||
} }); | ||
/** | ||
* @type {function(): !Array<(null|{ | ||
* type: ?, | ||
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>), | ||
* })>} | ||
* @nocollapse | ||
*/ | ||
Actions.ctorParameters = function () { return [ | ||
{ type: rxjs.Observable, decorators: [{ type: core.Inject, args: [store.ScannedActionsSubject,] }] } | ||
]; }; | ||
/** | ||
* `ofType` filters an Observable of `Actions` into an Observable of the actions | ||
@@ -619,9 +645,9 @@ * whose type strings are passed to it. | ||
var _ROOT_EFFECTS_GUARD = new core.InjectionToken('@ngrx/effects Internal Root Guard'); | ||
var USER_PROVIDED_EFFECTS = new core.InjectionToken('@ngrx/effects User Provided Effects'); | ||
var _ROOT_EFFECTS = new core.InjectionToken('@ngrx/effects Internal Root Effects'); | ||
var ROOT_EFFECTS = new core.InjectionToken('@ngrx/effects Root Effects'); | ||
var _FEATURE_EFFECTS = new core.InjectionToken('@ngrx/effects Internal Feature Effects'); | ||
var FEATURE_EFFECTS = new core.InjectionToken('@ngrx/effects Feature Effects'); | ||
var EFFECTS_ERROR_HANDLER = new core.InjectionToken('@ngrx/effects Effects Error Handler'); | ||
var _ROOT_EFFECTS_GUARD = new i0.InjectionToken('@ngrx/effects Internal Root Guard'); | ||
var USER_PROVIDED_EFFECTS = new i0.InjectionToken('@ngrx/effects User Provided Effects'); | ||
var _ROOT_EFFECTS = new i0.InjectionToken('@ngrx/effects Internal Root Effects'); | ||
var ROOT_EFFECTS = new i0.InjectionToken('@ngrx/effects Root Effects'); | ||
var _FEATURE_EFFECTS = new i0.InjectionToken('@ngrx/effects Internal Feature Effects'); | ||
var FEATURE_EFFECTS = new i0.InjectionToken('@ngrx/effects Feature Effects'); | ||
var EFFECTS_ERROR_HANDLER = new i0.InjectionToken('@ngrx/effects Effects Error Handler'); | ||
@@ -656,22 +682,17 @@ var EffectSources = /** @class */ (function (_super) { | ||
var init$ = source$.pipe(operators.take(1), operators.filter(isOnInitEffects), operators.map(function (instance) { return instance.ngrxOnInitEffects(); })); | ||
return rxjs.merge(effect$, init$); | ||
return i1.merge(effect$, init$); | ||
})); | ||
}; | ||
return EffectSources; | ||
}(rxjs.Subject)); | ||
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */ | ||
EffectSources.decorators = [ | ||
{ type: core.Injectable } | ||
]; | ||
/** | ||
* @type {function(): !Array<(null|{ | ||
* type: ?, | ||
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>), | ||
* })>} | ||
* @nocollapse | ||
*/ | ||
EffectSources.ctorParameters = function () { return [ | ||
{ type: core.ErrorHandler }, | ||
{ type: undefined, decorators: [{ type: core.Inject, args: [EFFECTS_ERROR_HANDLER,] }] } | ||
]; }; | ||
}(i1.Subject)); | ||
/** @nocollapse */ EffectSources.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: EffectSources, deps: [{ token: i0__namespace.ErrorHandler }, { token: EFFECTS_ERROR_HANDLER }], target: i0__namespace.ɵɵFactoryTarget.Injectable }); | ||
/** @nocollapse */ EffectSources.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: EffectSources }); | ||
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: EffectSources, decorators: [{ | ||
type: i0.Injectable | ||
}], ctorParameters: function () { | ||
return [{ type: i0__namespace.ErrorHandler }, { type: undefined, decorators: [{ | ||
type: i0.Inject, | ||
args: [EFFECTS_ERROR_HANDLER] | ||
}] }]; | ||
} }); | ||
function effectsInstance(sourceInstance) { | ||
@@ -714,20 +735,10 @@ if (isOnIdentifyEffects(sourceInstance)) { | ||
}()); | ||
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */ | ||
EffectsRunner.decorators = [ | ||
{ type: core.Injectable } | ||
]; | ||
/** | ||
* @type {function(): !Array<(null|{ | ||
* type: ?, | ||
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>), | ||
* })>} | ||
* @nocollapse | ||
*/ | ||
EffectsRunner.ctorParameters = function () { return [ | ||
{ type: EffectSources }, | ||
{ type: store.Store } | ||
]; }; | ||
/** @nocollapse */ EffectsRunner.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: EffectsRunner, deps: [{ token: EffectSources }, { token: i3__namespace.Store }], target: i0__namespace.ɵɵFactoryTarget.Injectable }); | ||
/** @nocollapse */ EffectsRunner.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: EffectsRunner }); | ||
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: EffectsRunner, decorators: [{ | ||
type: i0.Injectable | ||
}], ctorParameters: function () { return [{ type: EffectSources }, { type: i3__namespace.Store }]; } }); | ||
var ROOT_EFFECTS_INIT = '@ngrx/effects/init'; | ||
var rootEffectsInit = store.createAction(ROOT_EFFECTS_INIT); | ||
var rootEffectsInit = i3.createAction(ROOT_EFFECTS_INIT); | ||
var EffectsRootModule = /** @class */ (function () { | ||
@@ -745,22 +756,23 @@ function EffectsRootModule(sources, runner, store, rootEffects, storeRootModule, storeFeatureModule, guard) { | ||
}()); | ||
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */ | ||
EffectsRootModule.decorators = [ | ||
{ type: core.NgModule, args: [{},] } | ||
]; | ||
/** | ||
* @type {function(): !Array<(null|{ | ||
* type: ?, | ||
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>), | ||
* })>} | ||
* @nocollapse | ||
*/ | ||
EffectsRootModule.ctorParameters = function () { return [ | ||
{ type: EffectSources }, | ||
{ type: EffectsRunner }, | ||
{ type: store.Store }, | ||
{ type: Array, decorators: [{ type: core.Inject, args: [ROOT_EFFECTS,] }] }, | ||
{ type: store.StoreRootModule, decorators: [{ type: core.Optional }] }, | ||
{ type: store.StoreFeatureModule, decorators: [{ type: core.Optional }] }, | ||
{ type: undefined, decorators: [{ type: core.Optional }, { type: core.Inject, args: [_ROOT_EFFECTS_GUARD,] }] } | ||
]; }; | ||
/** @nocollapse */ EffectsRootModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: EffectsRootModule, deps: [{ token: EffectSources }, { token: EffectsRunner }, { token: i3__namespace.Store }, { token: ROOT_EFFECTS }, { token: i3__namespace.StoreRootModule, optional: true }, { token: i3__namespace.StoreFeatureModule, optional: true }, { token: _ROOT_EFFECTS_GUARD, optional: true }], target: i0__namespace.ɵɵFactoryTarget.NgModule }); | ||
/** @nocollapse */ EffectsRootModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: EffectsRootModule }); | ||
/** @nocollapse */ EffectsRootModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: EffectsRootModule }); | ||
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: EffectsRootModule, decorators: [{ | ||
type: i0.NgModule, | ||
args: [{}] | ||
}], ctorParameters: function () { | ||
return [{ type: EffectSources }, { type: EffectsRunner }, { type: i3__namespace.Store }, { type: undefined, decorators: [{ | ||
type: i0.Inject, | ||
args: [ROOT_EFFECTS] | ||
}] }, { type: i3__namespace.StoreRootModule, decorators: [{ | ||
type: i0.Optional | ||
}] }, { type: i3__namespace.StoreFeatureModule, decorators: [{ | ||
type: i0.Optional | ||
}] }, { type: undefined, decorators: [{ | ||
type: i0.Optional | ||
}, { | ||
type: i0.Inject, | ||
args: [_ROOT_EFFECTS_GUARD] | ||
}] }]; | ||
} }); | ||
@@ -773,19 +785,18 @@ var EffectsFeatureModule = /** @class */ (function () { | ||
}()); | ||
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */ | ||
EffectsFeatureModule.decorators = [ | ||
{ type: core.NgModule, args: [{},] } | ||
]; | ||
/** | ||
* @type {function(): !Array<(null|{ | ||
* type: ?, | ||
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>), | ||
* })>} | ||
* @nocollapse | ||
*/ | ||
EffectsFeatureModule.ctorParameters = function () { return [ | ||
{ type: EffectsRootModule }, | ||
{ type: Array, decorators: [{ type: core.Inject, args: [FEATURE_EFFECTS,] }] }, | ||
{ type: store.StoreRootModule, decorators: [{ type: core.Optional }] }, | ||
{ type: store.StoreFeatureModule, decorators: [{ type: core.Optional }] } | ||
]; }; | ||
/** @nocollapse */ EffectsFeatureModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: EffectsFeatureModule, deps: [{ token: EffectsRootModule }, { token: FEATURE_EFFECTS }, { token: i3__namespace.StoreRootModule, optional: true }, { token: i3__namespace.StoreFeatureModule, optional: true }], target: i0__namespace.ɵɵFactoryTarget.NgModule }); | ||
/** @nocollapse */ EffectsFeatureModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: EffectsFeatureModule }); | ||
/** @nocollapse */ EffectsFeatureModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: EffectsFeatureModule }); | ||
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: EffectsFeatureModule, decorators: [{ | ||
type: i0.NgModule, | ||
args: [{}] | ||
}], ctorParameters: function () { | ||
return [{ type: EffectsRootModule }, { type: undefined, decorators: [{ | ||
type: i0.Inject, | ||
args: [FEATURE_EFFECTS] | ||
}] }, { type: i3__namespace.StoreRootModule, decorators: [{ | ||
type: i0.Optional | ||
}] }, { type: i3__namespace.StoreFeatureModule, decorators: [{ | ||
type: i0.Optional | ||
}] }]; | ||
} }); | ||
@@ -815,3 +826,3 @@ var EffectsModule = /** @class */ (function () { | ||
useFactory: createEffects, | ||
deps: [core.Injector, _FEATURE_EFFECTS, USER_PROVIDED_EFFECTS], | ||
deps: [i0.Injector, _FEATURE_EFFECTS, USER_PROVIDED_EFFECTS], | ||
}, | ||
@@ -842,4 +853,4 @@ ], | ||
deps: [ | ||
[EffectsRunner, new core.Optional(), new core.SkipSelf()], | ||
[_ROOT_EFFECTS, new core.Self()], | ||
[EffectsRunner, new i0.Optional(), new i0.SkipSelf()], | ||
[_ROOT_EFFECTS, new i0.Self()], | ||
], | ||
@@ -855,3 +866,3 @@ }, | ||
useFactory: createEffects, | ||
deps: [core.Injector, _ROOT_EFFECTS, USER_PROVIDED_EFFECTS], | ||
deps: [i0.Injector, _ROOT_EFFECTS, USER_PROVIDED_EFFECTS], | ||
}, | ||
@@ -863,6 +874,9 @@ ], | ||
}()); | ||
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */ | ||
EffectsModule.decorators = [ | ||
{ type: core.NgModule, args: [{},] } | ||
]; | ||
/** @nocollapse */ EffectsModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: EffectsModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule }); | ||
/** @nocollapse */ EffectsModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: EffectsModule }); | ||
/** @nocollapse */ EffectsModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: EffectsModule }); | ||
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: EffectsModule, decorators: [{ | ||
type: i0.NgModule, | ||
args: [{}] | ||
}] }); | ||
function createEffects(injector, effectGroups, userProvidedEffectGroups) { | ||
@@ -929,5 +943,5 @@ var e_1, _a, e_2, _b; | ||
: Object.assign(Object.assign({}, configOrProject), { operator: configOrProject.operator || operators.concatMap }), project = _a.project, error = _a.error, complete = _a.complete, operator = _a.operator, unsubscribe = _a.unsubscribe; | ||
return function (source) { return rxjs.defer(function () { | ||
var subject = new rxjs.Subject(); | ||
return rxjs.merge(source.pipe(operator(function (input, index) { return rxjs.defer(function () { | ||
return function (source) { return i1.defer(function () { | ||
var subject = new i1.Subject(); | ||
return i1.merge(source.pipe(operator(function (input, index) { return i1.defer(function () { | ||
var completed = false; | ||
@@ -940,7 +954,7 @@ var errored = false; | ||
errored = true; | ||
return new rxjs.Notification('N', error(notification.error, input)); | ||
return new i1.Notification('N', error(notification.error, input)); | ||
case 'C': | ||
completed = true; | ||
return complete | ||
? new rxjs.Notification('N', complete(projectedCount, input)) | ||
? new i1.Notification('N', complete(projectedCount, input)) | ||
: undefined; | ||
@@ -990,3 +1004,3 @@ default: | ||
function concatLatestFrom(observablesFactory) { | ||
return rxjs.pipe(operators.concatMap(function (value) { | ||
return i1.pipe(operators.concatMap(function (value) { | ||
var observables = observablesFactory(value); | ||
@@ -996,3 +1010,3 @@ var observablesAsArray = Array.isArray(observables) | ||
: [observables]; | ||
return rxjs.of(value).pipe(operators.withLatestFrom.apply(void 0, __spreadArray([], __read(observablesAsArray)))); | ||
return i1.of(value).pipe(operators.withLatestFrom.apply(void 0, __spreadArray([], __read(observablesAsArray)))); | ||
})); | ||
@@ -1029,10 +1043,2 @@ } | ||
exports.rootEffectsInit = rootEffectsInit; | ||
exports.ɵa = getSourceMetadata; | ||
exports.ɵb = createEffects; | ||
exports.ɵc = _provideForRootGuard; | ||
exports.ɵd = _ROOT_EFFECTS_GUARD; | ||
exports.ɵe = _ROOT_EFFECTS; | ||
exports.ɵf = ROOT_EFFECTS; | ||
exports.ɵg = _FEATURE_EFFECTS; | ||
exports.ɵh = FEATURE_EFFECTS; | ||
@@ -1039,0 +1045,0 @@ Object.defineProperty(exports, '__esModule', { value: true }); |
@@ -5,5 +5,2 @@ /** | ||
export * from './index'; | ||
export { getSourceMetadata as ɵa } from './src/effects_metadata'; | ||
export { _provideForRootGuard as ɵc, createEffects as ɵb } from './src/effects_module'; | ||
export { FEATURE_EFFECTS as ɵh, ROOT_EFFECTS as ɵf, _FEATURE_EFFECTS as ɵg, _ROOT_EFFECTS as ɵe, _ROOT_EFFECTS_GUARD as ɵd } from './src/tokens'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmdyeC1lZmZlY3RzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi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LCJmaWxlIjoibmdyeC1lZmZlY3RzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vbW9kdWxlcy9lZmZlY3RzL25ncngtZWZmZWN0cy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ== |
@@ -5,2 +5,4 @@ import { Inject, Injectable } from '@angular/core'; | ||
import { filter } from 'rxjs/operators'; | ||
import * as i0 from "@angular/core"; | ||
import * as i1 from "rxjs"; | ||
export class Actions extends Observable { | ||
@@ -20,17 +22,11 @@ constructor(source) { | ||
} | ||
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */ | ||
Actions.decorators = [ | ||
{ type: Injectable } | ||
]; | ||
/** @nocollapse */ Actions.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: Actions, deps: [{ token: ScannedActionsSubject }], target: i0.ɵɵFactoryTarget.Injectable }); | ||
/** @nocollapse */ Actions.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: Actions }); | ||
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: Actions, decorators: [{ | ||
type: Injectable | ||
}], ctorParameters: function () { return [{ type: i1.Observable, decorators: [{ | ||
type: Inject, | ||
args: [ScannedActionsSubject] | ||
}] }]; } }); | ||
/** | ||
* @type {function(): !Array<(null|{ | ||
* type: ?, | ||
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>), | ||
* })>} | ||
* @nocollapse | ||
*/ | ||
Actions.ctorParameters = () => [ | ||
{ type: Observable, decorators: [{ type: Inject, args: [ScannedActionsSubject,] }] } | ||
]; | ||
/** | ||
* `ofType` filters an Observable of `Actions` into an Observable of the actions | ||
@@ -80,2 +76,2 @@ * whose type strings are passed to it. | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWN0aW9ucy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL21vZHVsZXMvZWZmZWN0cy9zcmMvYWN0aW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsTUFBTSxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUNuRCxPQUFPLEVBSUwscUJBQXFCLEdBQ3RCLE1BQU0sYUFBYSxDQUFDO0FBQ3JCLE9BQU8sRUFBRSxVQUFVLEVBQThCLE1BQU0sTUFBTSxDQUFDO0FBQzlELE9BQU8sRUFBRSxNQUFNLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUd4QyxNQUFNLE9BQU8sT0FBb0IsU0FBUSxVQUFhO0lBQ3BELFlBQTJDLE1BQXNCO1FBQy9ELEtBQUssRUFBRSxDQUFDO1FBRVIsSUFBSSxNQUFNLEVBQUU7WUFDVixJQUFJLENBQUMsTUFBTSxHQUFHLE1BQU0sQ0FBQztTQUN0QjtJQUNILENBQUM7SUFFUSxJQUFJLENBQUksUUFBd0I7UUFDdkMsTUFBTSxVQUFVLEdBQUcsSUFBSSxPQUFPLEVBQUssQ0FBQztRQUNwQyxVQUFVLENBQUMsTUFBTSxHQUFHLElBQUksQ0FBQztRQUN6QixVQUFVLENBQUMsUUFBUSxHQUFHLFFBQVEsQ0FBQztRQUMvQixPQUFPLFVBQVUsQ0FBQztJQUNwQixDQUFDOzs7O1lBZkYsVUFBVTs7Ozs7Ozs7OztZQUhGLFVBQVUsdUJBS0osTUFBTSxTQUFDLHFCQUFxQjs7QUF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ZywgQ3JlYXRvcj4+XG4pOiBPcGVyYXRvckZ1bmN0aW9uPEFjdGlvbiwgQWN0aW9uPiB7XG4gIHJldHVybiBmaWx0ZXIoKGFjdGlvbjogQWN0aW9uKSA9PlxuICAgIGFsbG93ZWRUeXBlcy5zb21lKCh0eXBlT3JBY3Rpb25DcmVhdG9yKSA9PiB7XG4gICAgICBpZiAodHlwZW9mIHR5cGVPckFjdGlvbkNyZWF0b3IgPT09ICdzdHJpbmcnKSB7XG4gICAgICAgIC8vIENvbXBhcmluZyB0aGUgc3RyaW5nIHRvIHR5cGVcbiAgICAgICAgcmV0dXJuIHR5cGVPckFjdGlvbkNyZWF0b3IgPT09IGFjdGlvbi50eXBlO1xuICAgICAgfVxuXG4gICAgICAvLyBXZSBhcmUgZmlsdGVyaW5nIGJ5IEFjdGlvbkNyZWF0b3JcbiAgICAgIHJldHVybiB0eXBlT3JBY3Rpb25DcmVhdG9yLnR5cGUgPT09IGFjdGlvbi50eXBlO1xuICAgIH0pXG4gICk7XG59XG4iXX0= |
@@ -1,2 +0,2 @@ | ||
import { ErrorHandler, Inject, Injectable } from '@angular/core'; | ||
import { Inject, Injectable } from '@angular/core'; | ||
import { Subject, merge } from 'rxjs'; | ||
@@ -9,2 +9,3 @@ import { dematerialize, exhaustMap, filter, groupBy, map, mergeMap, take, } from 'rxjs/operators'; | ||
import { getSourceForInstance } from './utils'; | ||
import * as i0 from "@angular/core"; | ||
export class EffectSources extends Subject { | ||
@@ -39,17 +40,10 @@ constructor(errorHandler, effectsErrorHandler) { | ||
} | ||
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */ | ||
EffectSources.decorators = [ | ||
{ type: Injectable } | ||
]; | ||
/** | ||
* @type {function(): !Array<(null|{ | ||
* type: ?, | ||
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>), | ||
* })>} | ||
* @nocollapse | ||
*/ | ||
EffectSources.ctorParameters = () => [ | ||
{ type: ErrorHandler }, | ||
{ type: undefined, decorators: [{ type: Inject, args: [EFFECTS_ERROR_HANDLER,] }] } | ||
]; | ||
/** @nocollapse */ EffectSources.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EffectSources, deps: [{ token: i0.ErrorHandler }, { token: EFFECTS_ERROR_HANDLER }], target: i0.ɵɵFactoryTarget.Injectable }); | ||
/** @nocollapse */ EffectSources.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EffectSources }); | ||
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EffectSources, decorators: [{ | ||
type: Injectable | ||
}], ctorParameters: function () { return [{ type: i0.ErrorHandler }, { type: undefined, decorators: [{ | ||
type: Inject, | ||
args: [EFFECTS_ERROR_HANDLER] | ||
}] }]; } }); | ||
function effectsInstance(sourceInstance) { | ||
@@ -70,2 +64,2 @@ if (isOnIdentifyEffects(sourceInstance)) { | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWZmZWN0X3NvdXJjZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9tb2R1bGVzL2VmZmVjdHMvc3JjL2VmZmVjdF9zb3VyY2VzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUVqRSxPQUFPLEVBQTRCLE9BQU8sRUFBRSxLQUFLLEVBQUUsTUFBTSxNQUFNLENBQUM7QUFDaEUsT0FBTyxFQUNMLGFBQWEsRUFDYixVQUFVLEVBQ1YsTUFBTSxFQUNOLE9BQU8sRUFDUCxHQUFHLEVBQ0gsUUFBUSxFQUNSLElBQUksR0FDTCxNQUFNLGdCQUFnQixDQUFDO0FBRXhCLE9BQ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9PiB7XG4gICAgICAgIHJldHVybiBzb3VyY2UkLnBpcGUoZ3JvdXBCeShlZmZlY3RzSW5zdGFuY2UpKTtcbiAgICAgIH0pLFxuICAgICAgbWVyZ2VNYXAoKHNvdXJjZSQpID0+IHtcbiAgICAgICAgY29uc3QgZWZmZWN0JCA9IHNvdXJjZSQucGlwZShcbiAgICAgICAgICBleGhhdXN0TWFwKChzb3VyY2VJbnN0YW5jZSkgPT4ge1xuICAgICAgICAgICAgcmV0dXJuIHJlc29sdmVFZmZlY3RTb3VyY2UoXG4gICAgICAgICAgICAgIHRoaXMuZXJyb3JIYW5kbGVyLFxuICAgICAgICAgICAgICB0aGlzLmVmZmVjdHNFcnJvckhhbmRsZXJcbiAgICAgICAgICAgICkoc291cmNlSW5zdGFuY2UpO1xuICAgICAgICAgIH0pLFxuICAgICAgICAgIG1hcCgob3V0cHV0KSA9PiB7XG4gICAgICAgICAgICByZXBvcnRJbnZhbGlkQWN0aW9ucyhvdXRwdXQsIHRoaXMuZXJyb3JIYW5kbGVyKTtcbiAgICAgICAgICAgIHJldHVybiBvdXRwdXQubm90aWZpY2F0aW9uO1xuICAgICAgICAgIH0pLFxuICAgICAgICAgIGZpbHRlcihcbiAgICAgICAgICAgIChcbiAgICAgICAgICAgICAgbm90aWZpY2F0aW9uXG4gICAgICAgICAgICApOiBub3RpZmljYXRpb24gaXMgTm90aWZpY2F0aW9uPEFjdGlvbj4gJiB7XG4gICAgICAgICAgICAgIGtpbmQ6ICdOJztcbiAgICAgICAgICAgICAgdmFsdWU6IEFjdGlvbjtcbiAgICAgICAgICAgIH0gPT4gbm90aWZpY2F0aW9uLmtpbmQgPT09ICdOJyAmJiBub3RpZmljYXRpb24udmFsdWUgIT0gbnVsbFxuICAgICAgICAgICksXG4gICAgICAgICAgZGVtYXRlcmlhbGl6ZSgpXG4gICAgICAgICk7XG5cbiAgICAgICAgLy8gc3RhcnQgdGhlIHN0cmVhbSB3aXRoIGFuIElOSVQgYWN0aW9uXG4gICAg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KHNvdXJjZUluc3RhbmNlKTtcbiAgICAgICAgICB9KSxcbiAgICAgICAgICBtYXAoKG91dHB1dCkgPT4ge1xuICAgICAgICAgICAgcmVwb3J0SW52YWxpZEFjdGlvbnMob3V0cHV0LCB0aGlzLmVycm9ySGFuZGxlcik7XG4gICAgICAgICAgICByZXR1cm4gb3V0cHV0Lm5vdGlmaWNhdGlvbjtcbiAgICAgICAgICB9KSxcbiAgICAgICAgICBmaWx0ZXIoXG4gICAgICAgICAgICAoXG4gICAgICAgICAgICAgIG5vdGlmaWNhdGlvblxuICAgICAgICAgICAgKTogbm90aWZpY2F0aW9uIGlzIE5vdGlmaWNhdGlvbjxBY3Rpb24+ICYge1xuICAgICAgICAgICAgICBraW5kOiAnTic7XG4gICAgICAgICAgICAgIHZhbHVlOiBBY3Rpb247XG4gICAgICAgICAgICB9ID0+IG5vdGlmaWNhdGlvbi5raW5kID09PSAnTicgJiYgbm90aWZpY2F0aW9uLnZhbHVlICE9IG51bGxcbiAgICAgICAgICApLFxuICAgICAgICAgIGRlbWF0ZXJpYWxpemUoKVxuICAgICAgICApO1xuXG4gICAgICAgIC8vIHN0YXJ0IHRoZSBzdHJlYW0gd2l0aCBhbiBJTklUIGFjdGlvblxuICAgICAgICAvLyBkbyB0aGlzIG9ubHkgZm9yIHRoZSBmaXJzdCBFZmZlY3QgaW5zdGFuY2VcbiAgICAgICAgY29uc3QgaW5pdCQgPSBzb3VyY2UkLnBpcGUoXG4gICAgICAgICAgdGFrZSgxKSxcbiAgICAgICAgICBmaWx0ZXIoaXNPbkluaXRFZmZlY3RzKSxcbiAgICAgICAgICBtYXAoKGluc3RhbmNlKSA9PiBpbnN0YW5jZS5uZ3J4T25Jbml0RWZmZWN0cygpKVxuICAgICAgICApO1xuXG4gICAgICAgIHJldHVybiBtZXJnZShlZmZlY3QkLCBpbml0JCk7XG4gICAgICB9KVxuICAgICk7XG4gIH1cbn1cblxuZnVuY3Rpb24gZWZmZWN0c0luc3RhbmNlKHNvdXJjZUluc3RhbmNlOiBhbnkpIHtcbiAgaWYgKGlzT25JZGVudGlmeUVmZmVjdHMoc291cmNlSW5zdGFuY2UpKSB7XG4gICAgcmV0dXJuIHNvdXJjZUluc3RhbmNlLm5ncnhPbklkZW50aWZ5RWZmZWN0cygpO1xuICB9XG5cbiAgcmV0dXJuICcnO1xufVxuXG5mdW5jdGlvbiByZXNvbHZlRWZmZWN0U291cmNlKFxuICBlcnJvckhhbmRsZXI6IEVycm9ySGFuZGxlcixcbiAgZWZmZWN0c0Vycm9ySGFuZGxlcjogRWZmZWN0c0Vycm9ySGFuZGxlclxuKTogKHNvdXJjZUluc3RhbmNlOiBhbnkpID0+IE9ic2VydmFibGU8RWZmZWN0Tm90aWZpY2F0aW9uPiB7XG4gIHJldHVybiAoc291cmNlSW5zdGFuY2UpID0+IHtcbiAgICBjb25zdCBtZXJnZWRFZmZlY3RzJCA9IG1lcmdlRWZmZWN0cyhcbiAgICAgIHNvdXJjZUluc3RhbmNlLFxuICAgICAgZXJyb3JIYW5kbGVyLFxuICAgICAgZWZmZWN0c0Vycm9ySGFuZGxlclxuICAgICk7XG5cbiAgICBpZiAoaXNPblJ1bkVmZmVjdHMoc291cmNlSW5zdGFuY2UpKSB7XG4gICAgICByZXR1cm4gc291cmNlSW5zdGFuY2UubmdyeE9uUnVuRWZmZWN0cyhtZXJnZWRFZmZlY3RzJCk7XG4gICAgfVxuXG4gICAgcmV0dXJuIG1lcmdlZEVmZmVjdHMkO1xuICB9O1xufVxuIl19 |
import { NgModule, Inject, Optional } from '@angular/core'; | ||
import { StoreRootModule, StoreFeatureModule } from '@ngrx/store'; | ||
import { EffectsRootModule } from './effects_root_module'; | ||
import { FEATURE_EFFECTS } from './tokens'; | ||
import * as i0 from "@angular/core"; | ||
import * as i1 from "./effects_root_module"; | ||
import * as i2 from "@ngrx/store"; | ||
export class EffectsFeatureModule { | ||
@@ -10,19 +11,16 @@ constructor(root, effectSourceGroups, storeRootModule, storeFeatureModule) { | ||
} | ||
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */ | ||
EffectsFeatureModule.decorators = [ | ||
{ type: NgModule, args: [{},] } | ||
]; | ||
/** | ||
* @type {function(): !Array<(null|{ | ||
* type: ?, | ||
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>), | ||
* })>} | ||
* @nocollapse | ||
*/ | ||
EffectsFeatureModule.ctorParameters = () => [ | ||
{ type: EffectsRootModule }, | ||
{ type: Array, decorators: [{ type: Inject, args: [FEATURE_EFFECTS,] }] }, | ||
{ type: StoreRootModule, decorators: [{ type: Optional }] }, | ||
{ type: StoreFeatureModule, decorators: [{ type: Optional }] } | ||
]; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWZmZWN0c19mZWF0dXJlX21vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL21vZHVsZXMvZWZmZWN0cy9zcmMvZWZmZWN0c19mZWF0dXJlX21vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0QsT0FBTyxFQUFFLGVBQWUsRUFBRSxrQkFBa0IsRUFBRSxNQUFNLGFBQWEsQ0FBQztBQUNsRSxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQztBQUMxRCxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sVUFBVSxDQUFDO0FBRzNDLE1BQU0sT0FBTyxvQkFBb0I7SUFDL0IsWUFDRSxJQUF1QixFQUNFLGtCQUEyQixFQUN4QyxlQUFnQyxFQUNoQyxrQkFBc0M7UUFFbEQsa0JBQWtCLENBQUMsT0FBTyxDQUFDLENBQUMsS0FBSyxFQUFFLEVBQUUsQ0FDbkMsS0FBSyxD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gZ3JvdXAuZm9yRWFjaCgoZWZmZWN0U291cmNlSW5zdGFuY2UpID0+XG4gICAgICAgIHJvb3QuYWRkRWZmZWN0cyhlZmZlY3RTb3VyY2VJbnN0YW5jZSlcbiAgICAgIClcbiAgICApO1xuICB9XG59XG4iXX0= | ||
/** @nocollapse */ EffectsFeatureModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EffectsFeatureModule, deps: [{ token: i1.EffectsRootModule }, { token: FEATURE_EFFECTS }, { token: i2.StoreRootModule, optional: true }, { token: i2.StoreFeatureModule, optional: true }], target: i0.ɵɵFactoryTarget.NgModule }); | ||
/** @nocollapse */ EffectsFeatureModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EffectsFeatureModule }); | ||
/** @nocollapse */ EffectsFeatureModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EffectsFeatureModule }); | ||
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EffectsFeatureModule, decorators: [{ | ||
type: NgModule, | ||
args: [{}] | ||
}], ctorParameters: function () { return [{ type: i1.EffectsRootModule }, { type: undefined, decorators: [{ | ||
type: Inject, | ||
args: [FEATURE_EFFECTS] | ||
}] }, { type: i2.StoreRootModule, decorators: [{ | ||
type: Optional | ||
}] }, { type: i2.StoreFeatureModule, decorators: [{ | ||
type: Optional | ||
}] }]; } }); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWZmZWN0c19mZWF0dXJlX21vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL21vZHVsZXMvZWZmZWN0cy9zcmMvZWZmZWN0c19mZWF0dXJlX21vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoi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IHtcbiAgY29uc3RydWN0b3IoXG4gICAgcm9vdDogRWZmZWN0c1Jvb3RNb2R1bGUsXG4gICAgQEluamVjdChGRUFUVVJFX0VGRkVDVFMpIGVmZmVjdFNvdXJjZUdyb3VwczogYW55W11bXSxcbiAgICBAT3B0aW9uYWwoKSBzdG9yZVJvb3RNb2R1bGU6IFN0b3JlUm9vdE1vZHVsZSxcbiAgICBAT3B0aW9uYWwoKSBzdG9yZUZlYXR1cmVNb2R1bGU6IFN0b3JlRmVhdHVyZU1vZHVsZVxuICApIHtcbiAgICBlZmZlY3RTb3VyY2VHcm91cHMuZm9yRWFjaCgoZ3JvdXApID0+XG4gICAgICBncm91cC5mb3JFYWNoKChlZmZlY3RTb3VyY2VJbnN0YW5jZSkgPT5cbiAgICAgICAgcm9vdC5hZGRFZmZlY3RzKGVmZmVjdFNvdXJjZUluc3RhbmNlKVxuICAgICAgKVxuICAgICk7XG4gIH1cbn1cbiJdfQ== |
@@ -9,2 +9,3 @@ import { Injector, NgModule, Optional, Self, SkipSelf, } from '@angular/core'; | ||
import { _FEATURE_EFFECTS, _ROOT_EFFECTS, _ROOT_EFFECTS_GUARD, EFFECTS_ERROR_HANDLER, FEATURE_EFFECTS, ROOT_EFFECTS, USER_PROVIDED_EFFECTS, } from './tokens'; | ||
import * as i0 from "@angular/core"; | ||
export class EffectsModule { | ||
@@ -73,6 +74,9 @@ static forFeature(featureEffects = []) { | ||
} | ||
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */ | ||
EffectsModule.decorators = [ | ||
{ type: NgModule, args: [{},] } | ||
]; | ||
/** @nocollapse */ EffectsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EffectsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); | ||
/** @nocollapse */ EffectsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EffectsModule }); | ||
/** @nocollapse */ EffectsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EffectsModule }); | ||
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EffectsModule, decorators: [{ | ||
type: NgModule, | ||
args: [{}] | ||
}] }); | ||
export function createEffects(injector, effectGroups, userProvidedEffectGroups) { | ||
@@ -99,2 +103,2 @@ const mergedEffects = []; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWZmZWN0c19tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9tb2R1bGVzL2VmZmVjdHMvc3JjL2VmZmVjdHNfbW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCxRQUFRLEVBRVIsUUFBUSxFQUNSLFFBQVEsRUFDUixJQUFJLEVBQ0osUUFBUSxHQUVULE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFBRSxPQUFPLEVBQUUsTUFBTSxXQUFXLENBQUM7QUFDcEMsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLGtCQUFrQixDQUFDO0FBQ2pELE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLDBCQUEwQixDQUFDO0FBQ2hFLE9BQU8sRUFBRSwwQkFBMEIsRUFBRSxNQUFNLHlCQUF5QixDQUFDO0FBQ3JFLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLHVCQUF1QixDQUFDO0FBQzFELE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQztBQUNqRCxPQUFPLEVBQ0wsZ0JBQWdCLEVBQ2hCLGFBQWEsRUFDYixtQkFBbUIsRUFDbkIscUJBQXFCLEVBQ3JCLGVBQWUsRUFDZixZQUFZLEVBQ1oscUJBQX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KSBjYWxsZWQgdHdpY2UuIEZlYXR1cmUgbW9kdWxlcyBzaG91bGQgdXNlIEVmZmVjdHNNb2R1bGUuZm9yRmVhdHVyZSgpIGluc3RlYWQuYFxuICAgICk7XG4gIH1cbiAgcmV0dXJuICdndWFyZGVkJztcbn1cbiJdfQ== |
import { NgModule, Inject, Optional } from '@angular/core'; | ||
import { createAction, Store, StoreRootModule, StoreFeatureModule, } from '@ngrx/store'; | ||
import { EffectsRunner } from './effects_runner'; | ||
import { EffectSources } from './effect_sources'; | ||
import { createAction, } from '@ngrx/store'; | ||
import { ROOT_EFFECTS, _ROOT_EFFECTS_GUARD } from './tokens'; | ||
import * as i0 from "@angular/core"; | ||
import * as i1 from "./effect_sources"; | ||
import * as i2 from "./effects_runner"; | ||
import * as i3 from "@ngrx/store"; | ||
export const ROOT_EFFECTS_INIT = '@ngrx/effects/init'; | ||
@@ -19,22 +21,21 @@ export const rootEffectsInit = createAction(ROOT_EFFECTS_INIT); | ||
} | ||
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */ | ||
EffectsRootModule.decorators = [ | ||
{ type: NgModule, args: [{},] } | ||
]; | ||
/** | ||
* @type {function(): !Array<(null|{ | ||
* type: ?, | ||
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>), | ||
* })>} | ||
* @nocollapse | ||
*/ | ||
EffectsRootModule.ctorParameters = () => [ | ||
{ type: EffectSources }, | ||
{ type: EffectsRunner }, | ||
{ type: Store }, | ||
{ type: Array, decorators: [{ type: Inject, args: [ROOT_EFFECTS,] }] }, | ||
{ type: StoreRootModule, decorators: [{ type: Optional }] }, | ||
{ type: StoreFeatureModule, decorators: [{ type: Optional }] }, | ||
{ type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [_ROOT_EFFECTS_GUARD,] }] } | ||
]; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWZmZWN0c19yb290X21vZHVsZS5qcyIsInNvdXJj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lcbmV4cG9ydCBjbGFzcyBFZmZlY3RzUm9vdE1vZHVsZSB7XG4gIGNvbnN0cnVjdG9yKFxuICAgIHByaXZhdGUgc291cmNlczogRWZmZWN0U291cmNlcyxcbiAgICBydW5uZXI6IEVmZmVjdHNSdW5uZXIsXG4gICAgc3RvcmU6IFN0b3JlPGFueT4sXG4gICAgQEluamVjdChST09UX0VGRkVDVFMpIHJvb3RFZmZlY3RzOiBhbnlbXSxcbiAgICBAT3B0aW9uYWwoKSBzdG9yZVJvb3RNb2R1bGU6IFN0b3JlUm9vdE1vZHVsZSxcbiAgICBAT3B0aW9uYWwoKSBzdG9yZUZlYXR1cmVNb2R1bGU6IFN0b3JlRmVhdHVyZU1vZHVsZSxcbiAgICBAT3B0aW9uYWwoKVxuICAgIEBJbmplY3QoX1JPT1RfRUZGRUNUU19HVUFSRClcbiAgICBndWFyZDogYW55XG4gICkge1xuICAgIHJ1bm5lci5zdGFydCgpO1xuXG4gICAgcm9vdEVmZmVjdHMuZm9yRWFjaCgoZWZmZWN0U291cmNlSW5zdGFuY2UpID0+XG4gICAgICBzb3VyY2VzLmFkZEVmZmVjdHMoZWZmZWN0U291cmNlSW5zdGFuY2UpXG4gICAgKTtcblxuICAgIHN0b3JlLmRpc3BhdGNoKHsgdHlwZTogUk9PVF9FRkZFQ1RTX0lOSVQgfSk7XG4gIH1cblxuICBhZGRFZmZlY3RzKGVmZmVjdFNvdXJjZUluc3RhbmNlOiBhbnkpIHtcbiAgICB0aGlzLnNvdXJjZXMuYWRkRWZmZWN0cyhlZmZlY3RTb3VyY2VJbnN0YW5jZSk7XG4gIH1cbn1cbiJdfQ== | ||
/** @nocollapse */ EffectsRootModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EffectsRootModule, deps: [{ token: i1.EffectSources }, { token: i2.EffectsRunner }, { token: i3.Store }, { token: ROOT_EFFECTS }, { token: i3.StoreRootModule, optional: true }, { token: i3.StoreFeatureModule, optional: true }, { token: _ROOT_EFFECTS_GUARD, optional: true }], target: i0.ɵɵFactoryTarget.NgModule }); | ||
/** @nocollapse */ EffectsRootModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EffectsRootModule }); | ||
/** @nocollapse */ EffectsRootModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EffectsRootModule }); | ||
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EffectsRootModule, decorators: [{ | ||
type: NgModule, | ||
args: [{}] | ||
}], ctorParameters: function () { return [{ type: i1.EffectSources }, { type: i2.EffectsRunner }, { type: i3.Store }, { type: undefined, decorators: [{ | ||
type: Inject, | ||
args: [ROOT_EFFECTS] | ||
}] }, { type: i3.StoreRootModule, decorators: [{ | ||
type: Optional | ||
}] }, { type: i3.StoreFeatureModule, decorators: [{ | ||
type: Optional | ||
}] }, { type: undefined, decorators: [{ | ||
type: Optional | ||
}, { | ||
type: Inject, | ||
args: [_ROOT_EFFECTS_GUARD] | ||
}] }]; } }); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWZmZWN0c19yb290X21vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL21vZHVsZXMvZWZmZWN0cy9zcmMvZWZmZWN0c19yb290X21vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0QsT0FBTyxFQUNMLFlBQVksR0FLYixNQUFNLGFBQWEsQ0FBQztBQUdyQixPQUFPLEVBQUUsWUFBWSxFQUFFLG1CQUFtQixFQUFFLE1BQU0sVUFBVSxDQUFDOzs7OztBQUU3RCx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xuICAgIHJ1bm5lci5zdGFydCgpO1xuXG4gICAgcm9vdEVmZmVjdHMuZm9yRWFjaCgoZWZmZWN0U291cmNlSW5zdGFuY2UpID0+XG4gICAgICBzb3VyY2VzLmFkZEVmZmVjdHMoZWZmZWN0U291cmNlSW5zdGFuY2UpXG4gICAgKTtcblxuICAgIHN0b3JlLmRpc3BhdGNoKHsgdHlwZTogUk9PVF9FRkZFQ1RTX0lOSVQgfSk7XG4gIH1cblxuICBhZGRFZmZlY3RzKGVmZmVjdFNvdXJjZUluc3RhbmNlOiBhbnkpIHtcbiAgICB0aGlzLnNvdXJjZXMuYWRkRWZmZWN0cyhlZmZlY3RTb3VyY2VJbnN0YW5jZSk7XG4gIH1cbn1cbiJdfQ== |
import { Injectable } from '@angular/core'; | ||
import { Store } from '@ngrx/store'; | ||
import { EffectSources } from './effect_sources'; | ||
import * as i0 from "@angular/core"; | ||
import * as i1 from "./effect_sources"; | ||
import * as i2 from "@ngrx/store"; | ||
export class EffectsRunner { | ||
@@ -24,17 +25,7 @@ constructor(effectSources, store) { | ||
} | ||
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */ | ||
EffectsRunner.decorators = [ | ||
{ type: Injectable } | ||
]; | ||
/** | ||
* @type {function(): !Array<(null|{ | ||
* type: ?, | ||
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>), | ||
* })>} | ||
* @nocollapse | ||
*/ | ||
EffectsRunner.ctorParameters = () => [ | ||
{ type: EffectSources }, | ||
{ type: Store } | ||
]; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWZmZWN0c19ydW5uZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9tb2R1bGVzL2VmZmVjdHMvc3JjL2VmZmVjdHNfcnVubmVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLE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Y2VzJztcblxuQEluamVjdGFibGUoKVxuZXhwb3J0IGNsYXNzIEVmZmVjdHNSdW5uZXIgaW1wbGVtZW50cyBPbkRlc3Ryb3kge1xuICBwcml2YXRlIGVmZmVjdHNTdWJzY3JpcHRpb246IFN1YnNjcmlwdGlvbiB8IG51bGwgPSBudWxsO1xuXG4gIGNvbnN0cnVjdG9yKFxuICAgIHByaXZhdGUgZWZmZWN0U291cmNlczogRWZmZWN0U291cmNlcyxcbiAgICBwcml2YXRlIHN0b3JlOiBTdG9yZTxhbnk+XG4gICkge31cblxuICBzdGFydCgpIHtcbiAgICBpZiAoIXRoaXMuZWZmZWN0c1N1YnNjcmlwdGlvbikge1xuICAgICAgdGhpcy5lZmZlY3RzU3Vic2NyaXB0aW9uID0gdGhpcy5lZmZlY3RTb3VyY2VzXG4gICAgICAgIC50b0FjdGlvbnMoKVxuICAgICAgICAuc3Vic2NyaWJlKHRoaXMuc3RvcmUpO1xuICAgIH1cbiAgfVxuXG4gIG5nT25EZXN0cm95KCkge1xuICAgIGlmICh0aGlzLmVmZmVjdHNTdWJzY3JpcHRpb24pIHtcbiAgICAgIHRoaXMuZWZmZWN0c1N1YnNjcmlwdGlvbi51bnN1YnNjcmliZSgpO1xuICAgICAgdGhpcy5lZmZlY3RzU3Vic2NyaXB0aW9uID0gbnVsbDtcbiAgICB9XG4gIH1cbn1cbiJdfQ== | ||
/** @nocollapse */ EffectsRunner.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EffectsRunner, deps: [{ token: i1.EffectSources }, { token: i2.Store }], target: i0.ɵɵFactoryTarget.Injectable }); | ||
/** @nocollapse */ EffectsRunner.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EffectsRunner }); | ||
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EffectsRunner, decorators: [{ | ||
type: Injectable | ||
}], ctorParameters: function () { return [{ type: i1.EffectSources }, { type: i2.Store }]; } }); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWZmZWN0c19ydW5uZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9tb2R1bGVzL2VmZmVjdHMvc3JjL2VmZmVjdHNfcnVubmVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQWEsTUFBTSxlQUFlLENBQUM7Ozs7QUFPdEQsTUFBTSxPQUFPLGFBQWE7SUFHeEIsWUFDVSxhQUE0QixFQUM1QixLQUFpQjtRQURqQixrQkFBYSxHQUFiLGFBQWEsQ0FBZTtRQUM1QixVQUFLLEdBQUwsS0FBSyxDQUFZO1FBSm5CLHdCQUFtQixHQUF3QixJQUFJLENBQUM7SUFLckQsQ0FBQztJQUVKLEtBQUs7UUFDSCxJQUFJLENBQUMsSUFBSSxDQUFDLG1CQUFtQixFQUFFO1lBQzdCLElBQUksQ0FBQyxtQkFBbUIsR0FBRyxJQUFJLENBQUMsYUFBYTtpQkFDMUMsU0FBUyxFQUFFO2lCQUNYLFNBQVMsQ0FBQyxJQUFJLENBQUMsS0FBSyxDQUFDLENBQUM7U0FDMUI7SUFDSCxDQUFDO0lBRUQsV0FBVztRQUNULElBQUksSUFBSSxDQUFDLG1CQUFtQixFQUFFO1lBQzVCLElBQUksQ0FBQyxtQkFBbUIsQ0FBQyxXQUFXLEVBQUUsQ0FBQztZQUN2QyxJQUFJLENBQUMsbUJBQW1CLEdBQUcsSUFBSSxDQUFDO1NBQ2pDO0lBQ0gsQ0FBQzs7NkhBckJVLGFBQWE7aUlBQWIsYUFBYTsyRkFBYixhQUFhO2tCQUR6QixVQUFVIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSW5qZWN0YWJsZSwgT25EZXN0cm95IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBTdG9yZSB9IGZyb20gJ0BuZ3J4L3N0b3JlJztcbmltcG9ydCB7IFN1YnNjcmlwdGlvbiB9IGZyb20gJ3J4anMnO1xuXG5pbXBvcnQgeyBFZmZlY3RTb3VyY2VzIH0gZnJvbSAnLi9lZmZlY3Rfc291cmNlcyc7XG5cbkBJbmplY3RhYmxlKClcbmV4cG9ydCBjbGFzcyBFZmZlY3RzUnVubmVyIGltcGxlbWVudHMgT25EZXN0cm95IHtcbiAgcHJpdmF0ZSBlZmZlY3RzU3Vic2NyaXB0aW9uOiBTdWJzY3JpcHRpb24gfCBudWxsID0gbnVsbDtcblxuICBjb25zdHJ1Y3RvcihcbiAgICBwcml2YXRlIGVmZmVjdFNvdXJjZXM6IEVmZmVjdFNvdXJjZXMsXG4gICAgcHJpdmF0ZSBzdG9yZTogU3RvcmU8YW55PlxuICApIHt9XG5cbiAgc3RhcnQoKSB7XG4gICAgaWYgKCF0aGlzLmVmZmVjdHNTdWJzY3JpcHRpb24pIHtcbiAgICAgIHRoaXMuZWZmZWN0c1N1YnNjcmlwdGlvbiA9IHRoaXMuZWZmZWN0U291cmNlc1xuICAgICAgICAudG9BY3Rpb25zKClcbiAgICAgICAgLnN1YnNjcmliZSh0aGlzLnN0b3JlKTtcbiAgICB9XG4gIH1cblxuICBuZ09uRGVzdHJveSgpIHtcbiAgICBpZiAodGhpcy5lZmZlY3RzU3Vic2NyaXB0aW9uKSB7XG4gICAgICB0aGlzLmVmZmVjdHNTdWJzY3JpcHRpb24udW5zdWJzY3JpYmUoKTtcbiAgICAgIHRoaXMuZWZmZWN0c1N1YnNjcmlwdGlvbiA9IG51bGw7XG4gICAgfVxuICB9XG59XG4iXX0= |
@@ -1,5 +0,8 @@ | ||
import { compose, ScannedActionsSubject, Store, createAction, StoreRootModule, StoreFeatureModule } from '@ngrx/store'; | ||
import * as i3 from '@ngrx/store'; | ||
import { compose, ScannedActionsSubject, createAction } from '@ngrx/store'; | ||
import * as i1 from 'rxjs'; | ||
import { merge, Observable, Subject, defer, Notification, pipe, of } from 'rxjs'; | ||
import { ignoreElements, materialize, map, catchError, filter, groupBy, mergeMap, exhaustMap, dematerialize, take, concatMap, finalize, withLatestFrom } from 'rxjs/operators'; | ||
import { Injectable, Inject, InjectionToken, ErrorHandler, NgModule, Optional, Injector, SkipSelf, Self } from '@angular/core'; | ||
import * as i0 from '@angular/core'; | ||
import { Injectable, Inject, InjectionToken, NgModule, Optional, Injector, SkipSelf, Self } from '@angular/core'; | ||
@@ -182,17 +185,11 @@ const DEFAULT_EFFECT_CONFIG = { | ||
} | ||
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */ | ||
Actions.decorators = [ | ||
{ type: Injectable } | ||
]; | ||
/** @nocollapse */ Actions.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: Actions, deps: [{ token: ScannedActionsSubject }], target: i0.ɵɵFactoryTarget.Injectable }); | ||
/** @nocollapse */ Actions.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: Actions }); | ||
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: Actions, decorators: [{ | ||
type: Injectable | ||
}], ctorParameters: function () { return [{ type: i1.Observable, decorators: [{ | ||
type: Inject, | ||
args: [ScannedActionsSubject] | ||
}] }]; } }); | ||
/** | ||
* @type {function(): !Array<(null|{ | ||
* type: ?, | ||
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>), | ||
* })>} | ||
* @nocollapse | ||
*/ | ||
Actions.ctorParameters = () => [ | ||
{ type: Observable, decorators: [{ type: Inject, args: [ScannedActionsSubject,] }] } | ||
]; | ||
/** | ||
* `ofType` filters an Observable of `Actions` into an Observable of the actions | ||
@@ -326,17 +323,10 @@ * whose type strings are passed to it. | ||
} | ||
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */ | ||
EffectSources.decorators = [ | ||
{ type: Injectable } | ||
]; | ||
/** | ||
* @type {function(): !Array<(null|{ | ||
* type: ?, | ||
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>), | ||
* })>} | ||
* @nocollapse | ||
*/ | ||
EffectSources.ctorParameters = () => [ | ||
{ type: ErrorHandler }, | ||
{ type: undefined, decorators: [{ type: Inject, args: [EFFECTS_ERROR_HANDLER,] }] } | ||
]; | ||
/** @nocollapse */ EffectSources.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EffectSources, deps: [{ token: i0.ErrorHandler }, { token: EFFECTS_ERROR_HANDLER }], target: i0.ɵɵFactoryTarget.Injectable }); | ||
/** @nocollapse */ EffectSources.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EffectSources }); | ||
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EffectSources, decorators: [{ | ||
type: Injectable | ||
}], ctorParameters: function () { return [{ type: i0.ErrorHandler }, { type: undefined, decorators: [{ | ||
type: Inject, | ||
args: [EFFECTS_ERROR_HANDLER] | ||
}] }]; } }); | ||
function effectsInstance(sourceInstance) { | ||
@@ -378,17 +368,7 @@ if (isOnIdentifyEffects(sourceInstance)) { | ||
} | ||
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */ | ||
EffectsRunner.decorators = [ | ||
{ type: Injectable } | ||
]; | ||
/** | ||
* @type {function(): !Array<(null|{ | ||
* type: ?, | ||
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>), | ||
* })>} | ||
* @nocollapse | ||
*/ | ||
EffectsRunner.ctorParameters = () => [ | ||
{ type: EffectSources }, | ||
{ type: Store } | ||
]; | ||
/** @nocollapse */ EffectsRunner.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EffectsRunner, deps: [{ token: EffectSources }, { token: i3.Store }], target: i0.ɵɵFactoryTarget.Injectable }); | ||
/** @nocollapse */ EffectsRunner.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EffectsRunner }); | ||
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EffectsRunner, decorators: [{ | ||
type: Injectable | ||
}], ctorParameters: function () { return [{ type: EffectSources }, { type: i3.Store }]; } }); | ||
@@ -408,22 +388,21 @@ const ROOT_EFFECTS_INIT = '@ngrx/effects/init'; | ||
} | ||
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */ | ||
EffectsRootModule.decorators = [ | ||
{ type: NgModule, args: [{},] } | ||
]; | ||
/** | ||
* @type {function(): !Array<(null|{ | ||
* type: ?, | ||
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>), | ||
* })>} | ||
* @nocollapse | ||
*/ | ||
EffectsRootModule.ctorParameters = () => [ | ||
{ type: EffectSources }, | ||
{ type: EffectsRunner }, | ||
{ type: Store }, | ||
{ type: Array, decorators: [{ type: Inject, args: [ROOT_EFFECTS,] }] }, | ||
{ type: StoreRootModule, decorators: [{ type: Optional }] }, | ||
{ type: StoreFeatureModule, decorators: [{ type: Optional }] }, | ||
{ type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [_ROOT_EFFECTS_GUARD,] }] } | ||
]; | ||
/** @nocollapse */ EffectsRootModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EffectsRootModule, deps: [{ token: EffectSources }, { token: EffectsRunner }, { token: i3.Store }, { token: ROOT_EFFECTS }, { token: i3.StoreRootModule, optional: true }, { token: i3.StoreFeatureModule, optional: true }, { token: _ROOT_EFFECTS_GUARD, optional: true }], target: i0.ɵɵFactoryTarget.NgModule }); | ||
/** @nocollapse */ EffectsRootModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EffectsRootModule }); | ||
/** @nocollapse */ EffectsRootModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EffectsRootModule }); | ||
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EffectsRootModule, decorators: [{ | ||
type: NgModule, | ||
args: [{}] | ||
}], ctorParameters: function () { return [{ type: EffectSources }, { type: EffectsRunner }, { type: i3.Store }, { type: undefined, decorators: [{ | ||
type: Inject, | ||
args: [ROOT_EFFECTS] | ||
}] }, { type: i3.StoreRootModule, decorators: [{ | ||
type: Optional | ||
}] }, { type: i3.StoreFeatureModule, decorators: [{ | ||
type: Optional | ||
}] }, { type: undefined, decorators: [{ | ||
type: Optional | ||
}, { | ||
type: Inject, | ||
args: [_ROOT_EFFECTS_GUARD] | ||
}] }]; } }); | ||
@@ -435,19 +414,16 @@ class EffectsFeatureModule { | ||
} | ||
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */ | ||
EffectsFeatureModule.decorators = [ | ||
{ type: NgModule, args: [{},] } | ||
]; | ||
/** | ||
* @type {function(): !Array<(null|{ | ||
* type: ?, | ||
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>), | ||
* })>} | ||
* @nocollapse | ||
*/ | ||
EffectsFeatureModule.ctorParameters = () => [ | ||
{ type: EffectsRootModule }, | ||
{ type: Array, decorators: [{ type: Inject, args: [FEATURE_EFFECTS,] }] }, | ||
{ type: StoreRootModule, decorators: [{ type: Optional }] }, | ||
{ type: StoreFeatureModule, decorators: [{ type: Optional }] } | ||
]; | ||
/** @nocollapse */ EffectsFeatureModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EffectsFeatureModule, deps: [{ token: EffectsRootModule }, { token: FEATURE_EFFECTS }, { token: i3.StoreRootModule, optional: true }, { token: i3.StoreFeatureModule, optional: true }], target: i0.ɵɵFactoryTarget.NgModule }); | ||
/** @nocollapse */ EffectsFeatureModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EffectsFeatureModule }); | ||
/** @nocollapse */ EffectsFeatureModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EffectsFeatureModule }); | ||
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EffectsFeatureModule, decorators: [{ | ||
type: NgModule, | ||
args: [{}] | ||
}], ctorParameters: function () { return [{ type: EffectsRootModule }, { type: undefined, decorators: [{ | ||
type: Inject, | ||
args: [FEATURE_EFFECTS] | ||
}] }, { type: i3.StoreRootModule, decorators: [{ | ||
type: Optional | ||
}] }, { type: i3.StoreFeatureModule, decorators: [{ | ||
type: Optional | ||
}] }]; } }); | ||
@@ -517,6 +493,9 @@ class EffectsModule { | ||
} | ||
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */ | ||
EffectsModule.decorators = [ | ||
{ type: NgModule, args: [{},] } | ||
]; | ||
/** @nocollapse */ EffectsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EffectsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); | ||
/** @nocollapse */ EffectsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EffectsModule }); | ||
/** @nocollapse */ EffectsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EffectsModule }); | ||
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EffectsModule, decorators: [{ | ||
type: NgModule, | ||
args: [{}] | ||
}] }); | ||
function createEffects(injector, effectGroups, userProvidedEffectGroups) { | ||
@@ -640,3 +619,3 @@ const mergedEffects = []; | ||
export { Actions, EFFECTS_ERROR_HANDLER, Effect, EffectSources, EffectsFeatureModule, EffectsModule, EffectsRootModule, EffectsRunner, ROOT_EFFECTS_INIT, USER_PROVIDED_EFFECTS, act, concatLatestFrom, createEffect, defaultEffectsErrorHandler, getEffectsMetadata, mergeEffects, ofType, rootEffectsInit, getSourceMetadata as ɵa, createEffects as ɵb, _provideForRootGuard as ɵc, _ROOT_EFFECTS_GUARD as ɵd, _ROOT_EFFECTS as ɵe, ROOT_EFFECTS as ɵf, _FEATURE_EFFECTS as ɵg, FEATURE_EFFECTS as ɵh }; | ||
export { Actions, EFFECTS_ERROR_HANDLER, Effect, EffectSources, EffectsFeatureModule, EffectsModule, EffectsRootModule, EffectsRunner, ROOT_EFFECTS_INIT, USER_PROVIDED_EFFECTS, act, concatLatestFrom, createEffect, defaultEffectsErrorHandler, getEffectsMetadata, mergeEffects, ofType, rootEffectsInit }; | ||
//# sourceMappingURL=ngrx-effects.js.map |
@@ -13,4 +13,9 @@ { | ||
"factory": "./9_0_0/index" | ||
}, | ||
"ngrx-effects-migration-03": { | ||
"description": "The road to v13", | ||
"version": "13", | ||
"factory": "./13_0_0/index" | ||
} | ||
} | ||
} |
/** | ||
* Generated bundle index. Do not edit. | ||
*/ | ||
/// <amd-module name="@ngrx/effects" /> | ||
export * from './index'; | ||
export { getSourceMetadata as ɵa } from './src/effects_metadata'; | ||
export { _provideForRootGuard as ɵc, createEffects as ɵb } from './src/effects_module'; | ||
export { FEATURE_EFFECTS as ɵh, ROOT_EFFECTS as ɵf, _FEATURE_EFFECTS as ɵg, _ROOT_EFFECTS as ɵe, _ROOT_EFFECTS_GUARD as ɵd } from './src/tokens'; |
{ | ||
"name": "@ngrx/effects", | ||
"version": "12.5.1", | ||
"version": "13.0.0-beta.0", | ||
"description": "Side effect model for @ngrx/store", | ||
@@ -24,5 +24,5 @@ "repository": { | ||
"peerDependencies": { | ||
"@angular/core": "^12.0.0", | ||
"@ngrx/store": "12.5.1", | ||
"rxjs": "^6.5.3 || ^7.0.0" | ||
"@angular/core": "^13.0.0-rc.0", | ||
"@ngrx/store": "13.0.0-beta.0", | ||
"rxjs": "^6.5.3 || ^7.4.0" | ||
}, | ||
@@ -53,4 +53,3 @@ "schematics": "./schematics/collection.json", | ||
"fesm2015": "fesm2015/ngrx-effects.js", | ||
"typings": "ngrx-effects.d.ts", | ||
"metadata": "ngrx-effects.metadata.json" | ||
"typings": "ngrx-effects.d.ts" | ||
} |
"use strict"; | ||
exports.__esModule = true; | ||
exports.platformVersion = void 0; | ||
exports.platformVersion = '^12.5.1'; | ||
exports.platformVersion = '^13.0.0-beta.0'; | ||
//# sourceMappingURL=libs-version.js.map |
import { Action, ActionCreator, Creator } from '@ngrx/store'; | ||
import { Observable, OperatorFunction, Operator } from 'rxjs'; | ||
import * as i0 from "@angular/core"; | ||
export declare class Actions<V = Action> extends Observable<V> { | ||
constructor(source?: Observable<V>); | ||
lift<R>(operator: Operator<V, R>): Observable<R>; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<Actions<any>, never>; | ||
static ɵprov: i0.ɵɵInjectableDeclaration<Actions<any>>; | ||
} | ||
@@ -7,0 +10,0 @@ declare type ActionExtractor<T extends string | AC, AC extends ActionCreator<string, Creator>, E> = T extends string ? E : ReturnType<Extract<T, AC>>; |
import { ErrorHandler } from '@angular/core'; | ||
import { Subject } from 'rxjs'; | ||
import { EffectsErrorHandler } from './effects_error_handler'; | ||
import * as i0 from "@angular/core"; | ||
export declare class EffectSources extends Subject<any> { | ||
@@ -9,2 +10,4 @@ private errorHandler; | ||
addEffects(effectSourceInstance: any): void; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<EffectSources, never>; | ||
static ɵprov: i0.ɵɵInjectableDeclaration<EffectSources>; | ||
} |
import { StoreRootModule, StoreFeatureModule } from '@ngrx/store'; | ||
import { EffectsRootModule } from './effects_root_module'; | ||
import * as i0 from "@angular/core"; | ||
export declare class EffectsFeatureModule { | ||
constructor(root: EffectsRootModule, effectSourceGroups: any[][], storeRootModule: StoreRootModule, storeFeatureModule: StoreFeatureModule); | ||
static ɵfac: i0.ɵɵFactoryDeclaration<EffectsFeatureModule, [null, null, { optional: true; }, { optional: true; }]>; | ||
static ɵmod: i0.ɵɵNgModuleDeclaration<EffectsFeatureModule, never, never, never>; | ||
static ɵinj: i0.ɵɵInjectorDeclaration<EffectsFeatureModule>; | ||
} |
@@ -5,5 +5,9 @@ import { Injector, ModuleWithProviders, Type } from '@angular/core'; | ||
import { EffectsRunner } from './effects_runner'; | ||
import * as i0 from "@angular/core"; | ||
export declare class EffectsModule { | ||
static forFeature(featureEffects?: Type<any>[]): ModuleWithProviders<EffectsFeatureModule>; | ||
static forRoot(rootEffects?: Type<any>[]): ModuleWithProviders<EffectsRootModule>; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<EffectsModule, never>; | ||
static ɵmod: i0.ɵɵNgModuleDeclaration<EffectsModule, never, never, never>; | ||
static ɵinj: i0.ɵɵInjectorDeclaration<EffectsModule>; | ||
} | ||
@@ -10,0 +14,0 @@ export declare function createEffects(injector: Injector, effectGroups: Type<any>[][], userProvidedEffectGroups: Type<any>[][]): any[]; |
import { Store, StoreRootModule, StoreFeatureModule } from '@ngrx/store'; | ||
import { EffectsRunner } from './effects_runner'; | ||
import { EffectSources } from './effect_sources'; | ||
import * as i0 from "@angular/core"; | ||
export declare const ROOT_EFFECTS_INIT = "@ngrx/effects/init"; | ||
@@ -10,2 +11,5 @@ export declare const rootEffectsInit: import("@ngrx/store").ActionCreator<"@ngrx/effects/init", () => import("@ngrx/store/src/models").TypedAction<"@ngrx/effects/init">>; | ||
addEffects(effectSourceInstance: any): void; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<EffectsRootModule, [null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }]>; | ||
static ɵmod: i0.ɵɵNgModuleDeclaration<EffectsRootModule, never, never, never>; | ||
static ɵinj: i0.ɵɵInjectorDeclaration<EffectsRootModule>; | ||
} |
import { OnDestroy } from '@angular/core'; | ||
import { Store } from '@ngrx/store'; | ||
import { EffectSources } from './effect_sources'; | ||
import * as i0 from "@angular/core"; | ||
export declare class EffectsRunner implements OnDestroy { | ||
@@ -11,2 +12,4 @@ private effectSources; | ||
ngOnDestroy(): void; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<EffectsRunner, never>; | ||
static ɵprov: i0.ɵɵInjectableDeclaration<EffectsRunner>; | ||
} |
/** | ||
* Generated bundle index. Do not edit. | ||
*/ | ||
/// <amd-module name="@ngrx/effects/testing" /> | ||
export * from './public_api'; |
@@ -11,4 +11,3 @@ { | ||
"fesm2015": "../fesm2015/ngrx-effects-testing.js", | ||
"metadata": "ngrx-effects-testing.metadata.json", | ||
"sideEffects": false | ||
} |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
595786
5235
1