@ngxs/store 18.0.0 → 18.1.0-dev.master-d917fba
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -2
- package/esm2022/experimental/index.mjs +2 -0
- package/esm2022/experimental/ngxs-store-experimental.mjs +5 -0
- package/esm2022/experimental/pending-tasks.mjs +30 -0
- package/esm2022/internals/custom-rxjs-operators.mjs +19 -0
- package/esm2022/internals/index.mjs +2 -1
- package/esm2022/internals/ngxs-app-bootstrapped-state.mjs +3 -3
- package/esm2022/internals/state-stream.mjs +7 -6
- package/esm2022/internals/testing/helpers/ngxs-test.component.mjs +3 -3
- package/esm2022/internals/testing/helpers/ngxs-test.module.mjs +4 -4
- package/esm2022/src/actions-stream.mjs +6 -6
- package/esm2022/src/decorators/select/select-factory.mjs +3 -3
- package/esm2022/src/dev-features/ngxs-development.module.mjs +4 -4
- package/esm2022/src/dev-features/ngxs-unhandled-actions-logger.mjs +3 -3
- package/esm2022/src/execution/dispatch-outside-zone-ngxs-execution-strategy.mjs +3 -3
- package/esm2022/src/execution/internal-ngxs-execution-strategy.mjs +3 -3
- package/esm2022/src/execution/noop-ngxs-execution-strategy.mjs +3 -3
- package/esm2022/src/internal/dispatcher.mjs +6 -6
- package/esm2022/src/internal/lifecycle-state-manager.mjs +3 -3
- package/esm2022/src/internal/state-context-factory.mjs +3 -3
- package/esm2022/src/internal/state-factory.mjs +6 -6
- package/esm2022/src/internal/state-operations.mjs +3 -3
- package/esm2022/src/module.mjs +4 -4
- package/esm2022/src/modules/ngxs-feature.module.mjs +4 -4
- package/esm2022/src/modules/ngxs-root.module.mjs +4 -4
- package/esm2022/src/ngxs-unhandled-error-handler.mjs +3 -3
- package/esm2022/src/operators/leave-ngxs.mjs +3 -17
- package/esm2022/src/plugin-manager.mjs +3 -3
- package/esm2022/src/store.mjs +6 -7
- package/esm2022/src/symbols.mjs +3 -3
- package/experimental/index.d.ts +1 -0
- package/experimental/pending-tasks.d.ts +8 -0
- package/fesm2022/ngxs-store-experimental.mjs +37 -0
- package/fesm2022/ngxs-store-experimental.mjs.map +1 -0
- package/fesm2022/ngxs-store-internals-testing.mjs +7 -7
- package/fesm2022/ngxs-store-internals.mjs +28 -10
- package/fesm2022/ngxs-store-internals.mjs.map +1 -1
- package/fesm2022/ngxs-store.mjs +76 -90
- package/fesm2022/ngxs-store.mjs.map +1 -1
- package/internals/custom-rxjs-operators.d.ts +2 -0
- package/internals/index.d.ts +1 -0
- package/internals/state-stream.d.ts +1 -1
- package/package.json +8 -2
- package/schematics/src/ng-add/add-declaration.js +3 -3
- package/schematics/src/ng-add/add-declaration.js.map +1 -1
- package/schematics/src/ng-add/ng-add.factory.js +2 -2
- package/schematics/src/ng-add/ng-add.factory.js.map +1 -1
- package/schematics/src/starter-kit/starter-kit.factory.js +2 -2
- package/schematics/src/starter-kit/starter-kit.factory.js.map +1 -1
- package/schematics/src/state/state.factory.js +2 -2
- package/schematics/src/state/state.factory.js.map +1 -1
- package/schematics/src/store/store.factory.js +2 -2
- package/schematics/src/store/store.factory.js.map +1 -1
- package/schematics/src/utils/project.d.ts +1 -0
- package/schematics/src/utils/project.js +23 -1
- package/schematics/src/utils/project.js.map +1 -1
- package/schematics/src/utils/versions.json +1 -1
- package/src/operators/leave-ngxs.d.ts +1 -2
- package/schematics/src/utils/ng-utils/README.md +0 -1
- package/schematics/src/utils/ng-utils/ast-utils.d.ts +0 -99
- package/schematics/src/utils/ng-utils/ast-utils.js +0 -517
- package/schematics/src/utils/ng-utils/ast-utils.js.map +0 -1
- package/schematics/src/utils/ng-utils/ng-ast-utils.d.ts +0 -5
- package/schematics/src/utils/ng-utils/ng-ast-utils.js +0 -67
- package/schematics/src/utils/ng-utils/ng-ast-utils.js.map +0 -1
- package/schematics/src/utils/ng-utils/project.d.ts +0 -2
- package/schematics/src/utils/ng-utils/project.js +0 -27
- package/schematics/src/utils/ng-utils/project.js.map +0 -1
- package/schematics/src/utils/ng-utils/standalone/app_config.d.ts +0 -16
- package/schematics/src/utils/ng-utils/standalone/app_config.js +0 -84
- package/schematics/src/utils/ng-utils/standalone/app_config.js.map +0 -1
- package/schematics/src/utils/ng-utils/standalone/code_block.d.ts +0 -46
- package/schematics/src/utils/ng-utils/standalone/code_block.js +0 -73
- package/schematics/src/utils/ng-utils/standalone/code_block.js.map +0 -1
- package/schematics/src/utils/ng-utils/standalone/index.d.ts +0 -1
- package/schematics/src/utils/ng-utils/standalone/index.js +0 -7
- package/schematics/src/utils/ng-utils/standalone/index.js.map +0 -1
- package/schematics/src/utils/ng-utils/standalone/rules.d.ts +0 -38
- package/schematics/src/utils/ng-utils/standalone/rules.js +0 -195
- package/schematics/src/utils/ng-utils/standalone/rules.js.map +0 -1
- package/schematics/src/utils/ng-utils/standalone/util.d.ts +0 -28
- package/schematics/src/utils/ng-utils/standalone/util.js +0 -138
- package/schematics/src/utils/ng-utils/standalone/util.js.map +0 -1
package/fesm2022/ngxs-store.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { Injectable, NgZone, PLATFORM_ID, Inject, InjectionToken, inject, INJECTOR, Optional, SkipSelf, ErrorHandler, ɵisPromise as _isPromise, computed, makeEnvironmentProviders, ENVIRONMENT_INITIALIZER, NgModule, APP_BOOTSTRAP_LISTENER } from '@angular/core';
|
|
3
|
-
import { Observable, config, Subject, of, forkJoin, throwError, EMPTY, from, isObservable, ReplaySubject } from 'rxjs';
|
|
4
|
-
import { share, map, shareReplay, filter, take, exhaustMap, mergeMap, defaultIfEmpty, catchError, takeUntil, distinctUntilChanged, tap, startWith, pairwise } from 'rxjs/operators';
|
|
3
|
+
import { Observable, config, Subject, of, forkJoin, throwError, EMPTY, from, isObservable, shareReplay as shareReplay$1, map as map$1, catchError as catchError$1, distinctUntilChanged, take as take$1, ReplaySubject } from 'rxjs';
|
|
5
4
|
import * as i1 from '@ngxs/store/internals';
|
|
6
|
-
import { ɵOrderedSubject as _OrderedSubject, ɵmemoize as _memoize, ɵgetStoreMetadata as _getStoreMetadata, ɵgetSelectorMetadata as _getSelectorMetadata, ɵMETA_KEY as _META_KEY, ɵINITIAL_STATE_TOKEN as _INITIAL_STATE_TOKEN, ɵNgxsAppBootstrappedState as _NgxsAppBootstrappedState, ɵNGXS_STATE_CONTEXT_FACTORY as _NGXS_STATE_CONTEXT_FACTORY, ɵNGXS_STATE_FACTORY as _NGXS_STATE_FACTORY, ɵensureStoreMetadata as _ensureStoreMetadata, ɵMETA_OPTIONS_KEY as _META_OPTIONS_KEY, ɵensureSelectorMetadata as _ensureSelectorMetadata } from '@ngxs/store/internals';
|
|
5
|
+
import { ɵwrapObserverCalls as _wrapObserverCalls, ɵOrderedSubject as _OrderedSubject, ɵmemoize as _memoize, ɵgetStoreMetadata as _getStoreMetadata, ɵgetSelectorMetadata as _getSelectorMetadata, ɵMETA_KEY as _META_KEY, ɵINITIAL_STATE_TOKEN as _INITIAL_STATE_TOKEN, ɵNgxsAppBootstrappedState as _NgxsAppBootstrappedState, ɵNGXS_STATE_CONTEXT_FACTORY as _NGXS_STATE_CONTEXT_FACTORY, ɵNGXS_STATE_FACTORY as _NGXS_STATE_FACTORY, ɵensureStoreMetadata as _ensureStoreMetadata, ɵMETA_OPTIONS_KEY as _META_OPTIONS_KEY, ɵensureSelectorMetadata as _ensureSelectorMetadata } from '@ngxs/store/internals';
|
|
7
6
|
export { StateToken } from '@ngxs/store/internals';
|
|
8
7
|
import { isPlatformServer } from '@angular/common';
|
|
8
|
+
import { share, map, shareReplay, filter, take, exhaustMap, mergeMap, defaultIfEmpty, catchError, takeUntil, tap, startWith, pairwise } from 'rxjs/operators';
|
|
9
9
|
import { NGXS_PLUGINS, getActionTypeFromInstance, setValue, getValue, InitState, UpdateState } from '@ngxs/store/plugins';
|
|
10
10
|
export { InitState, NGXS_PLUGINS, UpdateState, actionMatcher, getActionTypeFromInstance, getValue, setValue } from '@ngxs/store/plugins';
|
|
11
11
|
import { isStateOperator } from '@ngxs/store/operators';
|
|
@@ -17,10 +17,10 @@ class NoopNgxsExecutionStrategy {
|
|
|
17
17
|
leave(func) {
|
|
18
18
|
return func();
|
|
19
19
|
}
|
|
20
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
21
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
20
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: NoopNgxsExecutionStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
21
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: NoopNgxsExecutionStrategy, providedIn: 'root' }); }
|
|
22
22
|
}
|
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: NoopNgxsExecutionStrategy, decorators: [{
|
|
24
24
|
type: Injectable,
|
|
25
25
|
args: [{ providedIn: 'root' }]
|
|
26
26
|
}] });
|
|
@@ -102,10 +102,10 @@ class DispatchOutsideZoneNgxsExecutionStrategy {
|
|
|
102
102
|
}
|
|
103
103
|
return func();
|
|
104
104
|
}
|
|
105
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
106
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
105
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: DispatchOutsideZoneNgxsExecutionStrategy, deps: [{ token: i0.NgZone }, { token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
106
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: DispatchOutsideZoneNgxsExecutionStrategy, providedIn: 'root' }); }
|
|
107
107
|
}
|
|
108
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
108
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: DispatchOutsideZoneNgxsExecutionStrategy, decorators: [{
|
|
109
109
|
type: Injectable,
|
|
110
110
|
args: [{ providedIn: 'root' }]
|
|
111
111
|
}], ctorParameters: () => [{ type: i0.NgZone }, { type: undefined, decorators: [{
|
|
@@ -160,10 +160,10 @@ class InternalNgxsExecutionStrategy {
|
|
|
160
160
|
leave(func) {
|
|
161
161
|
return this._executionStrategy.leave(func);
|
|
162
162
|
}
|
|
163
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
164
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
163
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: InternalNgxsExecutionStrategy, deps: [{ token: NGXS_EXECUTION_STRATEGY }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
164
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: InternalNgxsExecutionStrategy, providedIn: 'root' }); }
|
|
165
165
|
}
|
|
166
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
166
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: InternalNgxsExecutionStrategy, decorators: [{
|
|
167
167
|
type: Injectable,
|
|
168
168
|
args: [{ providedIn: 'root' }]
|
|
169
169
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
@@ -202,21 +202,7 @@ const compose = (funcs) => (...args) => {
|
|
|
202
202
|
* `subscribe` outside of the ngxs execution context
|
|
203
203
|
*/
|
|
204
204
|
function leaveNgxs(ngxsExecutionStrategy) {
|
|
205
|
-
return (
|
|
206
|
-
return new Observable((sink) => {
|
|
207
|
-
return source.subscribe({
|
|
208
|
-
next(value) {
|
|
209
|
-
ngxsExecutionStrategy.leave(() => sink.next(value));
|
|
210
|
-
},
|
|
211
|
-
error(error) {
|
|
212
|
-
ngxsExecutionStrategy.leave(() => sink.error(error));
|
|
213
|
-
},
|
|
214
|
-
complete() {
|
|
215
|
-
ngxsExecutionStrategy.leave(() => sink.complete());
|
|
216
|
-
}
|
|
217
|
-
});
|
|
218
|
-
});
|
|
219
|
-
};
|
|
205
|
+
return _wrapObserverCalls(fn => ngxsExecutionStrategy.leave(fn));
|
|
220
206
|
}
|
|
221
207
|
|
|
222
208
|
/**
|
|
@@ -226,10 +212,10 @@ class InternalActions extends _OrderedSubject {
|
|
|
226
212
|
ngOnDestroy() {
|
|
227
213
|
this.complete();
|
|
228
214
|
}
|
|
229
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
230
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
215
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: InternalActions, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
216
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: InternalActions, providedIn: 'root' }); }
|
|
231
217
|
}
|
|
232
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
218
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: InternalActions, decorators: [{
|
|
233
219
|
type: Injectable,
|
|
234
220
|
args: [{ providedIn: 'root' }]
|
|
235
221
|
}] });
|
|
@@ -255,10 +241,10 @@ class Actions extends Observable {
|
|
|
255
241
|
observer.add(childSubscription);
|
|
256
242
|
});
|
|
257
243
|
}
|
|
258
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
259
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
244
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: Actions, deps: [{ token: InternalActions }, { token: InternalNgxsExecutionStrategy }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
245
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: Actions, providedIn: 'root' }); }
|
|
260
246
|
}
|
|
261
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
247
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: Actions, decorators: [{
|
|
262
248
|
type: Injectable,
|
|
263
249
|
args: [{ providedIn: 'root' }]
|
|
264
250
|
}], ctorParameters: () => [{ type: InternalActions }, { type: InternalNgxsExecutionStrategy }] });
|
|
@@ -281,10 +267,10 @@ class PluginManager {
|
|
|
281
267
|
const handlers = this._pluginHandlers || [];
|
|
282
268
|
return handlers.map((plugin) => (plugin.handle ? plugin.handle.bind(plugin) : plugin));
|
|
283
269
|
}
|
|
284
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
285
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
270
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: PluginManager, deps: [{ token: PluginManager, optional: true, skipSelf: true }, { token: NGXS_PLUGINS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
271
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: PluginManager }); }
|
|
286
272
|
}
|
|
287
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
273
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: PluginManager, decorators: [{
|
|
288
274
|
type: Injectable
|
|
289
275
|
}], ctorParameters: () => [{ type: PluginManager, decorators: [{
|
|
290
276
|
type: Optional
|
|
@@ -369,10 +355,10 @@ function fallbackSubscriber(ngZone) {
|
|
|
369
355
|
* The dispatcher then asynchronously pushes the result from this stream onto the main action stream as a result.
|
|
370
356
|
*/
|
|
371
357
|
class InternalDispatchedActionResults extends Subject {
|
|
372
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
373
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
358
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: InternalDispatchedActionResults, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
359
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: InternalDispatchedActionResults, providedIn: 'root' }); }
|
|
374
360
|
}
|
|
375
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
361
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: InternalDispatchedActionResults, decorators: [{
|
|
376
362
|
type: Injectable,
|
|
377
363
|
args: [{ providedIn: 'root' }]
|
|
378
364
|
}] });
|
|
@@ -444,10 +430,10 @@ class InternalDispatcher {
|
|
|
444
430
|
}))
|
|
445
431
|
.pipe(shareReplay());
|
|
446
432
|
}
|
|
447
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
448
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
433
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: InternalDispatcher, deps: [{ token: i0.NgZone }, { token: InternalActions }, { token: InternalDispatchedActionResults }, { token: PluginManager }, { token: i1.ɵStateStream }, { token: InternalNgxsExecutionStrategy }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
434
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: InternalDispatcher, providedIn: 'root' }); }
|
|
449
435
|
}
|
|
450
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
436
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: InternalDispatcher, decorators: [{
|
|
451
437
|
type: Injectable,
|
|
452
438
|
args: [{ providedIn: 'root' }]
|
|
453
439
|
}], ctorParameters: () => [{ type: i0.NgZone }, { type: InternalActions }, { type: InternalDispatchedActionResults }, { type: PluginManager }, { type: i1.ɵStateStream }, { type: InternalNgxsExecutionStrategy }] });
|
|
@@ -492,8 +478,8 @@ class NgxsConfig {
|
|
|
492
478
|
suppressErrors: false
|
|
493
479
|
};
|
|
494
480
|
}
|
|
495
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
496
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
481
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: NgxsConfig, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
482
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: NgxsConfig, providedIn: 'root', useFactory: () => {
|
|
497
483
|
const defaultConfig = new NgxsConfig();
|
|
498
484
|
const config = inject(NGXS_OPTIONS);
|
|
499
485
|
return {
|
|
@@ -506,7 +492,7 @@ class NgxsConfig {
|
|
|
506
492
|
};
|
|
507
493
|
} }); }
|
|
508
494
|
}
|
|
509
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
495
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: NgxsConfig, decorators: [{
|
|
510
496
|
type: Injectable,
|
|
511
497
|
args: [{
|
|
512
498
|
providedIn: 'root',
|
|
@@ -590,10 +576,10 @@ class InternalStateOperations {
|
|
|
590
576
|
// Set the state to the current + new
|
|
591
577
|
stateOperations.setState({ ...currentState, ...results.defaults });
|
|
592
578
|
}
|
|
593
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
594
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
579
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: InternalStateOperations, deps: [{ token: i1.ɵStateStream }, { token: InternalDispatcher }, { token: NgxsConfig }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
580
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: InternalStateOperations, providedIn: 'root' }); }
|
|
595
581
|
}
|
|
596
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
582
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: InternalStateOperations, decorators: [{
|
|
597
583
|
type: Injectable,
|
|
598
584
|
args: [{ providedIn: 'root' }]
|
|
599
585
|
}], ctorParameters: () => [{ type: i1.ɵStateStream }, { type: InternalDispatcher }, { type: NgxsConfig }] });
|
|
@@ -1065,10 +1051,10 @@ class StateContextFactory {
|
|
|
1065
1051
|
}
|
|
1066
1052
|
};
|
|
1067
1053
|
}
|
|
1068
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1069
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1054
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: StateContextFactory, deps: [{ token: InternalStateOperations }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1055
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: StateContextFactory, providedIn: 'root' }); }
|
|
1070
1056
|
}
|
|
1071
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1057
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: StateContextFactory, decorators: [{
|
|
1072
1058
|
type: Injectable,
|
|
1073
1059
|
args: [{ providedIn: 'root' }]
|
|
1074
1060
|
}], ctorParameters: () => [{ type: InternalStateOperations }] });
|
|
@@ -1176,10 +1162,10 @@ class NgxsUnhandledActionsLogger {
|
|
|
1176
1162
|
: action.type;
|
|
1177
1163
|
console.warn(`The ${action} action has been dispatched but hasn't been handled. This may happen if the state with an action handler for this action is not registered.`);
|
|
1178
1164
|
}
|
|
1179
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1180
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1165
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: NgxsUnhandledActionsLogger, deps: [{ token: NGXS_DEVELOPMENT_OPTIONS }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1166
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: NgxsUnhandledActionsLogger }); }
|
|
1181
1167
|
}
|
|
1182
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1168
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: NgxsUnhandledActionsLogger, decorators: [{
|
|
1183
1169
|
type: Injectable
|
|
1184
1170
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
1185
1171
|
type: Inject,
|
|
@@ -1205,10 +1191,10 @@ class NgxsUnhandledErrorHandler {
|
|
|
1205
1191
|
// `handleError` (see `_callAndReportToErrorHandler`).
|
|
1206
1192
|
this._ngZone.runOutsideAngular(() => this._errorHandler.handleError(error));
|
|
1207
1193
|
}
|
|
1208
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1209
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1194
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: NgxsUnhandledErrorHandler, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1195
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: NgxsUnhandledErrorHandler, providedIn: 'root' }); }
|
|
1210
1196
|
}
|
|
1211
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1197
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: NgxsUnhandledErrorHandler, decorators: [{
|
|
1212
1198
|
type: Injectable,
|
|
1213
1199
|
args: [{ providedIn: 'root' }]
|
|
1214
1200
|
}] });
|
|
@@ -1476,9 +1462,9 @@ class StateFactory {
|
|
|
1476
1462
|
}
|
|
1477
1463
|
addRuntimeInfoToMeta(meta, path) {
|
|
1478
1464
|
this.statePaths[meta.name] = path;
|
|
1479
|
-
// TODO:
|
|
1465
|
+
// TODO: versions after v3 - we plan to get rid of the `path` property because it is non-deterministic
|
|
1480
1466
|
// we can do this when we get rid of the incorrectly exposed getStoreMetadata
|
|
1481
|
-
// We will need to come up with an alternative in
|
|
1467
|
+
// We will need to come up with an alternative to what was exposed in v3 because this is used by many plugins
|
|
1482
1468
|
meta.path = path;
|
|
1483
1469
|
}
|
|
1484
1470
|
hasBeenMountedAndBootstrapped(name, path) {
|
|
@@ -1487,10 +1473,10 @@ class StateFactory {
|
|
|
1487
1473
|
// its lifecycle is in 'bootstrapped' state.
|
|
1488
1474
|
return this.statesByName[name] && valueIsBootstrappedInInitialState;
|
|
1489
1475
|
}
|
|
1490
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1491
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1476
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: StateFactory, deps: [{ token: i0.Injector }, { token: NgxsConfig }, { token: StateFactory, optional: true, skipSelf: true }, { token: InternalActions }, { token: InternalDispatchedActionResults }, { token: StateContextFactory }, { token: _INITIAL_STATE_TOKEN, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1477
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: StateFactory }); }
|
|
1492
1478
|
}
|
|
1493
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1479
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: StateFactory, decorators: [{
|
|
1494
1480
|
type: Injectable
|
|
1495
1481
|
}], ctorParameters: () => [{ type: i0.Injector }, { type: NgxsConfig }, { type: StateFactory, decorators: [{
|
|
1496
1482
|
type: Optional
|
|
@@ -1515,7 +1501,7 @@ class Store {
|
|
|
1515
1501
|
* because state is being changed actually within the `<root>` zone, see `InternalDispatcher#dispatchSingle`.
|
|
1516
1502
|
* All selects would use this stream, and it would call leave only once for any state change across all active selectors.
|
|
1517
1503
|
*/
|
|
1518
|
-
this._selectableStateStream = this._stateStream.pipe(leaveNgxs(this._internalExecutionStrategy), shareReplay({ bufferSize: 1, refCount: true }));
|
|
1504
|
+
this._selectableStateStream = this._stateStream.pipe(leaveNgxs(this._internalExecutionStrategy), shareReplay$1({ bufferSize: 1, refCount: true }));
|
|
1519
1505
|
this.initStateStream(initialStateValue);
|
|
1520
1506
|
}
|
|
1521
1507
|
/**
|
|
@@ -1529,7 +1515,7 @@ class Store {
|
|
|
1529
1515
|
*/
|
|
1530
1516
|
select(selector) {
|
|
1531
1517
|
const selectorFn = this.getStoreBoundSelectorFn(selector);
|
|
1532
|
-
return this._selectableStateStream.pipe(map(selectorFn), catchError((error) => {
|
|
1518
|
+
return this._selectableStateStream.pipe(map$1(selectorFn), catchError$1((error) => {
|
|
1533
1519
|
// if error is TypeError we swallow it to prevent usual errors with property access
|
|
1534
1520
|
if (this._config.selectorOptions.suppressErrors && error instanceof TypeError) {
|
|
1535
1521
|
return of(undefined);
|
|
@@ -1542,7 +1528,7 @@ class Store {
|
|
|
1542
1528
|
* Select one slice of data from the store.
|
|
1543
1529
|
*/
|
|
1544
1530
|
selectOnce(selector) {
|
|
1545
|
-
return this.select(selector).pipe(take(1));
|
|
1531
|
+
return this.select(selector).pipe(take$1(1));
|
|
1546
1532
|
}
|
|
1547
1533
|
/**
|
|
1548
1534
|
* Select a snapshot from the state.
|
|
@@ -1591,10 +1577,10 @@ class Store {
|
|
|
1591
1577
|
this._stateStream.next(initialStateValue);
|
|
1592
1578
|
}
|
|
1593
1579
|
}
|
|
1594
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1595
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1580
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: Store, deps: [{ token: i1.ɵStateStream }, { token: InternalStateOperations }, { token: NgxsConfig }, { token: InternalNgxsExecutionStrategy }, { token: StateFactory }, { token: _INITIAL_STATE_TOKEN, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1581
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: Store, providedIn: 'root' }); }
|
|
1596
1582
|
}
|
|
1597
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1583
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: Store, decorators: [{
|
|
1598
1584
|
type: Injectable,
|
|
1599
1585
|
args: [{ providedIn: 'root' }]
|
|
1600
1586
|
}], ctorParameters: () => [{ type: i1.ɵStateStream }, { type: InternalStateOperations }, { type: NgxsConfig }, { type: InternalNgxsExecutionStrategy }, { type: StateFactory }, { type: undefined, decorators: [{
|
|
@@ -1650,10 +1636,10 @@ class SelectFactory {
|
|
|
1650
1636
|
SelectFactory.store = null;
|
|
1651
1637
|
SelectFactory.config = null;
|
|
1652
1638
|
}
|
|
1653
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1654
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1639
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: SelectFactory, deps: [{ token: Store }, { token: NgxsConfig }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1640
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: SelectFactory, providedIn: 'root' }); }
|
|
1655
1641
|
}
|
|
1656
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1642
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: SelectFactory, decorators: [{
|
|
1657
1643
|
type: Injectable,
|
|
1658
1644
|
args: [{ providedIn: 'root' }]
|
|
1659
1645
|
}], ctorParameters: () => [{ type: Store }, { type: NgxsConfig }] });
|
|
@@ -1721,10 +1707,10 @@ class LifecycleStateManager {
|
|
|
1721
1707
|
_getStateContext(mappedStore) {
|
|
1722
1708
|
return this._stateContextFactory.createStateContext(mappedStore);
|
|
1723
1709
|
}
|
|
1724
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1725
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1710
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: LifecycleStateManager, deps: [{ token: Store }, { token: InternalStateOperations }, { token: StateContextFactory }, { token: i1.ɵNgxsAppBootstrappedState }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1711
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: LifecycleStateManager, providedIn: 'root' }); }
|
|
1726
1712
|
}
|
|
1727
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1713
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: LifecycleStateManager, decorators: [{
|
|
1728
1714
|
type: Injectable,
|
|
1729
1715
|
args: [{ providedIn: 'root' }]
|
|
1730
1716
|
}], ctorParameters: () => [{ type: Store }, { type: InternalStateOperations }, { type: StateContextFactory }, { type: i1.ɵNgxsAppBootstrappedState }] });
|
|
@@ -1816,11 +1802,11 @@ class NgxsRootModule {
|
|
|
1816
1802
|
constructor() {
|
|
1817
1803
|
rootStoreInitializer();
|
|
1818
1804
|
}
|
|
1819
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1820
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1821
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1805
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: NgxsRootModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1806
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.6", ngImport: i0, type: NgxsRootModule }); }
|
|
1807
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: NgxsRootModule }); }
|
|
1822
1808
|
}
|
|
1823
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1809
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: NgxsRootModule, decorators: [{
|
|
1824
1810
|
type: NgModule
|
|
1825
1811
|
}], ctorParameters: () => [] });
|
|
1826
1812
|
|
|
@@ -1831,11 +1817,11 @@ class NgxsFeatureModule {
|
|
|
1831
1817
|
constructor() {
|
|
1832
1818
|
featureStatesInitializer();
|
|
1833
1819
|
}
|
|
1834
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1835
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1836
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1820
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: NgxsFeatureModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1821
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.6", ngImport: i0, type: NgxsFeatureModule }); }
|
|
1822
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: NgxsFeatureModule }); }
|
|
1837
1823
|
}
|
|
1838
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1824
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: NgxsFeatureModule, decorators: [{
|
|
1839
1825
|
type: NgModule
|
|
1840
1826
|
}], ctorParameters: () => [] });
|
|
1841
1827
|
|
|
@@ -1909,11 +1895,11 @@ class NgxsModule {
|
|
|
1909
1895
|
providers: getFeatureProviders(states)
|
|
1910
1896
|
};
|
|
1911
1897
|
}
|
|
1912
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1913
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1914
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1898
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: NgxsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1899
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.6", ngImport: i0, type: NgxsModule }); }
|
|
1900
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: NgxsModule }); }
|
|
1915
1901
|
}
|
|
1916
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1902
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: NgxsModule, decorators: [{
|
|
1917
1903
|
type: NgModule
|
|
1918
1904
|
}] });
|
|
1919
1905
|
|
|
@@ -2131,11 +2117,11 @@ class NgxsDevelopmentModule {
|
|
|
2131
2117
|
]
|
|
2132
2118
|
};
|
|
2133
2119
|
}
|
|
2134
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2135
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
2136
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
2120
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: NgxsDevelopmentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2121
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.6", ngImport: i0, type: NgxsDevelopmentModule }); }
|
|
2122
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: NgxsDevelopmentModule }); }
|
|
2137
2123
|
}
|
|
2138
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2124
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: NgxsDevelopmentModule, decorators: [{
|
|
2139
2125
|
type: NgModule
|
|
2140
2126
|
}] });
|
|
2141
2127
|
function withNgxsDevelopmentOptions(options) {
|