@smartsoft001/crud-shell-angular 2.99.0 → 2.101.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.
|
@@ -3246,14 +3246,36 @@ class CrudModule {
|
|
|
3246
3246
|
],
|
|
3247
3247
|
};
|
|
3248
3248
|
}
|
|
3249
|
-
|
|
3249
|
+
constructor(config, effects) {
|
|
3250
|
+
NgrxStoreService.addReducer(config.entity, config.reducerFactory
|
|
3251
|
+
? config.reducerFactory()
|
|
3252
|
+
: getReducer(config.entity));
|
|
3253
|
+
effects.init();
|
|
3254
|
+
}
|
|
3255
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: CrudModule, deps: [{ token: CrudConfig }, { token: CrudEffects }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3250
3256
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.0", ngImport: i0, type: CrudModule });
|
|
3251
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: CrudModule
|
|
3257
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: CrudModule, providers: [
|
|
3258
|
+
CrudService,
|
|
3259
|
+
CrudListGroupService,
|
|
3260
|
+
CrudEffects,
|
|
3261
|
+
PageService,
|
|
3262
|
+
CrudFacade,
|
|
3263
|
+
CrudListPaginationFactory,
|
|
3264
|
+
] });
|
|
3252
3265
|
}
|
|
3253
3266
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: CrudModule, decorators: [{
|
|
3254
3267
|
type: NgModule,
|
|
3255
|
-
args: [{
|
|
3256
|
-
|
|
3268
|
+
args: [{
|
|
3269
|
+
providers: [
|
|
3270
|
+
CrudService,
|
|
3271
|
+
CrudListGroupService,
|
|
3272
|
+
CrudEffects,
|
|
3273
|
+
PageService,
|
|
3274
|
+
CrudFacade,
|
|
3275
|
+
CrudListPaginationFactory,
|
|
3276
|
+
],
|
|
3277
|
+
}]
|
|
3278
|
+
}], ctorParameters: () => [{ type: CrudConfig }, { type: CrudEffects }] });
|
|
3257
3279
|
|
|
3258
3280
|
/**
|
|
3259
3281
|
* Generated bundle index. Do not edit.
|