@smartsoft001/angular 2.90.0 → 2.91.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.
@@ -29,9 +29,7 @@ import { CdkTable, CdkHeaderCell, CdkCell, CdkHeaderRow, CdkRow, CdkTableModule
29
29
  import * as i1$2 from 'ng-lazyload-image';
30
30
  import { LazyLoadImageModule } from 'ng-lazyload-image';
31
31
  import { DragDropModule } from '@angular/cdk/drag-drop';
32
- import * as i1$3 from '@ngrx/effects';
33
- import { createEffect, EffectsModule } from '@ngrx/effects';
34
- import * as i1$4 from '@ngrx/store';
32
+ import * as i1$3 from '@ngrx/store';
35
33
  import { Guid } from 'guid-typescript';
36
34
 
37
35
  var PaginationMode;
@@ -7199,40 +7197,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImpor
7199
7197
  }]
7200
7198
  }], ctorParameters: () => [{ type: i1.TranslateService }] });
7201
7199
 
7202
- class ErrorEffects {
7203
- actions$;
7204
- service;
7205
- error$ = createEffect(() => this.actions$.pipe(filter((action) => {
7206
- return action.type.indexOf(' Failure') > -1;
7207
- }), tap((action) => {
7208
- this.service.log(action.error).then();
7209
- })), { dispatch: false });
7210
- constructor(actions$, service) {
7211
- this.actions$ = actions$;
7212
- this.service = service;
7213
- }
7214
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: ErrorEffects, deps: [{ token: i1$3.Actions }, { token: ErrorService }], target: i0.ɵɵFactoryTarget.Injectable });
7215
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: ErrorEffects });
7216
- }
7217
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: ErrorEffects, decorators: [{
7218
- type: Injectable
7219
- }], ctorParameters: () => [{ type: i1$3.Actions }, { type: ErrorService }] });
7220
-
7221
7200
  class NgrxSharedModule {
7222
7201
  constructor(store, storeService) {
7223
7202
  storeService.connect(store);
7224
7203
  }
7225
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: NgrxSharedModule, deps: [{ token: i1$4.Store }, { token: NgrxStoreService }], target: i0.ɵɵFactoryTarget.NgModule });
7226
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.0", ngImport: i0, type: NgrxSharedModule, imports: [SharedModule, i1$3.EffectsFeatureModule] });
7227
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: NgrxSharedModule, providers: [NgrxStoreService], imports: [SharedModule, EffectsModule.forFeature([ErrorEffects])] });
7204
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: NgrxSharedModule, deps: [{ token: i1$3.Store }, { token: NgrxStoreService }], target: i0.ɵɵFactoryTarget.NgModule });
7205
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.0", ngImport: i0, type: NgrxSharedModule, imports: [SharedModule] });
7206
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: NgrxSharedModule, providers: [NgrxStoreService], imports: [SharedModule] });
7228
7207
  }
7229
7208
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: NgrxSharedModule, decorators: [{
7230
7209
  type: NgModule,
7231
7210
  args: [{
7232
7211
  providers: [NgrxStoreService],
7233
- imports: [SharedModule, EffectsModule.forFeature([ErrorEffects])],
7212
+ imports: [
7213
+ SharedModule,
7214
+ //EffectsModule.forFeature([ErrorEffects])
7215
+ ],
7234
7216
  }]
7235
- }], ctorParameters: () => [{ type: i1$4.Store }, { type: NgrxStoreService }] });
7217
+ }], ctorParameters: () => [{ type: i1$3.Store }, { type: NgrxStoreService }] });
7236
7218
 
7237
7219
  const ReduxAction = ReduxActionDecorator;
7238
7220
  function ReduxActionDecorator(options = {}) {