@hmcts/ccd-case-ui-toolkit 6.19.6-restricted-case-access-v2 → 6.19.6-restricted-case-access-v4

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.
Files changed (24) hide show
  1. package/bundles/hmcts-ccd-case-ui-toolkit.umd.js +65 -14
  2. package/bundles/hmcts-ccd-case-ui-toolkit.umd.js.map +1 -1
  3. package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js +1 -1
  4. package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js.map +1 -1
  5. package/esm2015/lib/app.config.js +1 -1
  6. package/esm2015/lib/shared/components/case-editor/case-edit/case-edit.component.js +13 -5
  7. package/esm2015/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.js +12 -4
  8. package/esm2015/lib/shared/components/case-editor/case-editor.module.js +6 -3
  9. package/esm2015/lib/shared/components/case-editor/services/valid-page-list-caseFields.service.js +35 -0
  10. package/esm2015/lib/shared/components/case-viewer/services/case.resolver.js +9 -6
  11. package/fesm2015/hmcts-ccd-case-ui-toolkit.js +60 -14
  12. package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
  13. package/lib/app.config.d.ts +2 -0
  14. package/lib/app.config.d.ts.map +1 -1
  15. package/lib/shared/components/case-editor/case-edit/case-edit.component.d.ts +4 -1
  16. package/lib/shared/components/case-editor/case-edit/case-edit.component.d.ts.map +1 -1
  17. package/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.d.ts +4 -2
  18. package/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.d.ts.map +1 -1
  19. package/lib/shared/components/case-editor/case-editor.module.d.ts.map +1 -1
  20. package/lib/shared/components/case-editor/services/valid-page-list-caseFields.service.d.ts +13 -0
  21. package/lib/shared/components/case-editor/services/valid-page-list-caseFields.service.d.ts.map +1 -0
  22. package/lib/shared/components/case-viewer/services/case.resolver.d.ts +3 -1
  23. package/lib/shared/components/case-viewer/services/case.resolver.d.ts.map +1 -1
  24. package/package.json +1 -1
@@ -9884,8 +9884,44 @@
9884
9884
  }], function () { return [{ type: HttpService }, { type: AbstractAppConfig }, { type: HttpErrorService }, { type: AlertService }, { type: SessionStorageService }]; }, null);
9885
9885
  })();
9886
9886
 
9887
+ var ValidPageListCaseFieldsService = /** @class */ (function () {
9888
+ function ValidPageListCaseFieldsService(fieldsUtils) {
9889
+ this.fieldsUtils = fieldsUtils;
9890
+ }
9891
+ ValidPageListCaseFieldsService.prototype.isShown = function (page, eventTriggerFields, data) {
9892
+ var fields = this.fieldsUtils
9893
+ .mergeCaseFieldsAndFormFields(eventTriggerFields, data);
9894
+ return page.parsedShowCondition.match(fields);
9895
+ };
9896
+ ValidPageListCaseFieldsService.prototype.deleteNonValidatedFields = function (validPageList, data, eventTriggerFields, fromPreviousPage) {
9897
+ var _this = this;
9898
+ if (fromPreviousPage === void 0) { fromPreviousPage = false; }
9899
+ var validPageListCaseFields = [];
9900
+ validPageList.forEach(function (page) {
9901
+ if (_this.isShown(page, eventTriggerFields, data)) {
9902
+ page.case_fields.forEach(function (field) { return validPageListCaseFields.push(field); });
9903
+ }
9904
+ });
9905
+ if (!fromPreviousPage && validPageListCaseFields.length > 0) {
9906
+ Object.keys(data).forEach(function (key) {
9907
+ if (validPageListCaseFields.findIndex(function (element) { return element.id === key; }) < 0) {
9908
+ delete data[key];
9909
+ }
9910
+ });
9911
+ }
9912
+ };
9913
+ return ValidPageListCaseFieldsService;
9914
+ }());
9915
+ ValidPageListCaseFieldsService.ɵfac = function ValidPageListCaseFieldsService_Factory(t) { return new (t || ValidPageListCaseFieldsService)(i0__namespace.ɵɵinject(FieldsUtils)); };
9916
+ ValidPageListCaseFieldsService.ɵprov = i0__namespace.ɵɵdefineInjectable({ token: ValidPageListCaseFieldsService, factory: ValidPageListCaseFieldsService.ɵfac });
9917
+ (function () {
9918
+ (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(ValidPageListCaseFieldsService, [{
9919
+ type: i0.Injectable
9920
+ }], function () { return [{ type: FieldsUtils }]; }, null);
9921
+ })();
9922
+
9887
9923
  var CaseEditComponent = /** @class */ (function () {
9888
- function CaseEditComponent(fb, caseNotifier, router, route, fieldsUtils, fieldsPurger, registrarService, wizardFactory, sessionStorageService, windowsService, formValueService, formErrorService, loadingService) {
9924
+ function CaseEditComponent(fb, caseNotifier, router, route, fieldsUtils, fieldsPurger, registrarService, wizardFactory, sessionStorageService, windowsService, formValueService, formErrorService, loadingService, validPageListCaseFieldsService) {
9889
9925
  this.fb = fb;
9890
9926
  this.caseNotifier = caseNotifier;
9891
9927
  this.router = router;
@@ -9899,6 +9935,7 @@
9899
9935
  this.formValueService = formValueService;
9900
9936
  this.formErrorService = formErrorService;
9901
9937
  this.loadingService = loadingService;
9938
+ this.validPageListCaseFieldsService = validPageListCaseFieldsService;
9902
9939
  this.cancelled = new i0.EventEmitter();
9903
9940
  this.submitted = new i0.EventEmitter();
9904
9941
  this.isEventCompletionChecksRequired = false;
@@ -9906,6 +9943,7 @@
9906
9943
  this.ignoreWarning = false;
9907
9944
  this.isLinkedCasesSubmission = false;
9908
9945
  this.callbackErrorsSubject = new rxjs.Subject();
9946
+ this.validPageList = [];
9909
9947
  }
9910
9948
  CaseEditComponent.prototype.ngOnInit = function () {
9911
9949
  var _this = this;
@@ -10070,6 +10108,8 @@
10070
10108
  this.formValueService.populateLinkedCasesDetailsFromCaseFields(caseEventData.data, eventTrigger.case_fields);
10071
10109
  // Remove "Launcher"-type fields (these have no values and are not intended to be persisted)
10072
10110
  this.formValueService.removeCaseFieldsOfType(caseEventData.data, eventTrigger.case_fields, ['FlagLauncher', 'ComponentLauncher']);
10111
+ // delete fields which are not part of the case event journey wizard pages case fields
10112
+ this.validPageListCaseFieldsService.deleteNonValidatedFields(this.validPageList, caseEventData.data, eventTrigger.case_fields, false);
10073
10113
  caseEventData.event_token = eventTrigger.event_token;
10074
10114
  caseEventData.ignore_warning = this.ignoreWarning;
10075
10115
  if (this.confirmation) {
@@ -10171,7 +10211,9 @@
10171
10211
  rawFormValueData[key] = parentField.formatted_value[caseField.id];
10172
10212
  }
10173
10213
  else {
10174
- rawFormValueData[key] = caseField.formatted_value;
10214
+ if (!(caseField.hidden && caseField.retain_hidden_value)) {
10215
+ rawFormValueData[key] = caseField.formatted_value;
10216
+ }
10175
10217
  }
10176
10218
  }
10177
10219
  }
@@ -10237,7 +10279,7 @@
10237
10279
  }());
10238
10280
  CaseEditComponent.ORIGIN_QUERY_PARAM = 'origin';
10239
10281
  CaseEditComponent.ALERT_MESSAGE = 'Page is being refreshed so you will be redirected to the first page of this event.';
10240
- CaseEditComponent.ɵfac = function CaseEditComponent_Factory(t) { return new (t || CaseEditComponent)(i0__namespace.ɵɵdirectiveInject(i2__namespace$1.FormBuilder), i0__namespace.ɵɵdirectiveInject(CaseNotifier), i0__namespace.ɵɵdirectiveInject(i1__namespace$1.Router), i0__namespace.ɵɵdirectiveInject(i1__namespace$1.ActivatedRoute), i0__namespace.ɵɵdirectiveInject(FieldsUtils), i0__namespace.ɵɵdirectiveInject(FieldsPurger), i0__namespace.ɵɵdirectiveInject(ConditionalShowRegistrarService), i0__namespace.ɵɵdirectiveInject(WizardFactoryService), i0__namespace.ɵɵdirectiveInject(SessionStorageService), i0__namespace.ɵɵdirectiveInject(WindowService), i0__namespace.ɵɵdirectiveInject(FormValueService), i0__namespace.ɵɵdirectiveInject(FormErrorService), i0__namespace.ɵɵdirectiveInject(LoadingService)); };
10282
+ CaseEditComponent.ɵfac = function CaseEditComponent_Factory(t) { return new (t || CaseEditComponent)(i0__namespace.ɵɵdirectiveInject(i2__namespace$1.FormBuilder), i0__namespace.ɵɵdirectiveInject(CaseNotifier), i0__namespace.ɵɵdirectiveInject(i1__namespace$1.Router), i0__namespace.ɵɵdirectiveInject(i1__namespace$1.ActivatedRoute), i0__namespace.ɵɵdirectiveInject(FieldsUtils), i0__namespace.ɵɵdirectiveInject(FieldsPurger), i0__namespace.ɵɵdirectiveInject(ConditionalShowRegistrarService), i0__namespace.ɵɵdirectiveInject(WizardFactoryService), i0__namespace.ɵɵdirectiveInject(SessionStorageService), i0__namespace.ɵɵdirectiveInject(WindowService), i0__namespace.ɵɵdirectiveInject(FormValueService), i0__namespace.ɵɵdirectiveInject(FormErrorService), i0__namespace.ɵɵdirectiveInject(LoadingService), i0__namespace.ɵɵdirectiveInject(ValidPageListCaseFieldsService)); };
10241
10283
  CaseEditComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseEditComponent, selectors: [["ccd-case-edit"]], inputs: { eventTrigger: "eventTrigger", submit: "submit", validate: "validate", saveDraft: "saveDraft", caseDetails: "caseDetails" }, outputs: { cancelled: "cancelled", submitted: "submitted" }, features: [i0__namespace.ɵɵProvidersFeature([GreyBarService])], decls: 1, vars: 0, template: function CaseEditComponent_Template(rf, ctx) {
10242
10284
  if (rf & 1) {
10243
10285
  i0__namespace.ɵɵelement(0, "router-outlet");
@@ -10252,7 +10294,7 @@
10252
10294
  styleUrls: ['../case-edit.scss'],
10253
10295
  providers: [GreyBarService]
10254
10296
  }]
10255
- }], function () { return [{ type: i2__namespace$1.FormBuilder }, { type: CaseNotifier }, { type: i1__namespace$1.Router }, { type: i1__namespace$1.ActivatedRoute }, { type: FieldsUtils }, { type: FieldsPurger }, { type: ConditionalShowRegistrarService }, { type: WizardFactoryService }, { type: SessionStorageService }, { type: WindowService }, { type: FormValueService }, { type: FormErrorService }, { type: LoadingService }]; }, { eventTrigger: [{
10297
+ }], function () { return [{ type: i2__namespace$1.FormBuilder }, { type: CaseNotifier }, { type: i1__namespace$1.Router }, { type: i1__namespace$1.ActivatedRoute }, { type: FieldsUtils }, { type: FieldsPurger }, { type: ConditionalShowRegistrarService }, { type: WizardFactoryService }, { type: SessionStorageService }, { type: WindowService }, { type: FormValueService }, { type: FormErrorService }, { type: LoadingService }, { type: ValidPageListCaseFieldsService }]; }, { eventTrigger: [{
10256
10298
  type: i0.Input
10257
10299
  }], submit: [{
10258
10300
  type: i0.Input
@@ -10948,7 +10990,7 @@
10948
10990
  }
10949
10991
  }
10950
10992
  var CaseEditPageComponent = /** @class */ (function () {
10951
- function CaseEditPageComponent(caseEdit, route, formValueService, formErrorService, cdRef, pageValidationService, dialog, caseFieldService, caseEditDataService, loadingService) {
10993
+ function CaseEditPageComponent(caseEdit, route, formValueService, formErrorService, cdRef, pageValidationService, dialog, caseFieldService, caseEditDataService, loadingService, validPageListCaseFieldsService) {
10952
10994
  this.caseEdit = caseEdit;
10953
10995
  this.route = route;
10954
10996
  this.formValueService = formValueService;
@@ -10959,6 +11001,7 @@
10959
11001
  this.caseFieldService = caseFieldService;
10960
11002
  this.caseEditDataService = caseEditDataService;
10961
11003
  this.loadingService = loadingService;
11004
+ this.validPageListCaseFieldsService = validPageListCaseFieldsService;
10962
11005
  this.triggerTextStart = CaseEditPageComponent.TRIGGER_TEXT_START;
10963
11006
  this.triggerTextIgnoreWarnings = CaseEditPageComponent.TRIGGER_TEXT_CONTINUE;
10964
11007
  this.formValuesChanged = false;
@@ -11169,6 +11212,9 @@
11169
11212
  }
11170
11213
  }
11171
11214
  if (!this.caseEdit.isSubmitting && !this.currentPageIsNotValid()) {
11215
+ if (this.caseEdit.validPageList.findIndex(function (page) { return page.id === _this.currentPage.id; }) === -1) {
11216
+ this.caseEdit.validPageList.push(this.currentPage);
11217
+ }
11172
11218
  this.caseEdit.isSubmitting = true;
11173
11219
  this.caseEdit.error = null;
11174
11220
  var caseEventData = this.buildCaseEventData();
@@ -11437,6 +11483,8 @@
11437
11483
  this.formValueService.sanitiseDynamicLists(caseFields, formFields);
11438
11484
  // Get hold of the CaseEventData.
11439
11485
  var caseEventData = this.formValueService.sanitise(formFields);
11486
+ // delete fields which are not part of the case event journey wizard pages case fields
11487
+ this.validPageListCaseFieldsService.deleteNonValidatedFields(this.caseEdit.validPageList, caseEventData.data, this.eventTrigger.case_fields, fromPreviousPage);
11440
11488
  // Tidy it up before we return it.
11441
11489
  this.formValueService.removeUnnecessaryFields(caseEventData.data, caseFields, clearEmpty, clearNonCase, fromPreviousPage, this.currentPage.case_fields);
11442
11490
  return caseEventData;
@@ -11479,7 +11527,7 @@
11479
11527
  CaseEditPageComponent.TRIGGER_TEXT_START = 'Continue';
11480
11528
  CaseEditPageComponent.TRIGGER_TEXT_SAVE = 'Save and continue';
11481
11529
  CaseEditPageComponent.TRIGGER_TEXT_CONTINUE = 'Ignore Warning and Continue';
11482
- CaseEditPageComponent.ɵfac = function CaseEditPageComponent_Factory(t) { return new (t || CaseEditPageComponent)(i0__namespace.ɵɵdirectiveInject(CaseEditComponent), i0__namespace.ɵɵdirectiveInject(i1__namespace$1.ActivatedRoute), i0__namespace.ɵɵdirectiveInject(FormValueService), i0__namespace.ɵɵdirectiveInject(FormErrorService), i0__namespace.ɵɵdirectiveInject(i0__namespace.ChangeDetectorRef), i0__namespace.ɵɵdirectiveInject(PageValidationService), i0__namespace.ɵɵdirectiveInject(i1__namespace$3.MatDialog), i0__namespace.ɵɵdirectiveInject(CaseFieldService), i0__namespace.ɵɵdirectiveInject(CaseEditDataService), i0__namespace.ɵɵdirectiveInject(LoadingService)); };
11530
+ CaseEditPageComponent.ɵfac = function CaseEditPageComponent_Factory(t) { return new (t || CaseEditPageComponent)(i0__namespace.ɵɵdirectiveInject(CaseEditComponent), i0__namespace.ɵɵdirectiveInject(i1__namespace$1.ActivatedRoute), i0__namespace.ɵɵdirectiveInject(FormValueService), i0__namespace.ɵɵdirectiveInject(FormErrorService), i0__namespace.ɵɵdirectiveInject(i0__namespace.ChangeDetectorRef), i0__namespace.ɵɵdirectiveInject(PageValidationService), i0__namespace.ɵɵdirectiveInject(i1__namespace$3.MatDialog), i0__namespace.ɵɵdirectiveInject(CaseFieldService), i0__namespace.ɵɵdirectiveInject(CaseEditDataService), i0__namespace.ɵɵdirectiveInject(LoadingService), i0__namespace.ɵɵdirectiveInject(ValidPageListCaseFieldsService)); };
11483
11531
  CaseEditPageComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseEditPageComponent, selectors: [["ccd-case-edit-page"]], decls: 12, vars: 11, consts: [[4, "ngIf"], [4, "ngIf", "ngIfThen", "ngIfElse"], ["titleBlock", ""], ["idBlock", ""], ["class", "govuk-error-summary", "aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "govuk-error-summary", 4, "ngIf"], [3, "error"], [3, "triggerTextContinue", "triggerTextIgnore", "callbackErrorsSubject", "callbackErrorsContext"], [1, "width-50"], ["class", "form", 3, "formGroup", "submit", 4, "ngIf"], [3, "eventCompletionParams", "eventCanBeCompleted", 4, "ngIf"], ["class", "govuk-heading-l", 4, "ngIf"], [1, "govuk-heading-l"], [1, "govuk-caption-l"], [3, "content"], ["class", "heading-h2", 4, "ngIf"], [1, "heading-h2"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "govuk-error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], ["class", "govuk-error-summary__body", 4, "ngFor", "ngForOf"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], [1, "validation-error", 3, "click"], [1, "form", 3, "formGroup", "submit"], ["id", "fieldset-case-data"], [2, "display", "none"], ["id", "caseEditForm", 3, "fields", "formGroup", "caseFields", "pageChangeSubject", "valuesChanged", 4, "ngIf"], ["class", "grid-row", 4, "ngIf"], [1, "form-group", "form-group-related"], ["type", "button", 1, "button", "button-secondary", 3, "disabled", "click"], ["type", "submit", 1, "button", 3, "disabled"], [1, "cancel"], ["href", "javascript:void(0)", 3, "click"], ["id", "caseEditForm", 3, "fields", "formGroup", "caseFields", "pageChangeSubject", "valuesChanged"], [1, "grid-row"], [1, "column-two-thirds", "rightBorderSeparator"], ["id", "caseEditForm1", 3, "fields", "formGroup", "caseFields"], [1, "column-one-third"], ["id", "caseEditForm2", 3, "fields", "formGroup", "caseFields"], [3, "eventCompletionParams", "eventCanBeCompleted"]], template: function CaseEditPageComponent_Template(rf, ctx) {
11484
11532
  if (rf & 1) {
11485
11533
  i0__namespace.ɵɵtemplate(0, CaseEditPageComponent_ng_container_0_Template, 3, 2, "ng-container", 0);
@@ -11522,7 +11570,7 @@
11522
11570
  templateUrl: 'case-edit-page.html',
11523
11571
  styleUrls: ['./case-edit-page.scss']
11524
11572
  }]
11525
- }], function () { return [{ type: CaseEditComponent }, { type: i1__namespace$1.ActivatedRoute }, { type: FormValueService }, { type: FormErrorService }, { type: i0__namespace.ChangeDetectorRef }, { type: PageValidationService }, { type: i1__namespace$3.MatDialog }, { type: CaseFieldService }, { type: CaseEditDataService }, { type: LoadingService }]; }, null);
11573
+ }], function () { return [{ type: CaseEditComponent }, { type: i1__namespace$1.ActivatedRoute }, { type: FormValueService }, { type: FormErrorService }, { type: i0__namespace.ChangeDetectorRef }, { type: PageValidationService }, { type: i1__namespace$3.MatDialog }, { type: CaseFieldService }, { type: CaseEditDataService }, { type: LoadingService }, { type: ValidPageListCaseFieldsService }]; }, null);
11526
11574
  })();
11527
11575
 
11528
11576
  var CallbackErrorsContext = /** @class */ (function () {
@@ -28614,7 +28662,8 @@
28614
28662
  JudicialworkerService,
28615
28663
  CaseworkerService,
28616
28664
  SessionStorageService,
28617
- EventCompletionStateMachineService
28665
+ EventCompletionStateMachineService,
28666
+ ValidPageListCaseFieldsService
28618
28667
  ], imports: [[
28619
28668
  i2.CommonModule,
28620
28669
  i1$1.RouterModule,
@@ -28730,7 +28779,8 @@
28730
28779
  JudicialworkerService,
28731
28780
  CaseworkerService,
28732
28781
  SessionStorageService,
28733
- EventCompletionStateMachineService
28782
+ EventCompletionStateMachineService,
28783
+ ValidPageListCaseFieldsService
28734
28784
  ]
28735
28785
  }]
28736
28786
  }], null, null);
@@ -30968,13 +31018,14 @@
30968
31018
  i0__namespace.ɵɵsetComponentScope(CaseTimelineComponent, [i2__namespace.NgIf, i2__namespace.NgSwitch, i2__namespace.NgSwitchCase, EventLogComponent, CaseHistoryComponent], [i1__namespace.RpxTranslatePipe]);
30969
31019
 
30970
31020
  var CaseResolver = /** @class */ (function () {
30971
- function CaseResolver(caseNotifier, draftService, navigationNotifierService, router, sessionStorage) {
31021
+ function CaseResolver(caseNotifier, draftService, navigationNotifierService, router, sessionStorage, appConfig) {
30972
31022
  var _this = this;
30973
31023
  this.caseNotifier = caseNotifier;
30974
31024
  this.draftService = draftService;
30975
31025
  this.navigationNotifierService = navigationNotifierService;
30976
31026
  this.router = router;
30977
31027
  this.sessionStorage = sessionStorage;
31028
+ this.appConfig = appConfig;
30978
31029
  router.events.pipe(operators.filter(function (event) { return event instanceof i1$1.NavigationEnd; }))
30979
31030
  .subscribe(function (event) {
30980
31031
  _this.previousUrl = event.url;
@@ -31047,8 +31098,8 @@
31047
31098
  this.router.navigate(['/list/case']);
31048
31099
  return rxjs.of(null);
31049
31100
  }
31050
- // Error 403, navigate to restricted case access page
31051
- if (error.status === 403) {
31101
+ // Error 403 and enable-restricted-case-access Launch Darkly flag is enabled, navigate to restricted case access page
31102
+ if (error.status === 403 && this.appConfig.getEnableRestrictedCaseAccessConfig()) {
31052
31103
  this.router.navigate(["/cases/restricted-case-access/" + caseReference]);
31053
31104
  return rxjs.of(null);
31054
31105
  }
@@ -31079,12 +31130,12 @@
31079
31130
  CaseResolver.CASE_CREATED_MSG = 'The case has been created successfully';
31080
31131
  CaseResolver.defaultWAPage = '/work/my-work/list';
31081
31132
  CaseResolver.defaultPage = '/cases';
31082
- CaseResolver.ɵfac = function CaseResolver_Factory(t) { return new (t || CaseResolver)(i0__namespace.ɵɵinject(CaseNotifier), i0__namespace.ɵɵinject(DraftService), i0__namespace.ɵɵinject(NavigationNotifierService), i0__namespace.ɵɵinject(i1__namespace$1.Router), i0__namespace.ɵɵinject(SessionStorageService)); };
31133
+ CaseResolver.ɵfac = function CaseResolver_Factory(t) { return new (t || CaseResolver)(i0__namespace.ɵɵinject(CaseNotifier), i0__namespace.ɵɵinject(DraftService), i0__namespace.ɵɵinject(NavigationNotifierService), i0__namespace.ɵɵinject(i1__namespace$1.Router), i0__namespace.ɵɵinject(SessionStorageService), i0__namespace.ɵɵinject(AbstractAppConfig)); };
31083
31134
  CaseResolver.ɵprov = i0__namespace.ɵɵdefineInjectable({ token: CaseResolver, factory: CaseResolver.ɵfac });
31084
31135
  (function () {
31085
31136
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CaseResolver, [{
31086
31137
  type: i0.Injectable
31087
- }], function () { return [{ type: CaseNotifier }, { type: DraftService }, { type: NavigationNotifierService }, { type: i1__namespace$1.Router }, { type: SessionStorageService }]; }, null);
31138
+ }], function () { return [{ type: CaseNotifier }, { type: DraftService }, { type: NavigationNotifierService }, { type: i1__namespace$1.Router }, { type: SessionStorageService }, { type: AbstractAppConfig }]; }, null);
31088
31139
  })();
31089
31140
 
31090
31141
  var EventTriggerResolver = /** @class */ (function () {