myrtex-mf-competition 1.0.21 → 1.0.23
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/esm2020/lib/modules/competition-header/store/competition-header.effects.mjs +86 -175
- package/fesm2015/myrtex-mf-competition.mjs +81 -176
- package/fesm2015/myrtex-mf-competition.mjs.map +1 -1
- package/fesm2020/myrtex-mf-competition.mjs +81 -176
- package/fesm2020/myrtex-mf-competition.mjs.map +1 -1
- package/lib/modules/competition-header/store/competition-header.effects.d.ts +27 -1
- package/package.json +1 -1
|
@@ -3,11 +3,11 @@ import { Directive, EventEmitter, Component, ContentChild, Input, Output, Inject
|
|
|
3
3
|
import * as i5 from '@angular/common';
|
|
4
4
|
import { CommonModule } from '@angular/common';
|
|
5
5
|
import * as i2$1 from '@ngrx/effects';
|
|
6
|
-
import { EffectsModule } from '@ngrx/effects';
|
|
6
|
+
import { createEffect, ofType, EffectsModule } from '@ngrx/effects';
|
|
7
7
|
import * as i2 from '@ngrx/store';
|
|
8
8
|
import { createAction, props, createFeatureSelector, createSelector, select, createReducer, on, StoreModule } from '@ngrx/store';
|
|
9
9
|
import * as i3 from 'myrtex-mf-ui-composite';
|
|
10
|
-
import { selectCompetitionIdAndVersionId, UnSubscriber, CompetitionStatusEnum, CancelCompetitionTypeEnum, CompetitionVersionStatusEnum, CompetitionVersionStatusEnumLabel, CompetitionStatusEnumLabel, CompetitionModeEnum, selectCompetitionLabel, selectCompetitionConfig, CompetitionVersionStatusGrouppingLabel, DialogColor, DialogType, EndpointBaseService, TenantSettingsModule, MyrtexUiComponentsModule, MyrtexMfUiCompositeModule } from 'myrtex-mf-ui-composite';
|
|
10
|
+
import { selectCompetitionIdAndVersionId, UnSubscriber, CompetitionStatusEnum, CancelCompetitionTypeEnum, CompetitionVersionStatusEnum, CompetitionVersionStatusEnumLabel, CompetitionStatusEnumLabel, CompetitionModeEnum, selectCompetitionLabel, selectCompetitionConfig, CompetitionVersionStatusGrouppingLabel, DialogColor, DialogType, EndpointBaseService, selectCompetitionId, MessageSeverity, Utilities, TenantSettingsModule, MyrtexUiComponentsModule, MyrtexMfUiCompositeModule } from 'myrtex-mf-ui-composite';
|
|
11
11
|
import * as i1 from 'myrtex-mf-signer';
|
|
12
12
|
import { MyrtexSignerModule } from 'myrtex-mf-signer';
|
|
13
13
|
import * as i4 from '@ng-select/ng-select';
|
|
@@ -15,6 +15,8 @@ import { NgSelectModule } from '@ng-select/ng-select';
|
|
|
15
15
|
import * as i6 from '@angular/forms';
|
|
16
16
|
import { FormsModule } from '@angular/forms';
|
|
17
17
|
import * as i1$1 from '@angular/common/http';
|
|
18
|
+
import { EMPTY } from 'rxjs';
|
|
19
|
+
import { withLatestFrom, switchMap, map, catchError, tap } from 'rxjs/operators';
|
|
18
20
|
|
|
19
21
|
var ECompetitionHeaderActions;
|
|
20
22
|
(function (ECompetitionHeaderActions) {
|
|
@@ -590,189 +592,92 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
590
592
|
type: Injectable
|
|
591
593
|
}], ctorParameters: function () { return [{ type: i1$1.HttpClient }, { type: i0.Injector }]; } });
|
|
592
594
|
|
|
593
|
-
// import {
|
|
594
|
-
// AlertService,
|
|
595
|
-
// CompetitionVersionStatusEnum,
|
|
596
|
-
// MessageSeverity,
|
|
597
|
-
// selectCompetitionId,
|
|
598
|
-
// Utilities
|
|
599
|
-
// } from 'myrtex-mf-ui-composite';
|
|
600
595
|
class CompetitionHeaderEffects {
|
|
601
|
-
|
|
602
|
-
// ofType(ECompetitionHeaderActions.LoadCompetitionHeader),
|
|
603
|
-
// withLatestFrom(this.store.pipe(select(selectCompetitionId))),
|
|
604
|
-
// switchMap(([, competitionId]) => {
|
|
605
|
-
// return this.competitionHeaderService.getHeader(competitionId).pipe(
|
|
606
|
-
// map((result: CompetitionHeaderVersionModel) => CompetitionHeaderActions.loadCompetitionHeaderSuccess({competitionHeader: result})),
|
|
607
|
-
// catchError((err) => {
|
|
608
|
-
// this.alertService.showMessage(err, null, MessageSeverity.error);
|
|
609
|
-
// return EMPTY;
|
|
610
|
-
// })
|
|
611
|
-
// );
|
|
612
|
-
// })));
|
|
613
|
-
//
|
|
614
|
-
// deleteCompetitionVersion$ = createEffect(() => this.actions$.pipe(
|
|
615
|
-
// ofType(ECompetitionHeaderActions.DeleteCompetitionVersion),
|
|
616
|
-
// map((action: { versionId: string }) => action.versionId),
|
|
617
|
-
// withLatestFrom(this.store.pipe(select(selectCompetitionId))),
|
|
618
|
-
// switchMap(([versionId, competitionId]) => {
|
|
619
|
-
// return this.competitionHeaderService.deleteVersion(competitionId, versionId).pipe(
|
|
620
|
-
// map((result: boolean) => CompetitionHeaderActions.deleteCompetitionVersionSuccess({ versionId })),
|
|
621
|
-
// catchError((err) => {
|
|
622
|
-
// this.alertService.showMessage(err, null, MessageSeverity.error);
|
|
623
|
-
// return EMPTY;
|
|
624
|
-
// })
|
|
625
|
-
// );
|
|
626
|
-
// })));
|
|
627
|
-
//
|
|
628
|
-
// deleteCompetitionVersionSuccess$ = createEffect(() => this.actions$.pipe(
|
|
629
|
-
// ofType(ECompetitionHeaderActions.DeleteCompetitionVersionSuccess),
|
|
630
|
-
// withLatestFrom(this.store.pipe(select(selectCompetitionId))),
|
|
631
|
-
// tap(([, competitionId]) => window.location.href = `/application/competitions/item?competitionId=${competitionId}`)
|
|
632
|
-
// ), {dispatch: false});
|
|
633
|
-
//
|
|
634
|
-
// createCompetitionVersion$ = createEffect(() => this.actions$.pipe(
|
|
635
|
-
// ofType(ECompetitionHeaderActions.CreateCompetitionVersion),
|
|
636
|
-
// withLatestFrom(this.store.pipe(select(selectCompetitionId))),
|
|
637
|
-
// switchMap(([, competitionId]) => {
|
|
638
|
-
// return this.competitionHeaderService.createVersion(competitionId).pipe(
|
|
639
|
-
// map((result: string) => CompetitionHeaderActions.createCompetitionVersionSuccess({ versionId: result })),
|
|
640
|
-
// catchError((err) => {
|
|
641
|
-
// this.alertService.showMessage(err, null, MessageSeverity.error);
|
|
642
|
-
// return EMPTY;
|
|
643
|
-
// })
|
|
644
|
-
// );
|
|
645
|
-
// })));
|
|
646
|
-
//
|
|
647
|
-
// createCompetitionVersionSuccess$ = createEffect(() => this.actions$.pipe(
|
|
648
|
-
// ofType(ECompetitionHeaderActions.CreateCompetitionVersionSuccess),
|
|
649
|
-
// map((action: { versionId: string }) => action.versionId),
|
|
650
|
-
// withLatestFrom(this.store.pipe(select(selectCompetitionId))),
|
|
651
|
-
// tap(([versionId, competitionId]) =>
|
|
652
|
-
// window.location.href = `/application/competitions/item?competitionId=${competitionId}&versionId=${versionId}`)
|
|
653
|
-
// ), {dispatch: false});
|
|
654
|
-
//
|
|
655
|
-
// competitionVersionChangeStatus$ = createEffect(() => this.actions$.pipe(
|
|
656
|
-
// ofType(ECompetitionHeaderActions.CompetitionVersionChangeStatus),
|
|
657
|
-
// map((action: { versionId: string, status: CompetitionVersionStatusEnum }) => action),
|
|
658
|
-
// withLatestFrom(this.store.pipe(select(selectCompetitionId))),
|
|
659
|
-
// switchMap(([action, competitionId]) => {
|
|
660
|
-
// return this.competitionHeaderService.versionChangeStatus(competitionId, action.versionId, action.status).pipe(
|
|
661
|
-
// map((result: boolean) => {
|
|
662
|
-
// return CompetitionHeaderActions.competitionVersionChangeStatusSuccess({
|
|
663
|
-
// versionId: action.versionId,
|
|
664
|
-
// status: action.status
|
|
665
|
-
// });
|
|
666
|
-
// }),
|
|
667
|
-
// catchError((err) => {
|
|
668
|
-
// this.alertService.showMessage(err, null, MessageSeverity.error);
|
|
669
|
-
// return EMPTY;
|
|
670
|
-
// })
|
|
671
|
-
// );
|
|
672
|
-
// })));
|
|
673
|
-
//
|
|
674
|
-
// competitionVersionChangeStatusSuccess$ = createEffect(() => this.actions$.pipe(
|
|
675
|
-
// ofType(ECompetitionHeaderActions.CompetitionVersionChangeStatusSuccess),
|
|
676
|
-
// map((action: { versionId: string, status: CompetitionVersionStatusEnum }) => action),
|
|
677
|
-
// withLatestFrom(this.store.pipe(select(selectCompetitionId))),
|
|
678
|
-
// tap(([action, competitionId]) => {
|
|
679
|
-
// if (action.status === CompetitionVersionStatusEnum.Validation) {
|
|
680
|
-
// window.location.href = `/m-data/minfin/selection/edit?competitionId=${competitionId}&versionId=${action.versionId}`;
|
|
681
|
-
// } else {
|
|
682
|
-
// window.location.reload();
|
|
683
|
-
// }
|
|
684
|
-
// })
|
|
685
|
-
// ), { dispatch: false });
|
|
686
|
-
//
|
|
687
|
-
// selectCompetitionVersion$ = createEffect(() => this.actions$.pipe(
|
|
688
|
-
// ofType(ECompetitionHeaderActions.SelectCompetitionVersion),
|
|
689
|
-
// map((action: { versionId: string }) => action.versionId),
|
|
690
|
-
// withLatestFrom(this.store.pipe(select(selectCompetitionId))),
|
|
691
|
-
// tap(([versionId, competitionId]) => {
|
|
692
|
-
// const newUri = Utilities.updateQueryStringParameter(window.location.href, 'versionId', versionId);
|
|
693
|
-
// window.location.href = newUri;
|
|
694
|
-
// })
|
|
695
|
-
// ), {dispatch: false});
|
|
696
|
-
//
|
|
697
|
-
// activateCompetition$ = createEffect(() => (this.actions$.pipe(
|
|
698
|
-
// ofType(ECompetitionHeaderActions.ActivateCompetition),
|
|
699
|
-
// withLatestFrom(this.store.pipe(select(selectCompetitionId))),
|
|
700
|
-
// switchMap(([, competitionId]) => {
|
|
701
|
-
// return this.competitionHeaderService.activate(competitionId).pipe(
|
|
702
|
-
// map((result: any) => CompetitionHeaderActions.competitionChangeStatusSuccess()),
|
|
703
|
-
// catchError((err, caught) => {
|
|
704
|
-
// this.alertService.showStickyMessage(err, 'Ошибка активации', MessageSeverity.error);
|
|
705
|
-
// return EMPTY;
|
|
706
|
-
// })
|
|
707
|
-
// );
|
|
708
|
-
// })
|
|
709
|
-
// )));
|
|
710
|
-
//
|
|
711
|
-
// pauseCompetition$ = createEffect(() => (this.actions$.pipe(
|
|
712
|
-
// ofType(ECompetitionHeaderActions.PauseCompetition),
|
|
713
|
-
// withLatestFrom(this.store.pipe(select(selectCompetitionId))),
|
|
714
|
-
// switchMap(([, competitionId]) => {
|
|
715
|
-
// return this.competitionHeaderService.pause(competitionId).pipe(
|
|
716
|
-
// map((result: any) => CompetitionHeaderActions.competitionChangeStatusSuccess()),
|
|
717
|
-
// catchError((err, caught) => {
|
|
718
|
-
// this.alertService.showStickyMessage(err, 'Ошибка приостановки', MessageSeverity.error);
|
|
719
|
-
// return EMPTY;
|
|
720
|
-
// })
|
|
721
|
-
// );
|
|
722
|
-
// })
|
|
723
|
-
// )));
|
|
724
|
-
//
|
|
725
|
-
// completeCompetition$ = createEffect(() => (this.actions$.pipe(
|
|
726
|
-
// ofType(ECompetitionHeaderActions.CompleteCompetition),
|
|
727
|
-
// withLatestFrom(this.store.pipe(select(selectCompetitionId))),
|
|
728
|
-
// switchMap(([, competitionId]) => {
|
|
729
|
-
// return this.competitionHeaderService.complete(competitionId).pipe(
|
|
730
|
-
// map((result: any) => CompetitionHeaderActions.competitionChangeStatusSuccess()),
|
|
731
|
-
// catchError((err, caught) => {
|
|
732
|
-
// this.alertService.showStickyMessage(err, 'Ошибка при завершении', MessageSeverity.error);
|
|
733
|
-
// return EMPTY;
|
|
734
|
-
// })
|
|
735
|
-
// );
|
|
736
|
-
// })
|
|
737
|
-
// )));
|
|
738
|
-
//
|
|
739
|
-
// cancelCompetition$ = createEffect(() => (this.actions$.pipe(
|
|
740
|
-
// ofType(ECompetitionHeaderActions.CancelCompetition),
|
|
741
|
-
// withLatestFrom(this.store.pipe(select(selectCompetitionId))),
|
|
742
|
-
// switchMap(([, competitionId]) => {
|
|
743
|
-
// return this.competitionHeaderService.cancel(competitionId).pipe(
|
|
744
|
-
// map((result: any) => CompetitionHeaderActions.competitionChangeStatusSuccess()),
|
|
745
|
-
// catchError((err, caught) => {
|
|
746
|
-
// this.alertService.showStickyMessage(err, 'Ошибка при отмене', MessageSeverity.error);
|
|
747
|
-
// return EMPTY;
|
|
748
|
-
// })
|
|
749
|
-
// );
|
|
750
|
-
// })
|
|
751
|
-
// )));
|
|
752
|
-
//
|
|
753
|
-
// cancelCompetitionWithValidation$ = createEffect(() => this.actions$.pipe(
|
|
754
|
-
// ofType(ECompetitionHeaderActions.CancelCompetitionWithValidation),
|
|
755
|
-
// map((action: { versionId: string }) => action.versionId),
|
|
756
|
-
// withLatestFrom(this.store.pipe(select(selectCompetitionId))),
|
|
757
|
-
// tap(([versionId, competitionId]) =>
|
|
758
|
-
// window.location.href = `/m-data/minfin/selection/edit/cancel?competitionId=${competitionId}&versionId=${versionId}`)
|
|
759
|
-
// ), {dispatch: false});
|
|
760
|
-
//
|
|
761
|
-
// competitionChangeStatusSuccess$ = createEffect(() => this.actions$.pipe(
|
|
762
|
-
// ofType(ECompetitionHeaderActions.CompetitionChangeStatusSuccess),
|
|
763
|
-
// tap(() => window.location.reload())
|
|
764
|
-
// ), {dispatch: false});
|
|
765
|
-
constructor(competitionHeaderService, actions$, store) {
|
|
596
|
+
constructor(competitionHeaderService, actions$, store, alertService) {
|
|
766
597
|
this.competitionHeaderService = competitionHeaderService;
|
|
767
598
|
this.actions$ = actions$;
|
|
768
599
|
this.store = store;
|
|
600
|
+
this.alertService = alertService;
|
|
601
|
+
this.loadCompetitionHeader$ = createEffect(() => this.actions$.pipe(ofType(ECompetitionHeaderActions.LoadCompetitionHeader), withLatestFrom(this.store.pipe(select(selectCompetitionId))), switchMap(([, competitionId]) => {
|
|
602
|
+
return this.competitionHeaderService.getHeader(competitionId).pipe(map((result) => loadCompetitionHeaderSuccess({ competitionHeader: result })), catchError((err) => {
|
|
603
|
+
this.alertService.showMessage(err, null, MessageSeverity.error);
|
|
604
|
+
return EMPTY;
|
|
605
|
+
}));
|
|
606
|
+
})));
|
|
607
|
+
this.deleteCompetitionVersion$ = createEffect(() => this.actions$.pipe(ofType(ECompetitionHeaderActions.DeleteCompetitionVersion), map((action) => action.versionId), withLatestFrom(this.store.pipe(select(selectCompetitionId))), switchMap(([versionId, competitionId]) => {
|
|
608
|
+
return this.competitionHeaderService.deleteVersion(competitionId, versionId).pipe(map((result) => deleteCompetitionVersionSuccess({ versionId })), catchError((err) => {
|
|
609
|
+
this.alertService.showMessage(err, null, MessageSeverity.error);
|
|
610
|
+
return EMPTY;
|
|
611
|
+
}));
|
|
612
|
+
})));
|
|
613
|
+
this.deleteCompetitionVersionSuccess$ = createEffect(() => this.actions$.pipe(ofType(ECompetitionHeaderActions.DeleteCompetitionVersionSuccess), withLatestFrom(this.store.pipe(select(selectCompetitionId))), tap(([, competitionId]) => window.location.href = `/application/competitions/item?competitionId=${competitionId}`)), { dispatch: false });
|
|
614
|
+
this.createCompetitionVersion$ = createEffect(() => this.actions$.pipe(ofType(ECompetitionHeaderActions.CreateCompetitionVersion), withLatestFrom(this.store.pipe(select(selectCompetitionId))), switchMap(([, competitionId]) => {
|
|
615
|
+
return this.competitionHeaderService.createVersion(competitionId).pipe(map((result) => createCompetitionVersionSuccess({ versionId: result })), catchError((err) => {
|
|
616
|
+
this.alertService.showMessage(err, null, MessageSeverity.error);
|
|
617
|
+
return EMPTY;
|
|
618
|
+
}));
|
|
619
|
+
})));
|
|
620
|
+
this.createCompetitionVersionSuccess$ = createEffect(() => this.actions$.pipe(ofType(ECompetitionHeaderActions.CreateCompetitionVersionSuccess), map((action) => action.versionId), withLatestFrom(this.store.pipe(select(selectCompetitionId))), tap(([versionId, competitionId]) => window.location.href = `/application/competitions/item?competitionId=${competitionId}&versionId=${versionId}`)), { dispatch: false });
|
|
621
|
+
this.competitionVersionChangeStatus$ = createEffect(() => this.actions$.pipe(ofType(ECompetitionHeaderActions.CompetitionVersionChangeStatus), map((action) => action), withLatestFrom(this.store.pipe(select(selectCompetitionId))), switchMap(([action, competitionId]) => {
|
|
622
|
+
return this.competitionHeaderService.versionChangeStatus(competitionId, action.versionId, action.status).pipe(map((result) => {
|
|
623
|
+
return competitionVersionChangeStatusSuccess({
|
|
624
|
+
versionId: action.versionId,
|
|
625
|
+
status: action.status
|
|
626
|
+
});
|
|
627
|
+
}), catchError((err) => {
|
|
628
|
+
this.alertService.showMessage(err, null, MessageSeverity.error);
|
|
629
|
+
return EMPTY;
|
|
630
|
+
}));
|
|
631
|
+
})));
|
|
632
|
+
// competitionVersionChangeStatusSuccess$ = createEffect(() => this.actions$.pipe(
|
|
633
|
+
// ofType(ECompetitionHeaderActions.CompetitionVersionChangeStatusSuccess),
|
|
634
|
+
// map((action: { versionId: string, status: CompetitionVersionStatusEnum }) => action),
|
|
635
|
+
// withLatestFrom(this.store.pipe(select(selectCompetitionId))),
|
|
636
|
+
// tap(([action, competitionId]) => {
|
|
637
|
+
// if (action.status === CompetitionVersionStatusEnum.Validation) {
|
|
638
|
+
// window.location.href = `/m-data/minfin/selection/edit?competitionId=${competitionId}&versionId=${action.versionId}`;
|
|
639
|
+
// } else {
|
|
640
|
+
// window.location.reload();
|
|
641
|
+
// }
|
|
642
|
+
// })
|
|
643
|
+
// ), { dispatch: false });
|
|
644
|
+
this.selectCompetitionVersion$ = createEffect(() => this.actions$.pipe(ofType(ECompetitionHeaderActions.SelectCompetitionVersion), map((action) => action.versionId), withLatestFrom(this.store.pipe(select(selectCompetitionId))), tap(([versionId, competitionId]) => {
|
|
645
|
+
const newUri = Utilities.updateQueryStringParameter(window.location.href, 'versionId', versionId);
|
|
646
|
+
window.location.href = newUri;
|
|
647
|
+
})), { dispatch: false });
|
|
648
|
+
this.activateCompetition$ = createEffect(() => (this.actions$.pipe(ofType(ECompetitionHeaderActions.ActivateCompetition), withLatestFrom(this.store.pipe(select(selectCompetitionId))), switchMap(([, competitionId]) => {
|
|
649
|
+
return this.competitionHeaderService.activate(competitionId).pipe(map((result) => competitionChangeStatusSuccess()), catchError((err, caught) => {
|
|
650
|
+
this.alertService.showStickyMessage(err, 'Ошибка активации', MessageSeverity.error);
|
|
651
|
+
return EMPTY;
|
|
652
|
+
}));
|
|
653
|
+
}))));
|
|
654
|
+
this.pauseCompetition$ = createEffect(() => (this.actions$.pipe(ofType(ECompetitionHeaderActions.PauseCompetition), withLatestFrom(this.store.pipe(select(selectCompetitionId))), switchMap(([, competitionId]) => {
|
|
655
|
+
return this.competitionHeaderService.pause(competitionId).pipe(map((result) => competitionChangeStatusSuccess()), catchError((err, caught) => {
|
|
656
|
+
this.alertService.showStickyMessage(err, 'Ошибка приостановки', MessageSeverity.error);
|
|
657
|
+
return EMPTY;
|
|
658
|
+
}));
|
|
659
|
+
}))));
|
|
660
|
+
this.completeCompetition$ = createEffect(() => (this.actions$.pipe(ofType(ECompetitionHeaderActions.CompleteCompetition), withLatestFrom(this.store.pipe(select(selectCompetitionId))), switchMap(([, competitionId]) => {
|
|
661
|
+
return this.competitionHeaderService.complete(competitionId).pipe(map((result) => competitionChangeStatusSuccess()), catchError((err, caught) => {
|
|
662
|
+
this.alertService.showStickyMessage(err, 'Ошибка при завершении', MessageSeverity.error);
|
|
663
|
+
return EMPTY;
|
|
664
|
+
}));
|
|
665
|
+
}))));
|
|
666
|
+
this.cancelCompetition$ = createEffect(() => (this.actions$.pipe(ofType(ECompetitionHeaderActions.CancelCompetition), withLatestFrom(this.store.pipe(select(selectCompetitionId))), switchMap(([, competitionId]) => {
|
|
667
|
+
return this.competitionHeaderService.cancel(competitionId).pipe(map((result) => competitionChangeStatusSuccess()), catchError((err, caught) => {
|
|
668
|
+
this.alertService.showStickyMessage(err, 'Ошибка при отмене', MessageSeverity.error);
|
|
669
|
+
return EMPTY;
|
|
670
|
+
}));
|
|
671
|
+
}))));
|
|
672
|
+
this.cancelCompetitionWithValidation$ = createEffect(() => this.actions$.pipe(ofType(ECompetitionHeaderActions.CancelCompetitionWithValidation), map((action) => action.versionId), withLatestFrom(this.store.pipe(select(selectCompetitionId))), tap(([versionId, competitionId]) => window.location.href = `/m-data/minfin/selection/edit/cancel?competitionId=${competitionId}&versionId=${versionId}`)), { dispatch: false });
|
|
673
|
+
this.competitionChangeStatusSuccess$ = createEffect(() => this.actions$.pipe(ofType(ECompetitionHeaderActions.CompetitionChangeStatusSuccess), tap(() => window.location.reload())), { dispatch: false });
|
|
769
674
|
}
|
|
770
675
|
}
|
|
771
|
-
CompetitionHeaderEffects.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: CompetitionHeaderEffects, deps: [{ token: CompetitionHeaderService }, { token: i2$1.Actions }, { token: i2.Store }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
676
|
+
CompetitionHeaderEffects.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: CompetitionHeaderEffects, deps: [{ token: CompetitionHeaderService }, { token: i2$1.Actions }, { token: i2.Store }, { token: i3.AlertService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
772
677
|
CompetitionHeaderEffects.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: CompetitionHeaderEffects });
|
|
773
678
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: CompetitionHeaderEffects, decorators: [{
|
|
774
679
|
type: Injectable
|
|
775
|
-
}], ctorParameters: function () { return [{ type: CompetitionHeaderService }, { type: i2$1.Actions }, { type: i2.Store }]; } });
|
|
680
|
+
}], ctorParameters: function () { return [{ type: CompetitionHeaderService }, { type: i2$1.Actions }, { type: i2.Store }, { type: i3.AlertService }]; } });
|
|
776
681
|
|
|
777
682
|
class CompetitionHeaderModule {
|
|
778
683
|
}
|