@ngrx/data 12.5.1 → 13.0.0-beta.0
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/bundles/ngrx-data.umd.js +410 -498
- package/bundles/ngrx-data.umd.js.map +1 -1
- package/esm2015/ngrx-data.js +1 -2
- package/esm2015/src/actions/entity-action-factory.js +7 -5
- package/esm2015/src/dataservices/default-data.service.js +13 -20
- package/esm2015/src/dataservices/entity-cache-data.service.js +12 -20
- package/esm2015/src/dataservices/entity-data.service.js +8 -16
- package/esm2015/src/dataservices/http-url-generator.js +8 -16
- package/esm2015/src/dataservices/persistence-result-handler.service.js +9 -18
- package/esm2015/src/dispatchers/entity-cache-dispatcher.js +16 -22
- package/esm2015/src/dispatchers/entity-dispatcher-default-options.js +7 -5
- package/esm2015/src/dispatchers/entity-dispatcher-factory.js +19 -25
- package/esm2015/src/effects/entity-cache-effects.js +17 -23
- package/esm2015/src/effects/entity-effects.js +17 -23
- package/esm2015/src/entity-data-without-effects.module.js +77 -50
- package/esm2015/src/entity-data.module.js +47 -36
- package/esm2015/src/entity-metadata/entity-definition.service.js +12 -15
- package/esm2015/src/entity-services/entity-collection-service-elements-factory.js +11 -22
- package/esm2015/src/entity-services/entity-collection-service-factory.js +8 -16
- package/esm2015/src/entity-services/entity-services-base.js +8 -16
- package/esm2015/src/entity-services/entity-services-elements.js +11 -22
- package/esm2015/src/reducers/entity-cache-reducer.js +10 -20
- package/esm2015/src/reducers/entity-collection-creator.js +10 -16
- package/esm2015/src/reducers/entity-collection-reducer-methods.js +8 -16
- package/esm2015/src/reducers/entity-collection-reducer-registry.js +13 -17
- package/esm2015/src/reducers/entity-collection-reducer.js +8 -16
- package/esm2015/src/selectors/entity-selectors$.js +12 -19
- package/esm2015/src/selectors/entity-selectors.js +15 -16
- package/esm2015/src/utils/correlation-id-generator.js +7 -5
- package/esm2015/src/utils/default-logger.js +7 -5
- package/esm2015/src/utils/default-pluralizer.js +12 -15
- package/fesm2015/ngrx-data.js +311 -451
- package/fesm2015/ngrx-data.js.map +1 -1
- package/ngrx-data.d.ts +1 -1
- package/package.json +8 -9
- package/schematics-core/utility/libs-version.js +1 -1
- package/schematics-core/utility/libs-version.js.map +1 -1
- package/src/actions/entity-action-factory.d.ts +3 -0
- package/src/dataservices/default-data.service.d.ts +3 -0
- package/src/dataservices/entity-cache-data.service.d.ts +3 -0
- package/src/dataservices/entity-data.service.d.ts +3 -0
- package/src/dataservices/http-url-generator.d.ts +3 -0
- package/src/dataservices/persistence-result-handler.service.d.ts +3 -0
- package/src/dispatchers/entity-cache-dispatcher.d.ts +3 -0
- package/src/dispatchers/entity-dispatcher-default-options.d.ts +3 -0
- package/src/dispatchers/entity-dispatcher-factory.d.ts +3 -0
- package/src/effects/entity-cache-effects.d.ts +3 -0
- package/src/effects/entity-effects.d.ts +3 -0
- package/src/entity-data-without-effects.module.d.ts +5 -0
- package/src/entity-data.module.d.ts +6 -0
- package/src/entity-metadata/entity-definition.service.d.ts +3 -0
- package/src/entity-services/entity-collection-service-base.d.ts +1 -1
- package/src/entity-services/entity-collection-service-elements-factory.d.ts +3 -0
- package/src/entity-services/entity-collection-service-factory.d.ts +3 -0
- package/src/entity-services/entity-services-base.d.ts +3 -0
- package/src/entity-services/entity-services-elements.d.ts +3 -0
- package/src/reducers/entity-cache-reducer.d.ts +3 -0
- package/src/reducers/entity-collection-creator.d.ts +3 -0
- package/src/reducers/entity-collection-reducer-methods.d.ts +3 -0
- package/src/reducers/entity-collection-reducer-registry.d.ts +3 -0
- package/src/reducers/entity-collection-reducer.d.ts +3 -0
- package/src/selectors/entity-selectors$.d.ts +3 -0
- package/src/selectors/entity-selectors.d.ts +3 -0
- package/src/utils/correlation-id-generator.d.ts +3 -0
- package/src/utils/default-logger.d.ts +3 -0
- package/src/utils/default-pluralizer.d.ts +3 -0
- package/ngrx-data.metadata.json +0 -1
package/fesm2015/ngrx-data.js
CHANGED
|
@@ -1,10 +1,15 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Injectable, InjectionToken, Optional, Inject, NgModule } from '@angular/core';
|
|
2
3
|
import { filter, map, delay, timeout, catchError, shareReplay, take, mergeMap, withLatestFrom, concatMap } from 'rxjs/operators';
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
4
|
+
import * as i1 from '@angular/common/http';
|
|
5
|
+
import { HttpParams } from '@angular/common/http';
|
|
6
|
+
import * as i4 from 'rxjs';
|
|
7
|
+
import { throwError, of, race, asyncScheduler, merge } from 'rxjs';
|
|
5
8
|
import { createEntityAdapter } from '@ngrx/entity';
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
9
|
+
import * as i1$1 from '@ngrx/store';
|
|
10
|
+
import { ScannedActionsSubject, createSelector, createFeatureSelector, compose, combineReducers, StoreModule } from '@ngrx/store';
|
|
11
|
+
import * as i1$2 from '@ngrx/effects';
|
|
12
|
+
import { createEffect, ofType, EffectsModule } from '@ngrx/effects';
|
|
8
13
|
|
|
9
14
|
class EntityActionFactory {
|
|
10
15
|
// polymorphic create for the two signatures
|
|
@@ -44,10 +49,11 @@ class EntityActionFactory {
|
|
|
44
49
|
// return `${op} [${tag}]`.toUpperCase(); // example of an alternative
|
|
45
50
|
}
|
|
46
51
|
}
|
|
47
|
-
/** @
|
|
48
|
-
EntityActionFactory
|
|
49
|
-
|
|
50
|
-
|
|
52
|
+
/** @nocollapse */ EntityActionFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityActionFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
53
|
+
/** @nocollapse */ EntityActionFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityActionFactory });
|
|
54
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityActionFactory, decorators: [{
|
|
55
|
+
type: Injectable
|
|
56
|
+
}] });
|
|
51
57
|
|
|
52
58
|
/**
|
|
53
59
|
* Guard methods that ensure EntityAction payload is as expected.
|
|
@@ -650,20 +656,11 @@ class DefaultHttpUrlGenerator {
|
|
|
650
656
|
this.knownHttpResourceUrls = Object.assign(Object.assign({}, this.knownHttpResourceUrls), (entityHttpResourceUrls || {}));
|
|
651
657
|
}
|
|
652
658
|
}
|
|
653
|
-
/** @
|
|
654
|
-
DefaultHttpUrlGenerator
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
* @type {function(): !Array<(null|{
|
|
659
|
-
* type: ?,
|
|
660
|
-
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
661
|
-
* })>}
|
|
662
|
-
* @nocollapse
|
|
663
|
-
*/
|
|
664
|
-
DefaultHttpUrlGenerator.ctorParameters = () => [
|
|
665
|
-
{ type: Pluralizer }
|
|
666
|
-
];
|
|
659
|
+
/** @nocollapse */ DefaultHttpUrlGenerator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DefaultHttpUrlGenerator, deps: [{ token: Pluralizer }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
660
|
+
/** @nocollapse */ DefaultHttpUrlGenerator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DefaultHttpUrlGenerator });
|
|
661
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DefaultHttpUrlGenerator, decorators: [{
|
|
662
|
+
type: Injectable
|
|
663
|
+
}], ctorParameters: function () { return [{ type: Pluralizer }]; } });
|
|
667
664
|
/** Remove leading & trailing spaces or slashes */
|
|
668
665
|
function normalizeRoot(root) {
|
|
669
666
|
return root.replace(/^[/\s]+|[/\s]+$/g, '');
|
|
@@ -823,22 +820,13 @@ class DefaultDataServiceFactory {
|
|
|
823
820
|
return new DefaultDataService(entityName, this.http, this.httpUrlGenerator, this.config);
|
|
824
821
|
}
|
|
825
822
|
}
|
|
826
|
-
/** @type {
|
|
827
|
-
DefaultDataServiceFactory
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
834
|
-
* })>}
|
|
835
|
-
* @nocollapse
|
|
836
|
-
*/
|
|
837
|
-
DefaultDataServiceFactory.ctorParameters = () => [
|
|
838
|
-
{ type: HttpClient },
|
|
839
|
-
{ type: HttpUrlGenerator },
|
|
840
|
-
{ type: DefaultDataServiceConfig, decorators: [{ type: Optional }] }
|
|
841
|
-
];
|
|
823
|
+
/** @nocollapse */ DefaultDataServiceFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DefaultDataServiceFactory, deps: [{ token: i1.HttpClient }, { token: HttpUrlGenerator }, { token: DefaultDataServiceConfig, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
824
|
+
/** @nocollapse */ DefaultDataServiceFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DefaultDataServiceFactory });
|
|
825
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DefaultDataServiceFactory, decorators: [{
|
|
826
|
+
type: Injectable
|
|
827
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HttpUrlGenerator }, { type: DefaultDataServiceConfig, decorators: [{
|
|
828
|
+
type: Optional
|
|
829
|
+
}] }]; } });
|
|
842
830
|
|
|
843
831
|
function createEntityDefinition(metadata) {
|
|
844
832
|
let entityName = metadata.entityName;
|
|
@@ -944,20 +932,16 @@ class EntityDefinitionService {
|
|
|
944
932
|
Object.assign(this.definitions, definitions);
|
|
945
933
|
}
|
|
946
934
|
}
|
|
947
|
-
/** @
|
|
948
|
-
EntityDefinitionService
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
*/
|
|
958
|
-
EntityDefinitionService.ctorParameters = () => [
|
|
959
|
-
{ type: Array, decorators: [{ type: Optional }, { type: Inject, args: [ENTITY_METADATA_TOKEN,] }] }
|
|
960
|
-
];
|
|
935
|
+
/** @nocollapse */ EntityDefinitionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityDefinitionService, deps: [{ token: ENTITY_METADATA_TOKEN, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
936
|
+
/** @nocollapse */ EntityDefinitionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityDefinitionService });
|
|
937
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityDefinitionService, decorators: [{
|
|
938
|
+
type: Injectable
|
|
939
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
940
|
+
type: Optional
|
|
941
|
+
}, {
|
|
942
|
+
type: Inject,
|
|
943
|
+
args: [ENTITY_METADATA_TOKEN]
|
|
944
|
+
}] }]; } });
|
|
961
945
|
|
|
962
946
|
const updateOp = ChangeSetOperation.Update;
|
|
963
947
|
/**
|
|
@@ -1082,22 +1066,13 @@ class EntityCacheDataService {
|
|
|
1082
1066
|
return idSelector;
|
|
1083
1067
|
}
|
|
1084
1068
|
}
|
|
1085
|
-
/** @type {
|
|
1086
|
-
EntityCacheDataService
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
1093
|
-
* })>}
|
|
1094
|
-
* @nocollapse
|
|
1095
|
-
*/
|
|
1096
|
-
EntityCacheDataService.ctorParameters = () => [
|
|
1097
|
-
{ type: EntityDefinitionService },
|
|
1098
|
-
{ type: HttpClient },
|
|
1099
|
-
{ type: DefaultDataServiceConfig, decorators: [{ type: Optional }] }
|
|
1100
|
-
];
|
|
1069
|
+
/** @nocollapse */ EntityCacheDataService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityCacheDataService, deps: [{ token: EntityDefinitionService }, { token: i1.HttpClient }, { token: DefaultDataServiceConfig, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1070
|
+
/** @nocollapse */ EntityCacheDataService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityCacheDataService });
|
|
1071
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityCacheDataService, decorators: [{
|
|
1072
|
+
type: Injectable
|
|
1073
|
+
}], ctorParameters: function () { return [{ type: EntityDefinitionService }, { type: i1.HttpClient }, { type: DefaultDataServiceConfig, decorators: [{
|
|
1074
|
+
type: Optional
|
|
1075
|
+
}] }]; } });
|
|
1101
1076
|
|
|
1102
1077
|
/**
|
|
1103
1078
|
* Registry of EntityCollection data services that make REST-like CRUD calls
|
|
@@ -1153,20 +1128,11 @@ class EntityDataService {
|
|
|
1153
1128
|
this.services = Object.assign(Object.assign({}, this.services), services);
|
|
1154
1129
|
}
|
|
1155
1130
|
}
|
|
1156
|
-
/** @
|
|
1157
|
-
EntityDataService
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
* @type {function(): !Array<(null|{
|
|
1162
|
-
* type: ?,
|
|
1163
|
-
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
1164
|
-
* })>}
|
|
1165
|
-
* @nocollapse
|
|
1166
|
-
*/
|
|
1167
|
-
EntityDataService.ctorParameters = () => [
|
|
1168
|
-
{ type: DefaultDataServiceFactory }
|
|
1169
|
-
];
|
|
1131
|
+
/** @nocollapse */ EntityDataService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityDataService, deps: [{ token: DefaultDataServiceFactory }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1132
|
+
/** @nocollapse */ EntityDataService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityDataService });
|
|
1133
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityDataService, decorators: [{
|
|
1134
|
+
type: Injectable
|
|
1135
|
+
}], ctorParameters: function () { return [{ type: DefaultDataServiceFactory }]; } });
|
|
1170
1136
|
|
|
1171
1137
|
/**
|
|
1172
1138
|
* Handling of responses from persistence operation
|
|
@@ -1205,21 +1171,21 @@ class DefaultPersistenceResultHandler {
|
|
|
1205
1171
|
};
|
|
1206
1172
|
}
|
|
1207
1173
|
}
|
|
1208
|
-
/** @
|
|
1209
|
-
DefaultPersistenceResultHandler
|
|
1210
|
-
|
|
1211
|
-
|
|
1174
|
+
/** @nocollapse */ DefaultPersistenceResultHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DefaultPersistenceResultHandler, deps: [{ token: Logger }, { token: EntityActionFactory }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1175
|
+
/** @nocollapse */ DefaultPersistenceResultHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DefaultPersistenceResultHandler });
|
|
1176
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DefaultPersistenceResultHandler, decorators: [{
|
|
1177
|
+
type: Injectable
|
|
1178
|
+
}], ctorParameters: function () { return [{ type: Logger }, { type: EntityActionFactory }]; } });
|
|
1179
|
+
|
|
1212
1180
|
/**
|
|
1213
|
-
*
|
|
1214
|
-
* type: ?,
|
|
1215
|
-
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
1216
|
-
* })>}
|
|
1217
|
-
* @nocollapse
|
|
1181
|
+
* Persistence operation canceled
|
|
1218
1182
|
*/
|
|
1219
|
-
|
|
1220
|
-
{
|
|
1221
|
-
|
|
1222
|
-
|
|
1183
|
+
class PersistanceCanceled {
|
|
1184
|
+
constructor(message) {
|
|
1185
|
+
this.message = message;
|
|
1186
|
+
this.message = message || 'Canceled by user';
|
|
1187
|
+
}
|
|
1188
|
+
}
|
|
1223
1189
|
|
|
1224
1190
|
/**
|
|
1225
1191
|
* Generates a string id beginning 'CRID',
|
|
@@ -1243,10 +1209,11 @@ class CorrelationIdGenerator {
|
|
|
1243
1209
|
return this.prefix + this.seed;
|
|
1244
1210
|
}
|
|
1245
1211
|
}
|
|
1246
|
-
/** @
|
|
1247
|
-
CorrelationIdGenerator
|
|
1248
|
-
|
|
1249
|
-
|
|
1212
|
+
/** @nocollapse */ CorrelationIdGenerator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: CorrelationIdGenerator, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1213
|
+
/** @nocollapse */ CorrelationIdGenerator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: CorrelationIdGenerator });
|
|
1214
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: CorrelationIdGenerator, decorators: [{
|
|
1215
|
+
type: Injectable
|
|
1216
|
+
}] });
|
|
1250
1217
|
|
|
1251
1218
|
/**
|
|
1252
1219
|
* Default options for EntityDispatcher behavior
|
|
@@ -1270,20 +1237,11 @@ class EntityDispatcherDefaultOptions {
|
|
|
1270
1237
|
this.optimisticSaveEntities = false;
|
|
1271
1238
|
}
|
|
1272
1239
|
}
|
|
1273
|
-
/** @
|
|
1274
|
-
EntityDispatcherDefaultOptions
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
/**
|
|
1279
|
-
* Persistence operation canceled
|
|
1280
|
-
*/
|
|
1281
|
-
class PersistanceCanceled {
|
|
1282
|
-
constructor(message) {
|
|
1283
|
-
this.message = message;
|
|
1284
|
-
this.message = message || 'Canceled by user';
|
|
1285
|
-
}
|
|
1286
|
-
}
|
|
1240
|
+
/** @nocollapse */ EntityDispatcherDefaultOptions.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityDispatcherDefaultOptions, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1241
|
+
/** @nocollapse */ EntityDispatcherDefaultOptions.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityDispatcherDefaultOptions });
|
|
1242
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityDispatcherDefaultOptions, decorators: [{
|
|
1243
|
+
type: Injectable
|
|
1244
|
+
}] });
|
|
1287
1245
|
|
|
1288
1246
|
/**
|
|
1289
1247
|
* Dispatches Entity Cache actions to the EntityCache reducer
|
|
@@ -1428,23 +1386,14 @@ class EntityCacheDispatcher {
|
|
|
1428
1386
|
}));
|
|
1429
1387
|
}
|
|
1430
1388
|
}
|
|
1431
|
-
/** @type {
|
|
1432
|
-
EntityCacheDispatcher
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
* })>}
|
|
1440
|
-
* @nocollapse
|
|
1441
|
-
*/
|
|
1442
|
-
EntityCacheDispatcher.ctorParameters = () => [
|
|
1443
|
-
{ type: CorrelationIdGenerator },
|
|
1444
|
-
{ type: EntityDispatcherDefaultOptions },
|
|
1445
|
-
{ type: Observable, decorators: [{ type: Inject, args: [ScannedActionsSubject,] }] },
|
|
1446
|
-
{ type: Store }
|
|
1447
|
-
];
|
|
1389
|
+
/** @nocollapse */ EntityCacheDispatcher.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityCacheDispatcher, deps: [{ token: CorrelationIdGenerator }, { token: EntityDispatcherDefaultOptions }, { token: ScannedActionsSubject }, { token: i1$1.Store }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1390
|
+
/** @nocollapse */ EntityCacheDispatcher.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityCacheDispatcher });
|
|
1391
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityCacheDispatcher, decorators: [{
|
|
1392
|
+
type: Injectable
|
|
1393
|
+
}], ctorParameters: function () { return [{ type: CorrelationIdGenerator }, { type: EntityDispatcherDefaultOptions }, { type: i4.Observable, decorators: [{
|
|
1394
|
+
type: Inject,
|
|
1395
|
+
args: [ScannedActionsSubject]
|
|
1396
|
+
}] }, { type: i1$1.Store }]; } });
|
|
1448
1397
|
|
|
1449
1398
|
/**
|
|
1450
1399
|
* Dispatches EntityCollection actions to their reducers and effects (default implementation).
|
|
@@ -1895,25 +1844,17 @@ class EntityDispatcherFactory {
|
|
|
1895
1844
|
this.raSubscription.unsubscribe();
|
|
1896
1845
|
}
|
|
1897
1846
|
}
|
|
1898
|
-
/** @type {
|
|
1899
|
-
EntityDispatcherFactory
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
EntityDispatcherFactory.ctorParameters = () => [
|
|
1910
|
-
{ type: EntityActionFactory },
|
|
1911
|
-
{ type: Store },
|
|
1912
|
-
{ type: EntityDispatcherDefaultOptions },
|
|
1913
|
-
{ type: Observable, decorators: [{ type: Inject, args: [ScannedActionsSubject,] }] },
|
|
1914
|
-
{ type: undefined, decorators: [{ type: Inject, args: [ENTITY_CACHE_SELECTOR_TOKEN,] }] },
|
|
1915
|
-
{ type: CorrelationIdGenerator }
|
|
1916
|
-
];
|
|
1847
|
+
/** @nocollapse */ EntityDispatcherFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityDispatcherFactory, deps: [{ token: EntityActionFactory }, { token: i1$1.Store }, { token: EntityDispatcherDefaultOptions }, { token: ScannedActionsSubject }, { token: ENTITY_CACHE_SELECTOR_TOKEN }, { token: CorrelationIdGenerator }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1848
|
+
/** @nocollapse */ EntityDispatcherFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityDispatcherFactory });
|
|
1849
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityDispatcherFactory, decorators: [{
|
|
1850
|
+
type: Injectable
|
|
1851
|
+
}], ctorParameters: function () { return [{ type: EntityActionFactory }, { type: i1$1.Store }, { type: EntityDispatcherDefaultOptions }, { type: i4.Observable, decorators: [{
|
|
1852
|
+
type: Inject,
|
|
1853
|
+
args: [ScannedActionsSubject]
|
|
1854
|
+
}] }, { type: undefined, decorators: [{
|
|
1855
|
+
type: Inject,
|
|
1856
|
+
args: [ENTITY_CACHE_SELECTOR_TOKEN]
|
|
1857
|
+
}] }, { type: CorrelationIdGenerator }]; } });
|
|
1917
1858
|
|
|
1918
1859
|
// See https://github.com/ReactiveX/rxjs/blob/master/doc/marble-testing.md
|
|
1919
1860
|
/** Token to inject a special RxJS Scheduler during marble tests. */
|
|
@@ -2009,24 +1950,16 @@ class EntityCacheEffects {
|
|
|
2009
1950
|
};
|
|
2010
1951
|
}
|
|
2011
1952
|
}
|
|
2012
|
-
/** @type {
|
|
2013
|
-
EntityCacheEffects
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
*/
|
|
2023
|
-
EntityCacheEffects.ctorParameters = () => [
|
|
2024
|
-
{ type: Actions },
|
|
2025
|
-
{ type: EntityCacheDataService },
|
|
2026
|
-
{ type: EntityActionFactory },
|
|
2027
|
-
{ type: Logger },
|
|
2028
|
-
{ type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [ENTITY_EFFECTS_SCHEDULER,] }] }
|
|
2029
|
-
];
|
|
1953
|
+
/** @nocollapse */ EntityCacheEffects.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityCacheEffects, deps: [{ token: i1$2.Actions }, { token: EntityCacheDataService }, { token: EntityActionFactory }, { token: Logger }, { token: ENTITY_EFFECTS_SCHEDULER, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1954
|
+
/** @nocollapse */ EntityCacheEffects.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityCacheEffects });
|
|
1955
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityCacheEffects, decorators: [{
|
|
1956
|
+
type: Injectable
|
|
1957
|
+
}], ctorParameters: function () { return [{ type: i1$2.Actions }, { type: EntityCacheDataService }, { type: EntityActionFactory }, { type: Logger }, { type: undefined, decorators: [{
|
|
1958
|
+
type: Optional
|
|
1959
|
+
}, {
|
|
1960
|
+
type: Inject,
|
|
1961
|
+
args: [ENTITY_EFFECTS_SCHEDULER]
|
|
1962
|
+
}] }]; } });
|
|
2030
1963
|
|
|
2031
1964
|
const persistOps = [
|
|
2032
1965
|
EntityOp.QUERY_ALL,
|
|
@@ -2153,24 +2086,16 @@ class EntityEffects {
|
|
|
2153
2086
|
return of(successAction).pipe(delay(this.responseDelay, this.scheduler || asyncScheduler));
|
|
2154
2087
|
}
|
|
2155
2088
|
}
|
|
2156
|
-
/** @type {
|
|
2157
|
-
EntityEffects
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
*/
|
|
2167
|
-
EntityEffects.ctorParameters = () => [
|
|
2168
|
-
{ type: Actions },
|
|
2169
|
-
{ type: EntityDataService },
|
|
2170
|
-
{ type: EntityActionFactory },
|
|
2171
|
-
{ type: PersistenceResultHandler },
|
|
2172
|
-
{ type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [ENTITY_EFFECTS_SCHEDULER,] }] }
|
|
2173
|
-
];
|
|
2089
|
+
/** @nocollapse */ EntityEffects.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityEffects, deps: [{ token: i1$2.Actions }, { token: EntityDataService }, { token: EntityActionFactory }, { token: PersistenceResultHandler }, { token: ENTITY_EFFECTS_SCHEDULER, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2090
|
+
/** @nocollapse */ EntityEffects.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityEffects });
|
|
2091
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityEffects, decorators: [{
|
|
2092
|
+
type: Injectable
|
|
2093
|
+
}], ctorParameters: function () { return [{ type: i1$2.Actions }, { type: EntityDataService }, { type: EntityActionFactory }, { type: PersistenceResultHandler }, { type: undefined, decorators: [{
|
|
2094
|
+
type: Optional
|
|
2095
|
+
}, {
|
|
2096
|
+
type: Inject,
|
|
2097
|
+
args: [ENTITY_EFFECTS_SCHEDULER]
|
|
2098
|
+
}] }]; } });
|
|
2174
2099
|
|
|
2175
2100
|
/**
|
|
2176
2101
|
* Creates an {EntityFilterFn} that matches RegExp or RegExp string pattern
|
|
@@ -2470,20 +2395,13 @@ class EntityCollectionCreator {
|
|
|
2470
2395
|
return (initialState || createEmptyEntityCollection(entityName));
|
|
2471
2396
|
}
|
|
2472
2397
|
}
|
|
2473
|
-
/** @
|
|
2474
|
-
EntityCollectionCreator
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
2481
|
-
* })>}
|
|
2482
|
-
* @nocollapse
|
|
2483
|
-
*/
|
|
2484
|
-
EntityCollectionCreator.ctorParameters = () => [
|
|
2485
|
-
{ type: EntityDefinitionService, decorators: [{ type: Optional }] }
|
|
2486
|
-
];
|
|
2398
|
+
/** @nocollapse */ EntityCollectionCreator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityCollectionCreator, deps: [{ token: EntityDefinitionService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2399
|
+
/** @nocollapse */ EntityCollectionCreator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityCollectionCreator });
|
|
2400
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityCollectionCreator, decorators: [{
|
|
2401
|
+
type: Injectable
|
|
2402
|
+
}], ctorParameters: function () { return [{ type: EntityDefinitionService, decorators: [{
|
|
2403
|
+
type: Optional
|
|
2404
|
+
}] }]; } });
|
|
2487
2405
|
function createEmptyEntityCollection(entityName) {
|
|
2488
2406
|
return {
|
|
2489
2407
|
entityName,
|
|
@@ -2565,21 +2483,18 @@ class EntitySelectorsFactory {
|
|
|
2565
2483
|
selectCollection, selectEntityCache: this.selectEntityCache }, entitySelectors);
|
|
2566
2484
|
}
|
|
2567
2485
|
}
|
|
2568
|
-
/** @type {
|
|
2569
|
-
EntitySelectorsFactory
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
{ type: EntityCollectionCreator, decorators: [{ type: Optional }] },
|
|
2581
|
-
{ type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [ENTITY_CACHE_SELECTOR_TOKEN,] }] }
|
|
2582
|
-
];
|
|
2486
|
+
/** @nocollapse */ EntitySelectorsFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntitySelectorsFactory, deps: [{ token: EntityCollectionCreator, optional: true }, { token: ENTITY_CACHE_SELECTOR_TOKEN, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2487
|
+
/** @nocollapse */ EntitySelectorsFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntitySelectorsFactory });
|
|
2488
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntitySelectorsFactory, decorators: [{
|
|
2489
|
+
type: Injectable
|
|
2490
|
+
}], ctorParameters: function () { return [{ type: EntityCollectionCreator, decorators: [{
|
|
2491
|
+
type: Optional
|
|
2492
|
+
}] }, { type: undefined, decorators: [{
|
|
2493
|
+
type: Optional
|
|
2494
|
+
}, {
|
|
2495
|
+
type: Inject,
|
|
2496
|
+
args: [ENTITY_CACHE_SELECTOR_TOKEN]
|
|
2497
|
+
}] }]; } });
|
|
2583
2498
|
|
|
2584
2499
|
/** Creates observable EntitySelectors$ for entity collections. */
|
|
2585
2500
|
class EntitySelectors$Factory {
|
|
@@ -2616,22 +2531,14 @@ class EntitySelectors$Factory {
|
|
|
2616
2531
|
return selectors$;
|
|
2617
2532
|
}
|
|
2618
2533
|
}
|
|
2619
|
-
/** @type {
|
|
2620
|
-
EntitySelectors$Factory
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
* })>}
|
|
2628
|
-
* @nocollapse
|
|
2629
|
-
*/
|
|
2630
|
-
EntitySelectors$Factory.ctorParameters = () => [
|
|
2631
|
-
{ type: Store },
|
|
2632
|
-
{ type: Actions },
|
|
2633
|
-
{ type: undefined, decorators: [{ type: Inject, args: [ENTITY_CACHE_SELECTOR_TOKEN,] }] }
|
|
2634
|
-
];
|
|
2534
|
+
/** @nocollapse */ EntitySelectors$Factory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntitySelectors$Factory, deps: [{ token: i1$1.Store }, { token: i1$2.Actions }, { token: ENTITY_CACHE_SELECTOR_TOKEN }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2535
|
+
/** @nocollapse */ EntitySelectors$Factory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntitySelectors$Factory });
|
|
2536
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntitySelectors$Factory, decorators: [{
|
|
2537
|
+
type: Injectable
|
|
2538
|
+
}], ctorParameters: function () { return [{ type: i1$1.Store }, { type: i1$2.Actions }, { type: undefined, decorators: [{
|
|
2539
|
+
type: Inject,
|
|
2540
|
+
args: [ENTITY_CACHE_SELECTOR_TOKEN]
|
|
2541
|
+
}] }]; } });
|
|
2635
2542
|
|
|
2636
2543
|
/** Creates the core elements of the EntityCollectionService for an entity type. */
|
|
2637
2544
|
class EntityCollectionServiceElementsFactory {
|
|
@@ -2659,23 +2566,11 @@ class EntityCollectionServiceElementsFactory {
|
|
|
2659
2566
|
};
|
|
2660
2567
|
}
|
|
2661
2568
|
}
|
|
2662
|
-
/** @type {
|
|
2663
|
-
EntityCollectionServiceElementsFactory
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
* @type {function(): !Array<(null|{
|
|
2668
|
-
* type: ?,
|
|
2669
|
-
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
2670
|
-
* })>}
|
|
2671
|
-
* @nocollapse
|
|
2672
|
-
*/
|
|
2673
|
-
EntityCollectionServiceElementsFactory.ctorParameters = () => [
|
|
2674
|
-
{ type: EntityDispatcherFactory },
|
|
2675
|
-
{ type: EntityDefinitionService },
|
|
2676
|
-
{ type: EntitySelectorsFactory },
|
|
2677
|
-
{ type: EntitySelectors$Factory }
|
|
2678
|
-
];
|
|
2569
|
+
/** @nocollapse */ EntityCollectionServiceElementsFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityCollectionServiceElementsFactory, deps: [{ token: EntityDispatcherFactory }, { token: EntityDefinitionService }, { token: EntitySelectorsFactory }, { token: EntitySelectors$Factory }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2570
|
+
/** @nocollapse */ EntityCollectionServiceElementsFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityCollectionServiceElementsFactory });
|
|
2571
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityCollectionServiceElementsFactory, decorators: [{
|
|
2572
|
+
type: Injectable
|
|
2573
|
+
}], ctorParameters: function () { return [{ type: EntityDispatcherFactory }, { type: EntityDefinitionService }, { type: EntitySelectorsFactory }, { type: EntitySelectors$Factory }]; } });
|
|
2679
2574
|
|
|
2680
2575
|
/**
|
|
2681
2576
|
* Creates EntityCollectionService instances for
|
|
@@ -2695,20 +2590,11 @@ class EntityCollectionServiceFactory {
|
|
|
2695
2590
|
return new EntityCollectionServiceBase(entityName, this.entityCollectionServiceElementsFactory);
|
|
2696
2591
|
}
|
|
2697
2592
|
}
|
|
2698
|
-
/** @
|
|
2699
|
-
EntityCollectionServiceFactory
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
* @type {function(): !Array<(null|{
|
|
2704
|
-
* type: ?,
|
|
2705
|
-
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
2706
|
-
* })>}
|
|
2707
|
-
* @nocollapse
|
|
2708
|
-
*/
|
|
2709
|
-
EntityCollectionServiceFactory.ctorParameters = () => [
|
|
2710
|
-
{ type: EntityCollectionServiceElementsFactory }
|
|
2711
|
-
];
|
|
2593
|
+
/** @nocollapse */ EntityCollectionServiceFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityCollectionServiceFactory, deps: [{ token: EntityCollectionServiceElementsFactory }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2594
|
+
/** @nocollapse */ EntityCollectionServiceFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityCollectionServiceFactory });
|
|
2595
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityCollectionServiceFactory, decorators: [{
|
|
2596
|
+
type: Injectable
|
|
2597
|
+
}], ctorParameters: function () { return [{ type: EntityCollectionServiceElementsFactory }]; } });
|
|
2712
2598
|
|
|
2713
2599
|
/** Core ingredients of an EntityServices class */
|
|
2714
2600
|
class EntityServicesElements {
|
|
@@ -2731,23 +2617,11 @@ class EntityServicesElements {
|
|
|
2731
2617
|
this.reducedActions$ = entityDispatcherFactory.reducedActions$;
|
|
2732
2618
|
}
|
|
2733
2619
|
}
|
|
2734
|
-
/** @type {
|
|
2735
|
-
EntityServicesElements
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
* @type {function(): !Array<(null|{
|
|
2740
|
-
* type: ?,
|
|
2741
|
-
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
2742
|
-
* })>}
|
|
2743
|
-
* @nocollapse
|
|
2744
|
-
*/
|
|
2745
|
-
EntityServicesElements.ctorParameters = () => [
|
|
2746
|
-
{ type: EntityCollectionServiceFactory },
|
|
2747
|
-
{ type: EntityDispatcherFactory },
|
|
2748
|
-
{ type: EntitySelectors$Factory },
|
|
2749
|
-
{ type: Store }
|
|
2750
|
-
];
|
|
2620
|
+
/** @nocollapse */ EntityServicesElements.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityServicesElements, deps: [{ token: EntityCollectionServiceFactory }, { token: EntityDispatcherFactory }, { token: EntitySelectors$Factory }, { token: i1$1.Store }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2621
|
+
/** @nocollapse */ EntityServicesElements.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityServicesElements });
|
|
2622
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityServicesElements, decorators: [{
|
|
2623
|
+
type: Injectable
|
|
2624
|
+
}], ctorParameters: function () { return [{ type: EntityCollectionServiceFactory }, { type: EntityDispatcherFactory }, { type: EntitySelectors$Factory }, { type: i1$1.Store }]; } });
|
|
2751
2625
|
|
|
2752
2626
|
/* eslint-disable @typescript-eslint/member-ordering */
|
|
2753
2627
|
/**
|
|
@@ -2859,20 +2733,11 @@ class EntityServicesBase {
|
|
|
2859
2733
|
}
|
|
2860
2734
|
}
|
|
2861
2735
|
}
|
|
2862
|
-
/** @
|
|
2863
|
-
EntityServicesBase
|
|
2864
|
-
|
|
2865
|
-
|
|
2866
|
-
|
|
2867
|
-
* @type {function(): !Array<(null|{
|
|
2868
|
-
* type: ?,
|
|
2869
|
-
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
2870
|
-
* })>}
|
|
2871
|
-
* @nocollapse
|
|
2872
|
-
*/
|
|
2873
|
-
EntityServicesBase.ctorParameters = () => [
|
|
2874
|
-
{ type: EntityServicesElements }
|
|
2875
|
-
];
|
|
2736
|
+
/** @nocollapse */ EntityServicesBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityServicesBase, deps: [{ token: EntityServicesElements }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2737
|
+
/** @nocollapse */ EntityServicesBase.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityServicesBase });
|
|
2738
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityServicesBase, decorators: [{
|
|
2739
|
+
type: Injectable
|
|
2740
|
+
}], ctorParameters: function () { return [{ type: EntityServicesElements }]; } });
|
|
2876
2741
|
|
|
2877
2742
|
/* eslint-disable @typescript-eslint/member-ordering */
|
|
2878
2743
|
/**
|
|
@@ -4239,20 +4104,11 @@ class EntityCollectionReducerMethodsFactory {
|
|
|
4239
4104
|
return methodsClass.methods;
|
|
4240
4105
|
}
|
|
4241
4106
|
}
|
|
4242
|
-
/** @
|
|
4243
|
-
EntityCollectionReducerMethodsFactory
|
|
4244
|
-
|
|
4245
|
-
|
|
4246
|
-
|
|
4247
|
-
* @type {function(): !Array<(null|{
|
|
4248
|
-
* type: ?,
|
|
4249
|
-
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
4250
|
-
* })>}
|
|
4251
|
-
* @nocollapse
|
|
4252
|
-
*/
|
|
4253
|
-
EntityCollectionReducerMethodsFactory.ctorParameters = () => [
|
|
4254
|
-
{ type: EntityDefinitionService }
|
|
4255
|
-
];
|
|
4107
|
+
/** @nocollapse */ EntityCollectionReducerMethodsFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityCollectionReducerMethodsFactory, deps: [{ token: EntityDefinitionService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4108
|
+
/** @nocollapse */ EntityCollectionReducerMethodsFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityCollectionReducerMethodsFactory });
|
|
4109
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityCollectionReducerMethodsFactory, decorators: [{
|
|
4110
|
+
type: Injectable
|
|
4111
|
+
}], ctorParameters: function () { return [{ type: EntityDefinitionService }]; } });
|
|
4256
4112
|
|
|
4257
4113
|
/** Create a default reducer for a specific entity collection */
|
|
4258
4114
|
class EntityCollectionReducerFactory {
|
|
@@ -4269,20 +4125,11 @@ class EntityCollectionReducerFactory {
|
|
|
4269
4125
|
};
|
|
4270
4126
|
}
|
|
4271
4127
|
}
|
|
4272
|
-
/** @
|
|
4273
|
-
EntityCollectionReducerFactory
|
|
4274
|
-
|
|
4275
|
-
|
|
4276
|
-
|
|
4277
|
-
* @type {function(): !Array<(null|{
|
|
4278
|
-
* type: ?,
|
|
4279
|
-
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
4280
|
-
* })>}
|
|
4281
|
-
* @nocollapse
|
|
4282
|
-
*/
|
|
4283
|
-
EntityCollectionReducerFactory.ctorParameters = () => [
|
|
4284
|
-
{ type: EntityCollectionReducerMethodsFactory }
|
|
4285
|
-
];
|
|
4128
|
+
/** @nocollapse */ EntityCollectionReducerFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityCollectionReducerFactory, deps: [{ token: EntityCollectionReducerMethodsFactory }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4129
|
+
/** @nocollapse */ EntityCollectionReducerFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityCollectionReducerFactory });
|
|
4130
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityCollectionReducerFactory, decorators: [{
|
|
4131
|
+
type: Injectable
|
|
4132
|
+
}], ctorParameters: function () { return [{ type: EntityCollectionReducerMethodsFactory }]; } });
|
|
4286
4133
|
|
|
4287
4134
|
/**
|
|
4288
4135
|
* Registry of entity types and their previously-constructed reducers.
|
|
@@ -4336,21 +4183,16 @@ class EntityCollectionReducerRegistry {
|
|
|
4336
4183
|
keys.forEach((key) => this.registerReducer(key, reducers[key]));
|
|
4337
4184
|
}
|
|
4338
4185
|
}
|
|
4339
|
-
/** @type {
|
|
4340
|
-
EntityCollectionReducerRegistry
|
|
4341
|
-
|
|
4342
|
-
|
|
4343
|
-
|
|
4344
|
-
|
|
4345
|
-
|
|
4346
|
-
|
|
4347
|
-
|
|
4348
|
-
|
|
4349
|
-
*/
|
|
4350
|
-
EntityCollectionReducerRegistry.ctorParameters = () => [
|
|
4351
|
-
{ type: EntityCollectionReducerFactory },
|
|
4352
|
-
{ type: Array, decorators: [{ type: Optional }, { type: Inject, args: [ENTITY_COLLECTION_META_REDUCERS,] }] }
|
|
4353
|
-
];
|
|
4186
|
+
/** @nocollapse */ EntityCollectionReducerRegistry.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityCollectionReducerRegistry, deps: [{ token: EntityCollectionReducerFactory }, { token: ENTITY_COLLECTION_META_REDUCERS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4187
|
+
/** @nocollapse */ EntityCollectionReducerRegistry.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityCollectionReducerRegistry });
|
|
4188
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityCollectionReducerRegistry, decorators: [{
|
|
4189
|
+
type: Injectable
|
|
4190
|
+
}], ctorParameters: function () { return [{ type: EntityCollectionReducerFactory }, { type: undefined, decorators: [{
|
|
4191
|
+
type: Optional
|
|
4192
|
+
}, {
|
|
4193
|
+
type: Inject,
|
|
4194
|
+
args: [ENTITY_COLLECTION_META_REDUCERS]
|
|
4195
|
+
}] }]; } });
|
|
4354
4196
|
|
|
4355
4197
|
/**
|
|
4356
4198
|
* Creates the EntityCacheReducer via its create() method
|
|
@@ -4608,22 +4450,11 @@ class EntityCacheReducerFactory {
|
|
|
4608
4450
|
return entityCache;
|
|
4609
4451
|
}
|
|
4610
4452
|
}
|
|
4611
|
-
/** @type {
|
|
4612
|
-
EntityCacheReducerFactory
|
|
4613
|
-
|
|
4614
|
-
|
|
4615
|
-
|
|
4616
|
-
* @type {function(): !Array<(null|{
|
|
4617
|
-
* type: ?,
|
|
4618
|
-
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
4619
|
-
* })>}
|
|
4620
|
-
* @nocollapse
|
|
4621
|
-
*/
|
|
4622
|
-
EntityCacheReducerFactory.ctorParameters = () => [
|
|
4623
|
-
{ type: EntityCollectionCreator },
|
|
4624
|
-
{ type: EntityCollectionReducerRegistry },
|
|
4625
|
-
{ type: Logger }
|
|
4626
|
-
];
|
|
4453
|
+
/** @nocollapse */ EntityCacheReducerFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityCacheReducerFactory, deps: [{ token: EntityCollectionCreator }, { token: EntityCollectionReducerRegistry }, { token: Logger }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4454
|
+
/** @nocollapse */ EntityCacheReducerFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityCacheReducerFactory });
|
|
4455
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityCacheReducerFactory, decorators: [{
|
|
4456
|
+
type: Injectable
|
|
4457
|
+
}], ctorParameters: function () { return [{ type: EntityCollectionCreator }, { type: EntityCollectionReducerRegistry }, { type: Logger }]; } });
|
|
4627
4458
|
|
|
4628
4459
|
class DefaultLogger {
|
|
4629
4460
|
error(message, extra) {
|
|
@@ -4642,10 +4473,11 @@ class DefaultLogger {
|
|
|
4642
4473
|
}
|
|
4643
4474
|
}
|
|
4644
4475
|
}
|
|
4645
|
-
/** @
|
|
4646
|
-
DefaultLogger
|
|
4647
|
-
|
|
4648
|
-
|
|
4476
|
+
/** @nocollapse */ DefaultLogger.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DefaultLogger, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4477
|
+
/** @nocollapse */ DefaultLogger.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DefaultLogger });
|
|
4478
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DefaultLogger, decorators: [{
|
|
4479
|
+
type: Injectable
|
|
4480
|
+
}] });
|
|
4649
4481
|
|
|
4650
4482
|
const uncountable = [
|
|
4651
4483
|
// 'sheep',
|
|
@@ -4704,20 +4536,16 @@ class DefaultPluralizer {
|
|
|
4704
4536
|
this.pluralNames = Object.assign(Object.assign({}, this.pluralNames), (pluralNames || {}));
|
|
4705
4537
|
}
|
|
4706
4538
|
}
|
|
4707
|
-
/** @
|
|
4708
|
-
DefaultPluralizer
|
|
4709
|
-
|
|
4710
|
-
|
|
4711
|
-
|
|
4712
|
-
|
|
4713
|
-
|
|
4714
|
-
|
|
4715
|
-
|
|
4716
|
-
|
|
4717
|
-
*/
|
|
4718
|
-
DefaultPluralizer.ctorParameters = () => [
|
|
4719
|
-
{ type: Array, decorators: [{ type: Optional }, { type: Inject, args: [PLURAL_NAMES_TOKEN,] }] }
|
|
4720
|
-
];
|
|
4539
|
+
/** @nocollapse */ DefaultPluralizer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DefaultPluralizer, deps: [{ token: PLURAL_NAMES_TOKEN, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4540
|
+
/** @nocollapse */ DefaultPluralizer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DefaultPluralizer });
|
|
4541
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: DefaultPluralizer, decorators: [{
|
|
4542
|
+
type: Injectable
|
|
4543
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
4544
|
+
type: Optional
|
|
4545
|
+
}, {
|
|
4546
|
+
type: Inject,
|
|
4547
|
+
args: [PLURAL_NAMES_TOKEN]
|
|
4548
|
+
}] }]; } });
|
|
4721
4549
|
|
|
4722
4550
|
/**
|
|
4723
4551
|
Client-side id-generators
|
|
@@ -4788,7 +4616,6 @@ function guidComparer(l, r) {
|
|
|
4788
4616
|
: +(l !== r);
|
|
4789
4617
|
}
|
|
4790
4618
|
|
|
4791
|
-
const ɵ0 = ENTITY_CACHE_NAME;
|
|
4792
4619
|
/**
|
|
4793
4620
|
* Module without effects or dataservices which means no HTTP calls
|
|
4794
4621
|
* This module helpful for internal testing.
|
|
@@ -4850,51 +4677,77 @@ class EntityDataModuleWithoutEffects {
|
|
|
4850
4677
|
this.reducerManager.removeFeature(this.entityCacheFeature);
|
|
4851
4678
|
}
|
|
4852
4679
|
}
|
|
4853
|
-
/** @type {
|
|
4854
|
-
EntityDataModuleWithoutEffects
|
|
4855
|
-
|
|
4856
|
-
|
|
4857
|
-
|
|
4858
|
-
|
|
4859
|
-
|
|
4860
|
-
|
|
4861
|
-
|
|
4862
|
-
|
|
4863
|
-
|
|
4864
|
-
|
|
4865
|
-
|
|
4866
|
-
|
|
4867
|
-
|
|
4868
|
-
|
|
4869
|
-
|
|
4870
|
-
|
|
4871
|
-
|
|
4872
|
-
|
|
4873
|
-
|
|
4874
|
-
|
|
4875
|
-
|
|
4876
|
-
|
|
4877
|
-
|
|
4878
|
-
|
|
4879
|
-
|
|
4880
|
-
|
|
4881
|
-
|
|
4882
|
-
|
|
4883
|
-
|
|
4884
|
-
|
|
4885
|
-
|
|
4886
|
-
|
|
4887
|
-
|
|
4888
|
-
|
|
4889
|
-
|
|
4890
|
-
|
|
4891
|
-
|
|
4892
|
-
|
|
4893
|
-
|
|
4894
|
-
|
|
4895
|
-
|
|
4896
|
-
|
|
4897
|
-
|
|
4680
|
+
/** @nocollapse */ EntityDataModuleWithoutEffects.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityDataModuleWithoutEffects, deps: [{ token: i1$1.ReducerManager }, { token: EntityCacheReducerFactory }, { token: i0.Injector }, { token: ENTITY_CACHE_NAME_TOKEN, optional: true }, { token: INITIAL_ENTITY_CACHE_STATE, optional: true }, { token: ENTITY_CACHE_META_REDUCERS, optional: true }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4681
|
+
/** @nocollapse */ EntityDataModuleWithoutEffects.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityDataModuleWithoutEffects, imports: [StoreModule] });
|
|
4682
|
+
/** @nocollapse */ EntityDataModuleWithoutEffects.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityDataModuleWithoutEffects, providers: [
|
|
4683
|
+
CorrelationIdGenerator,
|
|
4684
|
+
EntityDispatcherDefaultOptions,
|
|
4685
|
+
EntityActionFactory,
|
|
4686
|
+
EntityCacheDispatcher,
|
|
4687
|
+
EntityCacheReducerFactory,
|
|
4688
|
+
entityCacheSelectorProvider,
|
|
4689
|
+
EntityCollectionCreator,
|
|
4690
|
+
EntityCollectionReducerFactory,
|
|
4691
|
+
EntityCollectionReducerMethodsFactory,
|
|
4692
|
+
EntityCollectionReducerRegistry,
|
|
4693
|
+
EntityCollectionServiceElementsFactory,
|
|
4694
|
+
EntityCollectionServiceFactory,
|
|
4695
|
+
EntityDefinitionService,
|
|
4696
|
+
EntityDispatcherFactory,
|
|
4697
|
+
EntitySelectorsFactory,
|
|
4698
|
+
EntitySelectors$Factory,
|
|
4699
|
+
EntityServicesElements,
|
|
4700
|
+
{ provide: ENTITY_CACHE_NAME_TOKEN, useValue: ENTITY_CACHE_NAME },
|
|
4701
|
+
{ provide: EntityServices, useClass: EntityServicesBase },
|
|
4702
|
+
{ provide: Logger, useClass: DefaultLogger },
|
|
4703
|
+
], imports: [[
|
|
4704
|
+
StoreModule, // rely on Store feature providers rather than Store.forFeature()
|
|
4705
|
+
]] });
|
|
4706
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityDataModuleWithoutEffects, decorators: [{
|
|
4707
|
+
type: NgModule,
|
|
4708
|
+
args: [{
|
|
4709
|
+
imports: [
|
|
4710
|
+
StoreModule, // rely on Store feature providers rather than Store.forFeature()
|
|
4711
|
+
],
|
|
4712
|
+
providers: [
|
|
4713
|
+
CorrelationIdGenerator,
|
|
4714
|
+
EntityDispatcherDefaultOptions,
|
|
4715
|
+
EntityActionFactory,
|
|
4716
|
+
EntityCacheDispatcher,
|
|
4717
|
+
EntityCacheReducerFactory,
|
|
4718
|
+
entityCacheSelectorProvider,
|
|
4719
|
+
EntityCollectionCreator,
|
|
4720
|
+
EntityCollectionReducerFactory,
|
|
4721
|
+
EntityCollectionReducerMethodsFactory,
|
|
4722
|
+
EntityCollectionReducerRegistry,
|
|
4723
|
+
EntityCollectionServiceElementsFactory,
|
|
4724
|
+
EntityCollectionServiceFactory,
|
|
4725
|
+
EntityDefinitionService,
|
|
4726
|
+
EntityDispatcherFactory,
|
|
4727
|
+
EntitySelectorsFactory,
|
|
4728
|
+
EntitySelectors$Factory,
|
|
4729
|
+
EntityServicesElements,
|
|
4730
|
+
{ provide: ENTITY_CACHE_NAME_TOKEN, useValue: ENTITY_CACHE_NAME },
|
|
4731
|
+
{ provide: EntityServices, useClass: EntityServicesBase },
|
|
4732
|
+
{ provide: Logger, useClass: DefaultLogger },
|
|
4733
|
+
],
|
|
4734
|
+
}]
|
|
4735
|
+
}], ctorParameters: function () { return [{ type: i1$1.ReducerManager }, { type: EntityCacheReducerFactory }, { type: i0.Injector }, { type: undefined, decorators: [{
|
|
4736
|
+
type: Optional
|
|
4737
|
+
}, {
|
|
4738
|
+
type: Inject,
|
|
4739
|
+
args: [ENTITY_CACHE_NAME_TOKEN]
|
|
4740
|
+
}] }, { type: undefined, decorators: [{
|
|
4741
|
+
type: Optional
|
|
4742
|
+
}, {
|
|
4743
|
+
type: Inject,
|
|
4744
|
+
args: [INITIAL_ENTITY_CACHE_STATE]
|
|
4745
|
+
}] }, { type: undefined, decorators: [{
|
|
4746
|
+
type: Optional
|
|
4747
|
+
}, {
|
|
4748
|
+
type: Inject,
|
|
4749
|
+
args: [ENTITY_CACHE_META_REDUCERS]
|
|
4750
|
+
}] }]; } });
|
|
4898
4751
|
|
|
4899
4752
|
/**
|
|
4900
4753
|
* entity-data main module includes effects and HTTP data services
|
|
@@ -4957,40 +4810,47 @@ class EntityDataModule {
|
|
|
4957
4810
|
this.effectSources.addEffects(effectSourceInstance);
|
|
4958
4811
|
}
|
|
4959
4812
|
}
|
|
4960
|
-
/** @type {
|
|
4961
|
-
EntityDataModule
|
|
4962
|
-
|
|
4963
|
-
|
|
4964
|
-
|
|
4965
|
-
|
|
4966
|
-
|
|
4967
|
-
|
|
4968
|
-
|
|
4969
|
-
|
|
4970
|
-
|
|
4971
|
-
|
|
4972
|
-
|
|
4973
|
-
|
|
4974
|
-
|
|
4975
|
-
|
|
4976
|
-
|
|
4977
|
-
|
|
4978
|
-
|
|
4979
|
-
|
|
4980
|
-
|
|
4981
|
-
|
|
4982
|
-
|
|
4983
|
-
|
|
4984
|
-
|
|
4985
|
-
|
|
4986
|
-
|
|
4987
|
-
|
|
4988
|
-
|
|
4989
|
-
|
|
4990
|
-
|
|
4991
|
-
|
|
4992
|
-
|
|
4993
|
-
|
|
4813
|
+
/** @nocollapse */ EntityDataModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityDataModule, deps: [{ token: i1$2.EffectSources }, { token: EntityCacheEffects }, { token: EntityEffects }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4814
|
+
/** @nocollapse */ EntityDataModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityDataModule, imports: [EntityDataModuleWithoutEffects,
|
|
4815
|
+
EffectsModule] });
|
|
4816
|
+
/** @nocollapse */ EntityDataModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityDataModule, providers: [
|
|
4817
|
+
DefaultDataServiceFactory,
|
|
4818
|
+
EntityCacheDataService,
|
|
4819
|
+
EntityDataService,
|
|
4820
|
+
EntityCacheEffects,
|
|
4821
|
+
EntityEffects,
|
|
4822
|
+
{ provide: HttpUrlGenerator, useClass: DefaultHttpUrlGenerator },
|
|
4823
|
+
{
|
|
4824
|
+
provide: PersistenceResultHandler,
|
|
4825
|
+
useClass: DefaultPersistenceResultHandler,
|
|
4826
|
+
},
|
|
4827
|
+
{ provide: Pluralizer, useClass: DefaultPluralizer },
|
|
4828
|
+
], imports: [[
|
|
4829
|
+
EntityDataModuleWithoutEffects,
|
|
4830
|
+
EffectsModule, // do not supply effects because can't replace later
|
|
4831
|
+
]] });
|
|
4832
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0, type: EntityDataModule, decorators: [{
|
|
4833
|
+
type: NgModule,
|
|
4834
|
+
args: [{
|
|
4835
|
+
imports: [
|
|
4836
|
+
EntityDataModuleWithoutEffects,
|
|
4837
|
+
EffectsModule, // do not supply effects because can't replace later
|
|
4838
|
+
],
|
|
4839
|
+
providers: [
|
|
4840
|
+
DefaultDataServiceFactory,
|
|
4841
|
+
EntityCacheDataService,
|
|
4842
|
+
EntityDataService,
|
|
4843
|
+
EntityCacheEffects,
|
|
4844
|
+
EntityEffects,
|
|
4845
|
+
{ provide: HttpUrlGenerator, useClass: DefaultHttpUrlGenerator },
|
|
4846
|
+
{
|
|
4847
|
+
provide: PersistenceResultHandler,
|
|
4848
|
+
useClass: DefaultPersistenceResultHandler,
|
|
4849
|
+
},
|
|
4850
|
+
{ provide: Pluralizer, useClass: DefaultPluralizer },
|
|
4851
|
+
],
|
|
4852
|
+
}]
|
|
4853
|
+
}], ctorParameters: function () { return [{ type: i1$2.EffectSources }, { type: EntityCacheEffects }, { type: EntityEffects }]; } });
|
|
4994
4854
|
|
|
4995
4855
|
// actions
|
|
4996
4856
|
|
|
@@ -5004,5 +4864,5 @@ EntityDataModule.ctorParameters = () => [
|
|
|
5004
4864
|
* Generated bundle index. Do not edit.
|
|
5005
4865
|
*/
|
|
5006
4866
|
|
|
5007
|
-
export { ChangeSetItemFactory, ChangeSetOperation, ChangeType, ClearCollections, CorrelationIdGenerator, DataServiceError, DefaultDataService, DefaultDataServiceConfig, DefaultDataServiceFactory, DefaultHttpUrlGenerator, DefaultLogger, DefaultPersistenceResultHandler, DefaultPluralizer, ENTITY_CACHE_META_REDUCERS, ENTITY_CACHE_NAME, ENTITY_CACHE_NAME_TOKEN, ENTITY_CACHE_SELECTOR_TOKEN, ENTITY_COLLECTION_META_REDUCERS, ENTITY_METADATA_TOKEN, EntityActionFactory, EntityActionGuard, EntityCacheAction, EntityCacheDataService, EntityCacheDispatcher, EntityCacheEffects, EntityCacheReducerFactory, EntityChangeTrackerBase, EntityCollectionCreator, EntityCollectionReducerFactory, EntityCollectionReducerMethods, EntityCollectionReducerMethodsFactory, EntityCollectionReducerRegistry, EntityCollectionServiceBase, EntityCollectionServiceElementsFactory, EntityCollectionServiceFactory, EntityDataModule, EntityDataModuleWithoutEffects, EntityDataService, EntityDefinitionService, EntityDispatcherBase, EntityDispatcherDefaultOptions, EntityDispatcherFactory, EntityEffects, EntityHttpResourceUrls, EntityOp, EntitySelectors$Factory, EntitySelectorsFactory, EntityServices, EntityServicesBase, EntityServicesElements, HttpUrlGenerator, INITIAL_ENTITY_CACHE_STATE, LoadCollections, Logger, MergeQuerySet, MergeStrategy, OP_ERROR, OP_SUCCESS, PLURAL_NAMES_TOKEN, PersistanceCanceled, PersistenceResultHandler, Pluralizer, PropsFilterFnFactory, SaveEntities, SaveEntitiesCancel, SaveEntitiesCanceled, SaveEntitiesError, SaveEntitiesSuccess, SetEntityCache, changeSetItemFactory, createEmptyEntityCollection, createEntityCacheSelector, createEntityDefinition, defaultSelectId, entityCacheSelectorProvider, excludeEmptyChangeSetItems, flattenArgs, getGuid, getGuidComb, guidComparer, makeErrorOp, makeSuccessOp, normalizeRoot, ofEntityOp, ofEntityType, persistOps, toUpdateFactory
|
|
4867
|
+
export { ChangeSetItemFactory, ChangeSetOperation, ChangeType, ClearCollections, CorrelationIdGenerator, DataServiceError, DefaultDataService, DefaultDataServiceConfig, DefaultDataServiceFactory, DefaultHttpUrlGenerator, DefaultLogger, DefaultPersistenceResultHandler, DefaultPluralizer, ENTITY_CACHE_META_REDUCERS, ENTITY_CACHE_NAME, ENTITY_CACHE_NAME_TOKEN, ENTITY_CACHE_SELECTOR_TOKEN, ENTITY_COLLECTION_META_REDUCERS, ENTITY_METADATA_TOKEN, EntityActionFactory, EntityActionGuard, EntityCacheAction, EntityCacheDataService, EntityCacheDispatcher, EntityCacheEffects, EntityCacheReducerFactory, EntityChangeTrackerBase, EntityCollectionCreator, EntityCollectionReducerFactory, EntityCollectionReducerMethods, EntityCollectionReducerMethodsFactory, EntityCollectionReducerRegistry, EntityCollectionServiceBase, EntityCollectionServiceElementsFactory, EntityCollectionServiceFactory, EntityDataModule, EntityDataModuleWithoutEffects, EntityDataService, EntityDefinitionService, EntityDispatcherBase, EntityDispatcherDefaultOptions, EntityDispatcherFactory, EntityEffects, EntityHttpResourceUrls, EntityOp, EntitySelectors$Factory, EntitySelectorsFactory, EntityServices, EntityServicesBase, EntityServicesElements, HttpUrlGenerator, INITIAL_ENTITY_CACHE_STATE, LoadCollections, Logger, MergeQuerySet, MergeStrategy, OP_ERROR, OP_SUCCESS, PLURAL_NAMES_TOKEN, PersistanceCanceled, PersistenceResultHandler, Pluralizer, PropsFilterFnFactory, SaveEntities, SaveEntitiesCancel, SaveEntitiesCanceled, SaveEntitiesError, SaveEntitiesSuccess, SetEntityCache, changeSetItemFactory, createEmptyEntityCollection, createEntityCacheSelector, createEntityDefinition, defaultSelectId, entityCacheSelectorProvider, excludeEmptyChangeSetItems, flattenArgs, getGuid, getGuidComb, guidComparer, makeErrorOp, makeSuccessOp, normalizeRoot, ofEntityOp, ofEntityType, persistOps, toUpdateFactory };
|
|
5008
4868
|
//# sourceMappingURL=ngrx-data.js.map
|