@hmcts/ccd-case-ui-toolkit 5.0.38-case-flags-table-alignment → 5.0.41-case-link-integration-fixes

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 (44) hide show
  1. package/bundles/hmcts-ccd-case-ui-toolkit.umd.js +116 -29
  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/shared/commons/case-edit-data/case-edit-data.module.js +19 -0
  6. package/esm2015/lib/shared/commons/case-edit-data/case-edit-data.service.js +34 -0
  7. package/esm2015/lib/shared/commons/case-edit-data/case-edit-validation.model.js +2 -0
  8. package/esm2015/lib/shared/commons/case-edit-data/index.js +4 -0
  9. package/esm2015/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.js +23 -11
  10. package/esm2015/lib/shared/components/case-editor/case-editor.module.js +7 -1
  11. package/esm2015/lib/shared/components/palette/case-flag/components/manage-case-flags/manage-case-flags.component.js +1 -1
  12. package/esm2015/lib/shared/components/palette/case-link/components/link-cases/link-cases.component.js +2 -2
  13. package/esm2015/lib/shared/components/palette/case-link/components/write-linked-cases.component.js +20 -15
  14. package/esm2015/lib/shared/components/palette/case-link/write-case-link-field.component.js +4 -7
  15. package/esm2015/lib/shared/components/palette/palette.module.js +5 -1
  16. package/esm2015/lib/shared/components/palette/utils/is-compound.pipe.js +10 -1
  17. package/esm2015/lib/shared/index.js +2 -1
  18. package/fesm2015/hmcts-ccd-case-ui-toolkit.js +108 -30
  19. package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
  20. package/lib/shared/commons/case-edit-data/case-edit-data.module.d.ts +9 -0
  21. package/lib/shared/commons/case-edit-data/case-edit-data.module.d.ts.map +1 -0
  22. package/lib/shared/commons/case-edit-data/case-edit-data.service.d.ts +20 -0
  23. package/lib/shared/commons/case-edit-data/case-edit-data.service.d.ts.map +1 -0
  24. package/lib/shared/commons/case-edit-data/case-edit-validation.model.d.ts +5 -0
  25. package/lib/shared/commons/case-edit-data/case-edit-validation.model.d.ts.map +1 -0
  26. package/lib/shared/commons/case-edit-data/index.d.ts +4 -0
  27. package/lib/shared/commons/case-edit-data/index.d.ts.map +1 -0
  28. package/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.d.ts +4 -1
  29. package/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.d.ts.map +1 -1
  30. package/lib/shared/components/case-editor/case-editor.module.d.ts +10 -9
  31. package/lib/shared/components/case-editor/case-editor.module.d.ts.map +1 -1
  32. package/lib/shared/components/palette/case-flag/components/manage-case-flags/manage-case-flags.component.d.ts +1 -1
  33. package/lib/shared/components/palette/case-flag/components/manage-case-flags/manage-case-flags.component.d.ts.map +1 -1
  34. package/lib/shared/components/palette/case-link/components/write-linked-cases.component.d.ts +4 -4
  35. package/lib/shared/components/palette/case-link/components/write-linked-cases.component.d.ts.map +1 -1
  36. package/lib/shared/components/palette/case-link/write-case-link-field.component.d.ts +1 -3
  37. package/lib/shared/components/palette/case-link/write-case-link-field.component.d.ts.map +1 -1
  38. package/lib/shared/components/palette/palette.module.d.ts +24 -23
  39. package/lib/shared/components/palette/palette.module.d.ts.map +1 -1
  40. package/lib/shared/components/palette/utils/is-compound.pipe.d.ts +1 -0
  41. package/lib/shared/components/palette/utils/is-compound.pipe.d.ts.map +1 -1
  42. package/lib/shared/index.d.ts +1 -0
  43. package/lib/shared/index.d.ts.map +1 -1
  44. package/package.json +1 -1
@@ -2592,6 +2592,14 @@ class IsCompoundPipe {
2592
2592
  if (!field || !field.field_type || !field.field_type.type) {
2593
2593
  return false;
2594
2594
  }
2595
+ // Case link tab spacing alignment fix
2596
+ // This Pipe needs to be re-visited
2597
+ // to make it more generic to support and fix alignments issues for multiple tabs
2598
+ if (field.field_type.collection_field_type &&
2599
+ field.field_type.collection_field_type.id &&
2600
+ field.field_type.collection_field_type.id === IsCompoundPipe.CASE_LINK_FIELD_TYPE) {
2601
+ return true;
2602
+ }
2595
2603
  if (IsCompoundPipe.COMPOUND_TYPES.indexOf(field.field_type.type) !== -1) {
2596
2604
  if (IsCompoundPipe.EXCLUDE.indexOf(field.field_type.id) !== -1) {
2597
2605
  return false;
@@ -2601,6 +2609,7 @@ class IsCompoundPipe {
2601
2609
  return false;
2602
2610
  }
2603
2611
  }
2612
+ IsCompoundPipe.CASE_LINK_FIELD_TYPE = 'CaseLink';
2604
2613
  IsCompoundPipe.COMPOUND_TYPES = [
2605
2614
  'Complex',
2606
2615
  'Label',
@@ -8386,6 +8395,55 @@ CaseEditFormComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseEditFormCompone
8386
8395
  type: Output
8387
8396
  }] }); })();
8388
8397
 
8398
+ class CaseEditDataService {
8399
+ constructor() {
8400
+ this.title$ = new BehaviorSubject(null);
8401
+ this.formValidationErrors$ = new BehaviorSubject([]);
8402
+ this.linkError$ = new BehaviorSubject(null);
8403
+ this.eventTriggerName$ = new BehaviorSubject(null);
8404
+ this.caseFormValidationErrors$ = this.formValidationErrors$.asObservable();
8405
+ this.caseLinkError$ = this.linkError$.asObservable();
8406
+ this.caseEventTriggerName$ = this.eventTriggerName$.asObservable();
8407
+ }
8408
+ setCaseTitle(caseTitle) {
8409
+ this.title$.next(caseTitle);
8410
+ }
8411
+ setCaseEventTriggerName(triggerName) {
8412
+ this.eventTriggerName$.next(triggerName);
8413
+ }
8414
+ setCaseLinkError(error) {
8415
+ this.linkError$.next(error);
8416
+ }
8417
+ setFormValidationErrors(validationErrors) {
8418
+ this.formValidationErrors$.next(validationErrors);
8419
+ }
8420
+ clearFormValidationErrors() {
8421
+ this.formValidationErrors$.next([]);
8422
+ }
8423
+ clearCaseLinkError() {
8424
+ this.linkError$.next(null);
8425
+ }
8426
+ addFormValidationError(validationError) {
8427
+ this.formValidationErrors$.next(this.formValidationErrors$.getValue().concat([validationError]));
8428
+ }
8429
+ }
8430
+
8431
+ class CaseEditDataModule {
8432
+ static forRoot() {
8433
+ return {
8434
+ ngModule: CaseEditDataModule,
8435
+ providers: [CaseEditDataService],
8436
+ };
8437
+ }
8438
+ }
8439
+ CaseEditDataModule.ɵfac = function CaseEditDataModule_Factory(t) { return new (t || CaseEditDataModule)(); };
8440
+ CaseEditDataModule.ɵmod = i0.ɵɵdefineNgModule({ type: CaseEditDataModule });
8441
+ CaseEditDataModule.ɵinj = i0.ɵɵdefineInjector({});
8442
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseEditDataModule, [{
8443
+ type: NgModule,
8444
+ args: [{}]
8445
+ }], null, null); })();
8446
+
8389
8447
  class SaveOrDiscardDialogComponent {
8390
8448
  constructor(matDialogRef) {
8391
8449
  this.matDialogRef = matDialogRef;
@@ -8674,7 +8732,7 @@ function CaseEditPageComponent_form_12_Template(rf, ctx) { if (rf & 1) {
8674
8732
  i0.ɵɵtextInterpolate(ctx_r10.getCancelText());
8675
8733
  } }
8676
8734
  class CaseEditPageComponent {
8677
- constructor(caseEdit, route, formValueService, formErrorService, cdRef, pageValidationService, dialog, caseFieldService) {
8735
+ constructor(caseEdit, route, formValueService, formErrorService, cdRef, pageValidationService, dialog, caseFieldService, caseEditDataService) {
8678
8736
  this.caseEdit = caseEdit;
8679
8737
  this.route = route;
8680
8738
  this.formValueService = formValueService;
@@ -8683,6 +8741,7 @@ class CaseEditPageComponent {
8683
8741
  this.pageValidationService = pageValidationService;
8684
8742
  this.dialog = dialog;
8685
8743
  this.caseFieldService = caseFieldService;
8744
+ this.caseEditDataService = caseEditDataService;
8686
8745
  this.callbackErrorsSubject = new Subject();
8687
8746
  this.ignoreWarning = false;
8688
8747
  this.triggerTextStart = CaseEditPageComponent.TRIGGER_TEXT_START;
@@ -8709,6 +8768,7 @@ class CaseEditPageComponent {
8709
8768
  this.wizard = this.caseEdit.wizard;
8710
8769
  this.caseFields = this.getCaseFields();
8711
8770
  this.triggerText = this.getTriggerText();
8771
+ this.syncCaseEditDataService();
8712
8772
  this.route.params
8713
8773
  .subscribe(params => {
8714
8774
  const pageId = params['page'];
@@ -8748,7 +8808,7 @@ class CaseEditPageComponent {
8748
8808
  * EUI-3732 - Breathing space data not persisted on Previous button click with ExpUI Demo
8749
8809
  */
8750
8810
  toPreviousPage() {
8751
- this.validationErrors = [];
8811
+ this.caseEditDataService.clearFormValidationErrors();
8752
8812
  const caseEventData = this.buildCaseEventData(true);
8753
8813
  caseEventData.data = caseEventData.event_data;
8754
8814
  this.updateFormData(caseEventData);
@@ -8774,19 +8834,19 @@ class CaseEditPageComponent {
8774
8834
  }
8775
8835
  }
8776
8836
  if (fieldElement.hasError('required')) {
8777
- this.validationErrors.push({ id, message: `${label} is required` });
8837
+ this.caseEditDataService.addFormValidationError({ id, message: `${label} is required` });
8778
8838
  fieldElement.markAsDirty();
8779
8839
  }
8780
8840
  else if (fieldElement.hasError('pattern')) {
8781
- this.validationErrors.push({ id, message: `${label} is not valid` });
8841
+ this.caseEditDataService.addFormValidationError({ id, message: `${label} is not valid` });
8782
8842
  fieldElement.markAsDirty();
8783
8843
  }
8784
8844
  else if (fieldElement.hasError('minlength')) {
8785
- this.validationErrors.push({ id, message: `${label} is below the minimum length` });
8845
+ this.caseEditDataService.addFormValidationError({ id, message: `${label} is below the minimum length` });
8786
8846
  fieldElement.markAsDirty();
8787
8847
  }
8788
8848
  else if (fieldElement.hasError('maxlength')) {
8789
- this.validationErrors.push({ id, message: `${label} exceeds the maximum length` });
8849
+ this.caseEditDataService.addFormValidationError({ id, message: `${label} exceeds the maximum length` });
8790
8850
  fieldElement.markAsDirty();
8791
8851
  }
8792
8852
  else if (this.caseLinkError && FieldsUtils.isLinkedCasesCaseField(casefield)) {
@@ -8798,7 +8858,8 @@ class CaseEditPageComponent {
8798
8858
  }
8799
8859
  else if (casefield.isCollection() && casefield.field_type.collection_field_type.type === 'Complex') {
8800
8860
  if (this.caseLinkError && FieldsUtils.isLinkedCasesCaseField(casefield)) {
8801
- this.validationErrors.push({ id: this.caseLinkError.componentId, message: this.caseLinkError.errorMessage });
8861
+ this.caseEditDataService.addFormValidationError({ id: this.caseLinkError.componentId, message: this.caseLinkError.errorMessage });
8862
+ // this.validationErrors.push({ id: this.caseLinkError.componentId, message: this.caseLinkError.errorMessage });
8802
8863
  }
8803
8864
  else {
8804
8865
  const fieldArray = fieldElement;
@@ -8844,7 +8905,7 @@ class CaseEditPageComponent {
8844
8905
  }
8845
8906
  }
8846
8907
  submit() {
8847
- this.validationErrors = [];
8908
+ this.caseEditDataService.clearFormValidationErrors();
8848
8909
  if (this.currentPageIsNotValid()) {
8849
8910
  this.generateErrorMessage(this.currentPage.case_fields);
8850
8911
  }
@@ -9054,6 +9115,13 @@ class CaseEditPageComponent {
9054
9115
  this.formValueService.removeUnnecessaryFields(caseEventData.data, caseFields, clearEmpty, clearNonCase, fromPreviousPage, this.currentPage.case_fields);
9055
9116
  return caseEventData;
9056
9117
  }
9118
+ syncCaseEditDataService() {
9119
+ this.caseEditDataService.setCaseEventTriggerName(this.eventTrigger.name);
9120
+ this.caseEditDataService.setCaseLinkError(this.caseLinkError);
9121
+ this.caseEditDataService.caseFormValidationErrors$.subscribe({
9122
+ next: (validationErrors) => this.validationErrors = validationErrors
9123
+ });
9124
+ }
9057
9125
  }
9058
9126
  CaseEditPageComponent.RESUMED_FORM_DISCARD = 'RESUMED_FORM_DISCARD';
9059
9127
  CaseEditPageComponent.NEW_FORM_DISCARD = 'NEW_FORM_DISCARD';
@@ -9062,7 +9130,7 @@ CaseEditPageComponent.RESUMED_FORM_SAVE = 'RESUMED_FORM_SAVE';
9062
9130
  CaseEditPageComponent.TRIGGER_TEXT_START = 'Continue';
9063
9131
  CaseEditPageComponent.TRIGGER_TEXT_SAVE = 'Save and continue';
9064
9132
  CaseEditPageComponent.TRIGGER_TEXT_CONTINUE = 'Ignore Warning and Continue';
9065
- CaseEditPageComponent.ɵfac = function CaseEditPageComponent_Factory(t) { return new (t || CaseEditPageComponent)(i0.ɵɵdirectiveInject(CaseEditComponent), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(FormValueService), i0.ɵɵdirectiveInject(FormErrorService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(PageValidationService), i0.ɵɵdirectiveInject(i1$3.MatDialog), i0.ɵɵdirectiveInject(CaseFieldService)); };
9133
+ CaseEditPageComponent.ɵfac = function CaseEditPageComponent_Factory(t) { return new (t || CaseEditPageComponent)(i0.ɵɵdirectiveInject(CaseEditComponent), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(FormValueService), i0.ɵɵdirectiveInject(FormErrorService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(PageValidationService), i0.ɵɵdirectiveInject(i1$3.MatDialog), i0.ɵɵdirectiveInject(CaseFieldService), i0.ɵɵdirectiveInject(CaseEditDataService)); };
9066
9134
  CaseEditPageComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseEditPageComponent, selectors: [["ccd-case-edit-page"]], decls: 13, vars: 12, 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"], ["class", "error-summary", "role", "status", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 4, "ngIf"], [3, "triggerTextContinue", "triggerTextIgnore", "callbackErrorsSubject", "callbackErrorsContext"], [1, "width-50"], ["class", "form", 3, "formGroup", "submit", 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"], ["role", "status", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 1, "error-summary"], ["id", "edit-case-event_error-summary-heading", 1, "heading-h1", "error-summary-heading"], ["id", "edit-case-event_error-summary-body", 1, "govuk-error-summary__body"], ["href", "get-help", "target", "_blank"], ["id", "edit-case-event_error-summary-heading-3", 1, "heading-h3", "error-summary-heading"], ["class", "error-summary-list", 4, "ngIf"], [1, "error-summary-list"], ["class", "ccd-error-summary-li", 4, "ngFor", "ngForOf"], [1, "ccd-error-summary-li"], [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"]], template: function CaseEditPageComponent_Template(rf, ctx) { if (rf & 1) {
9067
9135
  i0.ɵɵtemplate(0, CaseEditPageComponent_ccd_loading_spinner_0_Template, 1, 0, "ccd-loading-spinner", 0);
9068
9136
  i0.ɵɵtemplate(1, CaseEditPageComponent_ng_container_1_Template, 3, 2, "ng-container", 0);
@@ -9104,7 +9172,7 @@ CaseEditPageComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseEditPageCompone
9104
9172
  templateUrl: 'case-edit-page.html',
9105
9173
  styleUrls: ['./case-edit-page.scss']
9106
9174
  }]
9107
- }], function () { return [{ type: CaseEditComponent }, { type: i1$1.ActivatedRoute }, { type: FormValueService }, { type: FormErrorService }, { type: i0.ChangeDetectorRef }, { type: PageValidationService }, { type: i1$3.MatDialog }, { type: CaseFieldService }]; }, null); })();
9175
+ }], function () { return [{ type: CaseEditComponent }, { type: i1$1.ActivatedRoute }, { type: FormValueService }, { type: FormErrorService }, { type: i0.ChangeDetectorRef }, { type: PageValidationService }, { type: i1$3.MatDialog }, { type: CaseFieldService }, { type: CaseEditDataService }]; }, null); })();
9108
9176
 
9109
9177
  class CallbackErrorsContext {
9110
9178
  }
@@ -11439,7 +11507,7 @@ function WriteCaseLinkFieldComponent_div_2_Template(rf, ctx) { if (rf & 1) {
11439
11507
  } if (rf & 2) {
11440
11508
  const ctx_r1 = i0.ɵɵnextContext();
11441
11509
  i0.ɵɵadvance(1);
11442
- i0.ɵɵproperty("caseFields", ctx_r1.caseFields)("caseField", ctx_r1.caseField)("formGroup", ctx_r1.formGroup)("caseEditPageComponent", ctx_r1.caseEditPageComponent)("isLinkedCasesJourney", ctx_r1.linkedCasesService.isLinkedCasesEventTrigger);
11510
+ i0.ɵɵproperty("caseFields", ctx_r1.caseFields)("caseField", ctx_r1.caseField)("formGroup", ctx_r1.formGroup)("isLinkedCasesJourney", ctx_r1.linkedCasesService.isLinkedCasesEventTrigger);
11443
11511
  } }
11444
11512
  class WriteCaseLinkFieldComponent extends AbstractFieldWriteComponent {
11445
11513
  constructor(linkedCasesService) {
@@ -11493,10 +11561,10 @@ WriteCaseLinkFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteCaseLink
11493
11561
  } if (rf & 2) {
11494
11562
  let _t;
11495
11563
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.writeComplexFieldComponent = _t.first);
11496
- } }, inputs: { caseFields: "caseFields", formGroup: "formGroup", caseEditPageComponent: "caseEditPageComponent" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 2, consts: [["class", "form-group", 4, "ngIf"], [1, "form-group"], [3, "for"], ["class", "form-label", 4, "ngIf"], ["class", "form-hint", 4, "ngIf"], ["type", "text", 1, "form-control", "bottom-30", 3, "id", "formControl"], [1, "form-label"], [1, "form-hint"], [3, "caseFields", "caseField", "formGroup", "caseEditPageComponent", "isLinkedCasesJourney", "onLinkedCasesSelected"]], template: function WriteCaseLinkFieldComponent_Template(rf, ctx) { if (rf & 1) {
11564
+ } }, inputs: { caseFields: "caseFields", formGroup: "formGroup" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 2, consts: [["class", "form-group", 4, "ngIf"], [1, "form-group"], [3, "for"], ["class", "form-label", 4, "ngIf"], ["class", "form-hint", 4, "ngIf"], ["type", "text", 1, "form-control", "bottom-30", 3, "id", "formControl"], [1, "form-label"], [1, "form-hint"], [3, "caseFields", "caseField", "formGroup", "isLinkedCasesJourney", "onLinkedCasesSelected"]], template: function WriteCaseLinkFieldComponent_Template(rf, ctx) { if (rf & 1) {
11497
11565
  i0.ɵɵelementContainerStart(0);
11498
11566
  i0.ɵɵtemplate(1, WriteCaseLinkFieldComponent_div_1_Template, 5, 5, "div", 0);
11499
- i0.ɵɵtemplate(2, WriteCaseLinkFieldComponent_div_2_Template, 2, 5, "div", 0);
11567
+ i0.ɵɵtemplate(2, WriteCaseLinkFieldComponent_div_2_Template, 2, 4, "div", 0);
11500
11568
  i0.ɵɵelementContainerEnd();
11501
11569
  } if (rf & 2) {
11502
11570
  i0.ɵɵadvance(1);
@@ -11514,8 +11582,6 @@ WriteCaseLinkFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteCaseLink
11514
11582
  type: Input
11515
11583
  }], formGroup: [{
11516
11584
  type: Input
11517
- }], caseEditPageComponent: [{
11518
- type: Input
11519
11585
  }], writeComplexFieldComponent: [{
11520
11586
  type: ViewChild,
11521
11587
  args: ['writeComplexFieldComponent', /* TODO: add static flag */ {}]
@@ -18369,10 +18435,10 @@ class LinkCasesComponent {
18369
18435
  this.ISO_FORMAT = 'YYYY-MM-DDTHH:mm:ss.SSS';
18370
18436
  }
18371
18437
  ngOnInit() {
18372
- this.initForm();
18373
18438
  this.caseId = this.linkedCasesService.caseId;
18374
18439
  this.caseName = this.linkedCasesService.caseName;
18375
18440
  this.linkCaseReasons = this.linkedCasesService.linkCaseReasons;
18441
+ this.initForm();
18376
18442
  if (this.linkedCasesService.editMode) {
18377
18443
  // this may have includes the currently added one but yet to be submitted.
18378
18444
  this.selectedCases = this.linkedCasesService.linkedCases;
@@ -19483,13 +19549,14 @@ function WriteLinkedCasesComponent_ng_container_7_Template(rf, ctx) { if (rf & 1
19483
19549
  i0.ɵɵelementContainerEnd();
19484
19550
  } }
19485
19551
  class WriteLinkedCasesComponent extends AbstractFieldWriteComponent {
19486
- constructor(caseEdit, appConfig, commonDataService, casesService, linkedCasesService) {
19552
+ constructor(caseEdit, appConfig, commonDataService, casesService, linkedCasesService, caseEditDataService) {
19487
19553
  super();
19488
19554
  this.caseEdit = caseEdit;
19489
19555
  this.appConfig = appConfig;
19490
19556
  this.commonDataService = commonDataService;
19491
19557
  this.casesService = casesService;
19492
19558
  this.linkedCasesService = linkedCasesService;
19559
+ this.caseEditDataService = caseEditDataService;
19493
19560
  this.onLinkedCasesSelected = new EventEmitter();
19494
19561
  this.isLinkedCasesJourney = false;
19495
19562
  this.linkedCasesPages = LinkedCasesPages;
@@ -19498,6 +19565,7 @@ class WriteLinkedCasesComponent extends AbstractFieldWriteComponent {
19498
19565
  this.errorMessages = [];
19499
19566
  }
19500
19567
  ngOnInit() {
19568
+ this.caseEditDataService.clearFormValidationErrors();
19501
19569
  this.linkedCasesService.caseId = this.caseEdit.caseDetails.case_id;
19502
19570
  this.linkedCasesService.caseName = this.linkedCasesService.getCaseName(this.caseEdit.caseDetails);
19503
19571
  this.linkedCasesService.caseDetails = this.caseEdit.caseDetails;
@@ -19509,8 +19577,12 @@ class WriteLinkedCasesComponent extends AbstractFieldWriteComponent {
19509
19577
  }
19510
19578
  });
19511
19579
  this.getLinkedCases();
19512
- this.linkedCasesService.isLinkedCasesEventTrigger =
19513
- this.caseEditPageComponent.eventTrigger.name === LinkedCasesEventTriggers.LINK_CASES;
19580
+ this.caseEditDataService.caseEventTriggerName$.subscribe({
19581
+ next: name => {
19582
+ this.linkedCasesService.isLinkedCasesEventTrigger
19583
+ = (name === LinkedCasesEventTriggers.LINK_CASES);
19584
+ }
19585
+ });
19514
19586
  }
19515
19587
  ngAfterViewInit() {
19516
19588
  let labelField = document.getElementsByClassName('govuk-heading-l');
@@ -19524,7 +19596,7 @@ class WriteLinkedCasesComponent extends AbstractFieldWriteComponent {
19524
19596
  }
19525
19597
  onLinkedCasesStateEmitted(linkedCasesState) {
19526
19598
  this.errorMessages = [];
19527
- this.caseEditPageComponent.validationErrors = [];
19599
+ this.caseEditDataService.clearFormValidationErrors();
19528
19600
  if (linkedCasesState.navigateToNextPage) {
19529
19601
  this.linkedCasesPage = this.getNextPage(linkedCasesState);
19530
19602
  this.setContinueButtonValidationErrorMessage();
@@ -19533,7 +19605,7 @@ class WriteLinkedCasesComponent extends AbstractFieldWriteComponent {
19533
19605
  else {
19534
19606
  if (linkedCasesState.errorMessages && linkedCasesState.errorMessages.length) {
19535
19607
  linkedCasesState.errorMessages.forEach((errorMessage, index) => {
19536
- this.caseEditPageComponent.validationErrors.push({ id: errorMessage.fieldId, message: errorMessage.description });
19608
+ this.caseEditDataService.addFormValidationError({ id: errorMessage.fieldId, message: errorMessage.description });
19537
19609
  });
19538
19610
  }
19539
19611
  }
@@ -19548,15 +19620,15 @@ class WriteLinkedCasesComponent extends AbstractFieldWriteComponent {
19548
19620
  const buttonId = this.linkedCasesService.linkedCases.length === 0
19549
19621
  ? 'back-button'
19550
19622
  : 'next-button';
19551
- this.caseEditPageComponent.caseLinkError = {
19623
+ this.caseEditDataService.setCaseLinkError({
19552
19624
  componentId: buttonId,
19553
19625
  errorMessage
19554
- };
19626
+ });
19555
19627
  }
19556
19628
  proceedToNextPage() {
19557
19629
  if (this.isAtFinalPage()) {
19558
19630
  // Continue button event must be allowed in final page
19559
- this.caseEditPageComponent.caseLinkError = null;
19631
+ this.caseEditDataService.clearCaseLinkError();
19560
19632
  // Trigger validation to clear the "notAtFinalPage" error if now at the final state
19561
19633
  this.formGroup.updateValueAndValidity();
19562
19634
  // update form value
@@ -19607,8 +19679,8 @@ class WriteLinkedCasesComponent extends AbstractFieldWriteComponent {
19607
19679
  }
19608
19680
  }
19609
19681
  }
19610
- WriteLinkedCasesComponent.ɵfac = function WriteLinkedCasesComponent_Factory(t) { return new (t || WriteLinkedCasesComponent)(i0.ɵɵdirectiveInject(CaseEditComponent), i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(CommonDataService), i0.ɵɵdirectiveInject(CasesService), i0.ɵɵdirectiveInject(LinkedCasesService)); };
19611
- WriteLinkedCasesComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteLinkedCasesComponent, selectors: [["ccd-write-linked-cases"]], inputs: { caseFields: "caseFields", caseField: "caseField", caseEditPageComponent: "caseEditPageComponent", isLinkedCasesJourney: "isLinkedCasesJourney", formGroup: "formGroup" }, outputs: { onLinkedCasesSelected: "onLinkedCasesSelected" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 8, vars: 8, consts: [["class", "govuk-error-summary", "aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "govuk-error-summary", 4, "ngIf"], [1, "form-group", "govuk-!-margin-bottom-2", 3, "formGroup"], [1, "govuk-form-group", 3, "ngSwitch"], [4, "ngSwitchCase"], ["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"], [3, "linkedCasesStateEmitter"]], template: function WriteLinkedCasesComponent_Template(rf, ctx) { if (rf & 1) {
19682
+ WriteLinkedCasesComponent.ɵfac = function WriteLinkedCasesComponent_Factory(t) { return new (t || WriteLinkedCasesComponent)(i0.ɵɵdirectiveInject(CaseEditComponent), i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(CommonDataService), i0.ɵɵdirectiveInject(CasesService), i0.ɵɵdirectiveInject(LinkedCasesService), i0.ɵɵdirectiveInject(CaseEditDataService)); };
19683
+ WriteLinkedCasesComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteLinkedCasesComponent, selectors: [["ccd-write-linked-cases"]], inputs: { caseFields: "caseFields", caseField: "caseField", isLinkedCasesJourney: "isLinkedCasesJourney", formGroup: "formGroup" }, outputs: { onLinkedCasesSelected: "onLinkedCasesSelected" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 8, vars: 8, consts: [["class", "govuk-error-summary", "aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "govuk-error-summary", 4, "ngIf"], [1, "form-group", "govuk-!-margin-bottom-2", 3, "formGroup"], [1, "govuk-form-group", 3, "ngSwitch"], [4, "ngSwitchCase"], ["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"], [3, "linkedCasesStateEmitter"]], template: function WriteLinkedCasesComponent_Template(rf, ctx) { if (rf & 1) {
19612
19684
  i0.ɵɵtemplate(0, WriteLinkedCasesComponent_div_0_Template, 4, 1, "div", 0);
19613
19685
  i0.ɵɵelementStart(1, "div", 1);
19614
19686
  i0.ɵɵelementStart(2, "div", 2);
@@ -19642,12 +19714,10 @@ WriteLinkedCasesComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteLinkedCase
19642
19714
  selector: 'ccd-write-linked-cases',
19643
19715
  templateUrl: './write-linked-cases.component.html'
19644
19716
  }]
19645
- }], function () { return [{ type: CaseEditComponent }, { type: AbstractAppConfig }, { type: CommonDataService }, { type: CasesService }, { type: LinkedCasesService }]; }, { caseFields: [{
19717
+ }], function () { return [{ type: CaseEditComponent }, { type: AbstractAppConfig }, { type: CommonDataService }, { type: CasesService }, { type: LinkedCasesService }, { type: CaseEditDataService }]; }, { caseFields: [{
19646
19718
  type: Input
19647
19719
  }], caseField: [{
19648
19720
  type: Input
19649
- }], caseEditPageComponent: [{
19650
- type: Input
19651
19721
  }], onLinkedCasesSelected: [{
19652
19722
  type: Output
19653
19723
  }], isLinkedCasesJourney: [{
@@ -21679,6 +21749,7 @@ PaletteModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
21679
21749
  RouterModule,
21680
21750
  FormsModule,
21681
21751
  ReactiveFormsModule,
21752
+ CaseEditDataModule,
21682
21753
  PaletteUtilsModule,
21683
21754
  PipesModule,
21684
21755
  BannersModule,
@@ -21812,6 +21883,7 @@ PaletteModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
21812
21883
  RouterModule,
21813
21884
  FormsModule,
21814
21885
  ReactiveFormsModule,
21886
+ CaseEditDataModule,
21815
21887
  PaletteUtilsModule,
21816
21888
  PipesModule,
21817
21889
  BannersModule,
@@ -21934,6 +22006,7 @@ PaletteModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
21934
22006
  RouterModule,
21935
22007
  FormsModule,
21936
22008
  ReactiveFormsModule,
22009
+ CaseEditDataModule,
21937
22010
  PaletteUtilsModule,
21938
22011
  PipesModule,
21939
22012
  BannersModule,
@@ -23264,6 +23337,7 @@ class CaseEditorModule {
23264
23337
  CaseEditorModule.ɵfac = function CaseEditorModule_Factory(t) { return new (t || CaseEditorModule)(); };
23265
23338
  CaseEditorModule.ɵmod = i0.ɵɵdefineNgModule({ type: CaseEditorModule });
23266
23339
  CaseEditorModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
23340
+ CaseEditDataService,
23267
23341
  CaseNotifier,
23268
23342
  FieldsUtils,
23269
23343
  FieldsPurger,
@@ -23295,6 +23369,7 @@ CaseEditorModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
23295
23369
  RouterModule,
23296
23370
  FormsModule,
23297
23371
  ReactiveFormsModule,
23372
+ CaseEditDataModule,
23298
23373
  PaletteModule,
23299
23374
  LabelSubstitutorModule,
23300
23375
  ConditionalShowModule,
@@ -23316,6 +23391,7 @@ CaseEditorModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
23316
23391
  RouterModule,
23317
23392
  FormsModule,
23318
23393
  ReactiveFormsModule,
23394
+ CaseEditDataModule,
23319
23395
  PaletteModule,
23320
23396
  LabelSubstitutorModule,
23321
23397
  ConditionalShowModule,
@@ -23338,6 +23414,7 @@ CaseEditorModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
23338
23414
  RouterModule,
23339
23415
  FormsModule,
23340
23416
  ReactiveFormsModule,
23417
+ CaseEditDataModule,
23341
23418
  PaletteModule,
23342
23419
  LabelSubstitutorModule,
23343
23420
  ConditionalShowModule,
@@ -23369,6 +23446,7 @@ CaseEditorModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
23369
23446
  CallbackErrorsComponent
23370
23447
  ],
23371
23448
  providers: [
23449
+ CaseEditDataService,
23372
23450
  CaseNotifier,
23373
23451
  FieldsUtils,
23374
23452
  FieldsPurger,
@@ -30715,5 +30793,5 @@ class TestRouteSnapshotBuilder {
30715
30793
  * Generated bundle index. Do not edit.
30716
30794
  */
30717
30795
 
30718
- export { AbstractAppConfig, AbstractFieldReadComponent, AbstractFieldWriteComponent, Activity, ActivityBannerComponent, ActivityComponent, ActivityIconComponent, ActivityInfo, ActivityModule, ActivityPollingService, ActivityService, AddCommentsComponent, AddCommentsErrorMessage, AddCommentsStep, AddressModel, AddressOption, AddressesService, Alert, AlertComponent, AlertIconClassPipe, AlertMessageType, AlertModule, AlertService, AuthService, Banner, BannersService, BeforeYouStartComponent, BodyComponent, BrowserService, CCDCaseLinkType, CallbackErrorsComponent, CallbackErrorsContext, CaseAccessUtils, CaseBasicAccessViewComponent, CaseChallengedAccessRequestComponent, CaseChallengedAccessSuccessComponent, CaseCreateComponent, CaseDetails, CaseEditComponent, CaseEditConfirmComponent, CaseEditFormComponent, CaseEditPageComponent, CaseEditSubmitComponent, CaseEditWizardGuard, CaseEditorConfig, CaseEditorModule, CaseEvent, CaseEventData, CaseEventTrigger, CaseEventTriggerComponent, CaseField, CaseFieldService, CaseFileViewFieldComponent, CaseFileViewFieldReadComponent, CaseFileViewFolderComponent, CaseFileViewFolderDocumentActionsComponent, CaseFileViewFolderSelectorComponent, CaseFileViewFolderSortComponent, CaseFileViewOverlayMenuComponent, CaseFileViewService, CaseFlagFieldState, CaseFlagRefdataService, CaseFlagStatus, CaseFlagSummaryListComponent, CaseFlagSummaryListDisplayMode, CaseFlagTableComponent, CaseFlagText, CaseFlagWizardStepTitle, CaseFullAccessViewComponent, CaseHeaderComponent, CaseHeaderModule, CaseHistoryViewerFieldComponent, CaseLink, CaseLinkResponse, CaseListComponent, CaseListFiltersComponent, CaseListFiltersModule, CaseListModule, CaseNotifier, CasePaymentHistoryViewerFieldComponent, CasePrintDocument, CasePrinterComponent, CaseProgressComponent, CaseReferencePipe, CaseResolver, CaseSpecificAccessRequestComponent, CaseSpecificAccessSuccessComponent, CaseState, CaseTab, CaseTimelineComponent, CaseTimelineDisplayMode, CaseTimelineModule, CaseType, CaseTypeLite, CaseView, CaseViewComponent, CaseViewEvent, CaseViewTrigger, CaseViewerComponent, CaseViewerModule, CasesService, CaseworkerService, CcdCYAPageLabelFilterPipe, CcdCaseTitlePipe, CcdCollectionTableCaseFieldsFilterPipe, CcdPageFieldsPipe, CcdTabFieldsPipe, CheckYourAnswersComponent, ConditionalShowFormDirective, ConditionalShowModule, ConditionalShowRegistrarService, Confirmation, ConvertHrefToRouterService, CreateCaseFiltersComponent, CreateCaseFiltersModule, CreateCaseFiltersSelection, DRAFT_PREFIX, DRAFT_QUERY_PARAM, DashPipe, DateInputComponent, DatePipe, DateTimeFormatUtils, DatetimePickerComponent, DefinitionsModule, DefinitionsService, DeleteOrCancelDialogComponent, DialogsModule, DisplayMode, Document, DocumentData, DocumentDialogComponent, DocumentLinks, DocumentManagementService, DocumentUrlPipe, Draft, DraftService, DynamicListPipe, DynamicRadioListPipe, ESQueryType, Embedded, ErrorMessageComponent, ErrorNotifierService, EventCaseField, EventCompletionReturnStates, EventCompletionStateMachineService, EventCompletionStates, EventLogComponent, EventLogDetailsComponent, EventLogTableComponent, EventMessageModule, EventStartComponent, EventStartModule, EventStartStateMachineService, EventStatusService, EventTriggerResolver, EventTriggerService, Fee, FeeValue, Field, FieldLabelPipe, FieldReadComponent, FieldReadLabelComponent, FieldType, FieldTypeSanitiser, FieldWriteComponent, FieldsFilterPipe, FieldsPurger, FieldsUtils, FirstErrorPipe, FixedListItem, FixedListPipe, FixedRadioListPipe, FocusElementDirective, FocusElementModule, FooterComponent, FormDocument, FormErrorService, FormValidatorsService, FormValueService, FormatTranslatorService, GreyBarService, HRef, HasLoadingState, HeaderBarComponent, HeadersModule, HttpError, HttpErrorService, HttpService, IsCompoundPipe, IsMandatoryPipe, IsReadOnlyAndNotCollectionPipe, IsReadOnlyPipe, JudicialworkerService, Jurisdiction, JurisdictionService, LabelFieldComponent, LabelSubstitutorDirective, LabelSubstitutorModule, LinkCaseReason, LinkCasesComponent, LinkCasesReasonValuePipe, LinkDetails, LinkReason, LinkedCasesErrorMessages, LinkedCasesEventTriggers, LinkedCasesFromTableComponent, LinkedCasesPages, LinkedCasesResponse, LinkedCasesToTableComponent, LoadingModule, LoadingService, LoadingSpinnerComponent, LoadingSpinnerModule, MEDIA_VIEWER_LOCALSTORAGE_KEY, MULTIPLE_TASKS_FOUND, ManageCaseFlagsComponent, MarkdownComponent, MoneyGbpInputComponent, MultipleTasksExistComponent, NavigationComponent, NavigationItemComponent, NavigationNotifierService, NavigationOrigin, NoLinkedCasesComponent, NoTasksAvailableComponent, NotificationBannerComponent, NotificationBannerHeaderClass, NotificationBannerType, OrderService, OrderSummary, OrganisationConverter, OrganisationService, PageType, PageValidationService, PaginationComponent, PaginationMetadata, PaginationModule, PaletteContext, PaletteModule, PaletteService, PaletteUtilsModule, Patterns, PaymentField, PhaseComponent, PipesModule, PlaceholderService, PrintUrlPipe, Profile, ProfileNotifier, ProfileService, ReadCaseFlagFieldComponent, ReadCaseLinkFieldComponent, ReadCollectionFieldComponent, ReadComplexFieldCollectionTableComponent, ReadComplexFieldComponent, ReadComplexFieldRawComponent, ReadComplexFieldTableComponent, ReadDateFieldComponent, ReadDocumentFieldComponent, ReadDynamicListFieldComponent, ReadDynamicRadioListFieldComponent, ReadEmailFieldComponent, ReadFieldsFilterPipe, ReadFixedListFieldComponent, ReadFixedRadioListFieldComponent, ReadJudicialUserFieldComponent, ReadLinkedCasesComponent, ReadMoneyGbpFieldComponent, ReadMultiSelectListFieldComponent, ReadNumberFieldComponent, ReadOrderSummaryFieldComponent, ReadOrderSummaryRowComponent, ReadOrganisationFieldComponent, ReadOrganisationFieldRawComponent, ReadOrganisationFieldTableComponent, ReadPhoneUKFieldComponent, ReadTextAreaFieldComponent, ReadTextFieldComponent, ReadYesNoFieldComponent, RefdataCaseFlagType, RemoveDialogComponent, RequestOptionsBuilder, RouterHelperService, SaveOrDiscardDialogComponent, SearchFiltersComponent, SearchFiltersModule, SearchFiltersWrapperComponent, SearchInput, SearchLanguageInterpreterComponent, SearchLanguageInterpreterErrorMessage, SearchLanguageInterpreterStep, SearchResultComponent, SearchResultModule, SearchResultView, SearchResultViewColumn, SearchResultViewItem, SearchResultViewItemComparatorFactory, SearchService, SelectFlagErrorMessage, SelectFlagLocationComponent, SelectFlagLocationErrorMessage, SelectFlagTypeComponent, SelectFlagTypeErrorMessage, SessionStorageService, ShowCondition, SortOrder$1 as SortOrder, SortParameters, SortSearchResultPipe, TabComponent, TableColumnConfig, TableConfig, TabsComponent, TabsModule, TaskAssignedComponent, TaskCancelledComponent, TaskConflictComponent, TaskUnassignedComponent, Terms, TestRouteSnapshotBuilder, UnLinkCasesComponent, UnsupportedFieldComponent, UpdateFlagComponent, UpdateFlagErrorMessage, UpdateFlagStep, WaysToPayFieldComponent, WindowService, Wizard, WizardFactoryService, WizardPage, WizardPageField, WorkAllocationService, WorkbasketFiltersComponent, WorkbasketFiltersModule, WorkbasketInput, WorkbasketInputFilterService, WorkbasketInputModel, WriteAddressFieldComponent, WriteCaseFlagFieldComponent, WriteCaseLinkFieldComponent, WriteCollectionFieldComponent, WriteComplexFieldComponent, WriteDateContainerFieldComponent, WriteDateFieldComponent, WriteDocumentFieldComponent, WriteDynamicListFieldComponent, WriteDynamicRadioListFieldComponent, WriteEmailFieldComponent, WriteFixedListFieldComponent, WriteFixedRadioListFieldComponent, WriteJudicialUserFieldComponent, WriteLinkedCasesComponent, WriteMoneyGbpFieldComponent, WriteMultiSelectListFieldComponent, WriteNumberFieldComponent, WriteOrderSummaryFieldComponent, WriteOrganisationComplexFieldComponent, WriteOrganisationFieldComponent, WritePhoneUKFieldComponent, WriteTextAreaFieldComponent, WriteTextFieldComponent, WriteYesNoFieldComponent, YesNoService, aCaseField, createACL, createCaseEventTrigger, createCaseField, createComplexFieldOverride, createFieldType, createFixedListFieldType, createHiddenComplexFieldOverride, createMultiSelectListFieldType, createWizardPage, createWizardPageField, editorRouting, initDialog, newCaseField, textFieldType, viewerRouting };
30796
+ export { AbstractAppConfig, AbstractFieldReadComponent, AbstractFieldWriteComponent, Activity, ActivityBannerComponent, ActivityComponent, ActivityIconComponent, ActivityInfo, ActivityModule, ActivityPollingService, ActivityService, AddCommentsComponent, AddCommentsErrorMessage, AddCommentsStep, AddressModel, AddressOption, AddressesService, Alert, AlertComponent, AlertIconClassPipe, AlertMessageType, AlertModule, AlertService, AuthService, Banner, BannersService, BeforeYouStartComponent, BodyComponent, BrowserService, CCDCaseLinkType, CallbackErrorsComponent, CallbackErrorsContext, CaseAccessUtils, CaseBasicAccessViewComponent, CaseChallengedAccessRequestComponent, CaseChallengedAccessSuccessComponent, CaseCreateComponent, CaseDetails, CaseEditComponent, CaseEditConfirmComponent, CaseEditDataModule, CaseEditDataService, CaseEditFormComponent, CaseEditPageComponent, CaseEditSubmitComponent, CaseEditWizardGuard, CaseEditorConfig, CaseEditorModule, CaseEvent, CaseEventData, CaseEventTrigger, CaseEventTriggerComponent, CaseField, CaseFieldService, CaseFileViewFieldComponent, CaseFileViewFieldReadComponent, CaseFileViewFolderComponent, CaseFileViewFolderDocumentActionsComponent, CaseFileViewFolderSelectorComponent, CaseFileViewFolderSortComponent, CaseFileViewOverlayMenuComponent, CaseFileViewService, CaseFlagFieldState, CaseFlagRefdataService, CaseFlagStatus, CaseFlagSummaryListComponent, CaseFlagSummaryListDisplayMode, CaseFlagTableComponent, CaseFlagText, CaseFlagWizardStepTitle, CaseFullAccessViewComponent, CaseHeaderComponent, CaseHeaderModule, CaseHistoryViewerFieldComponent, CaseLink, CaseLinkResponse, CaseListComponent, CaseListFiltersComponent, CaseListFiltersModule, CaseListModule, CaseNotifier, CasePaymentHistoryViewerFieldComponent, CasePrintDocument, CasePrinterComponent, CaseProgressComponent, CaseReferencePipe, CaseResolver, CaseSpecificAccessRequestComponent, CaseSpecificAccessSuccessComponent, CaseState, CaseTab, CaseTimelineComponent, CaseTimelineDisplayMode, CaseTimelineModule, CaseType, CaseTypeLite, CaseView, CaseViewComponent, CaseViewEvent, CaseViewTrigger, CaseViewerComponent, CaseViewerModule, CasesService, CaseworkerService, CcdCYAPageLabelFilterPipe, CcdCaseTitlePipe, CcdCollectionTableCaseFieldsFilterPipe, CcdPageFieldsPipe, CcdTabFieldsPipe, CheckYourAnswersComponent, ConditionalShowFormDirective, ConditionalShowModule, ConditionalShowRegistrarService, Confirmation, ConvertHrefToRouterService, CreateCaseFiltersComponent, CreateCaseFiltersModule, CreateCaseFiltersSelection, DRAFT_PREFIX, DRAFT_QUERY_PARAM, DashPipe, DateInputComponent, DatePipe, DateTimeFormatUtils, DatetimePickerComponent, DefinitionsModule, DefinitionsService, DeleteOrCancelDialogComponent, DialogsModule, DisplayMode, Document, DocumentData, DocumentDialogComponent, DocumentLinks, DocumentManagementService, DocumentUrlPipe, Draft, DraftService, DynamicListPipe, DynamicRadioListPipe, ESQueryType, Embedded, ErrorMessageComponent, ErrorNotifierService, EventCaseField, EventCompletionReturnStates, EventCompletionStateMachineService, EventCompletionStates, EventLogComponent, EventLogDetailsComponent, EventLogTableComponent, EventMessageModule, EventStartComponent, EventStartModule, EventStartStateMachineService, EventStatusService, EventTriggerResolver, EventTriggerService, Fee, FeeValue, Field, FieldLabelPipe, FieldReadComponent, FieldReadLabelComponent, FieldType, FieldTypeSanitiser, FieldWriteComponent, FieldsFilterPipe, FieldsPurger, FieldsUtils, FirstErrorPipe, FixedListItem, FixedListPipe, FixedRadioListPipe, FocusElementDirective, FocusElementModule, FooterComponent, FormDocument, FormErrorService, FormValidatorsService, FormValueService, FormatTranslatorService, GreyBarService, HRef, HasLoadingState, HeaderBarComponent, HeadersModule, HttpError, HttpErrorService, HttpService, IsCompoundPipe, IsMandatoryPipe, IsReadOnlyAndNotCollectionPipe, IsReadOnlyPipe, JudicialworkerService, Jurisdiction, JurisdictionService, LabelFieldComponent, LabelSubstitutorDirective, LabelSubstitutorModule, LinkCaseReason, LinkCasesComponent, LinkCasesReasonValuePipe, LinkDetails, LinkReason, LinkedCasesErrorMessages, LinkedCasesEventTriggers, LinkedCasesFromTableComponent, LinkedCasesPages, LinkedCasesResponse, LinkedCasesToTableComponent, LoadingModule, LoadingService, LoadingSpinnerComponent, LoadingSpinnerModule, MEDIA_VIEWER_LOCALSTORAGE_KEY, MULTIPLE_TASKS_FOUND, ManageCaseFlagsComponent, MarkdownComponent, MoneyGbpInputComponent, MultipleTasksExistComponent, NavigationComponent, NavigationItemComponent, NavigationNotifierService, NavigationOrigin, NoLinkedCasesComponent, NoTasksAvailableComponent, NotificationBannerComponent, NotificationBannerHeaderClass, NotificationBannerType, OrderService, OrderSummary, OrganisationConverter, OrganisationService, PageType, PageValidationService, PaginationComponent, PaginationMetadata, PaginationModule, PaletteContext, PaletteModule, PaletteService, PaletteUtilsModule, Patterns, PaymentField, PhaseComponent, PipesModule, PlaceholderService, PrintUrlPipe, Profile, ProfileNotifier, ProfileService, ReadCaseFlagFieldComponent, ReadCaseLinkFieldComponent, ReadCollectionFieldComponent, ReadComplexFieldCollectionTableComponent, ReadComplexFieldComponent, ReadComplexFieldRawComponent, ReadComplexFieldTableComponent, ReadDateFieldComponent, ReadDocumentFieldComponent, ReadDynamicListFieldComponent, ReadDynamicRadioListFieldComponent, ReadEmailFieldComponent, ReadFieldsFilterPipe, ReadFixedListFieldComponent, ReadFixedRadioListFieldComponent, ReadJudicialUserFieldComponent, ReadLinkedCasesComponent, ReadMoneyGbpFieldComponent, ReadMultiSelectListFieldComponent, ReadNumberFieldComponent, ReadOrderSummaryFieldComponent, ReadOrderSummaryRowComponent, ReadOrganisationFieldComponent, ReadOrganisationFieldRawComponent, ReadOrganisationFieldTableComponent, ReadPhoneUKFieldComponent, ReadTextAreaFieldComponent, ReadTextFieldComponent, ReadYesNoFieldComponent, RefdataCaseFlagType, RemoveDialogComponent, RequestOptionsBuilder, RouterHelperService, SaveOrDiscardDialogComponent, SearchFiltersComponent, SearchFiltersModule, SearchFiltersWrapperComponent, SearchInput, SearchLanguageInterpreterComponent, SearchLanguageInterpreterErrorMessage, SearchLanguageInterpreterStep, SearchResultComponent, SearchResultModule, SearchResultView, SearchResultViewColumn, SearchResultViewItem, SearchResultViewItemComparatorFactory, SearchService, SelectFlagErrorMessage, SelectFlagLocationComponent, SelectFlagLocationErrorMessage, SelectFlagTypeComponent, SelectFlagTypeErrorMessage, SessionStorageService, ShowCondition, SortOrder$1 as SortOrder, SortParameters, SortSearchResultPipe, TabComponent, TableColumnConfig, TableConfig, TabsComponent, TabsModule, TaskAssignedComponent, TaskCancelledComponent, TaskConflictComponent, TaskUnassignedComponent, Terms, TestRouteSnapshotBuilder, UnLinkCasesComponent, UnsupportedFieldComponent, UpdateFlagComponent, UpdateFlagErrorMessage, UpdateFlagStep, WaysToPayFieldComponent, WindowService, Wizard, WizardFactoryService, WizardPage, WizardPageField, WorkAllocationService, WorkbasketFiltersComponent, WorkbasketFiltersModule, WorkbasketInput, WorkbasketInputFilterService, WorkbasketInputModel, WriteAddressFieldComponent, WriteCaseFlagFieldComponent, WriteCaseLinkFieldComponent, WriteCollectionFieldComponent, WriteComplexFieldComponent, WriteDateContainerFieldComponent, WriteDateFieldComponent, WriteDocumentFieldComponent, WriteDynamicListFieldComponent, WriteDynamicRadioListFieldComponent, WriteEmailFieldComponent, WriteFixedListFieldComponent, WriteFixedRadioListFieldComponent, WriteJudicialUserFieldComponent, WriteLinkedCasesComponent, WriteMoneyGbpFieldComponent, WriteMultiSelectListFieldComponent, WriteNumberFieldComponent, WriteOrderSummaryFieldComponent, WriteOrganisationComplexFieldComponent, WriteOrganisationFieldComponent, WritePhoneUKFieldComponent, WriteTextAreaFieldComponent, WriteTextFieldComponent, WriteYesNoFieldComponent, YesNoService, aCaseField, createACL, createCaseEventTrigger, createCaseField, createComplexFieldOverride, createFieldType, createFixedListFieldType, createHiddenComplexFieldOverride, createMultiSelectListFieldType, createWizardPage, createWizardPageField, editorRouting, initDialog, newCaseField, textFieldType, viewerRouting };
30719
30797
  //# sourceMappingURL=hmcts-ccd-case-ui-toolkit.js.map