@hmcts/ccd-case-ui-toolkit 7.4.26-govuk6 → 7.4.26-govuk6-v2

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.
@@ -23710,10 +23710,11 @@ function QualifyingQuestionOptionsComponent_ng_container_0_ng_container_12_Templ
23710
23710
  i0.ɵɵproperty("ngIf", isLast_r4);
23711
23711
  i0.ɵɵadvance(2);
23712
23712
  i0.ɵɵproperty("id", i0.ɵɵinterpolate(qualifyingQuestion_r3.name))("formControl", ctx_r0.qualifyingQuestionsControl)("value", qualifyingQuestion_r3);
23713
+ i0.ɵɵattribute("aria-describedby", ctx_r0.displayError ? "qualifyingQuestionOption-error" : null);
23713
23714
  i0.ɵɵadvance();
23714
23715
  i0.ɵɵproperty("for", qualifyingQuestion_r3.name);
23715
23716
  i0.ɵɵadvance();
23716
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 7, qualifyingQuestion_r3.name));
23717
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 8, qualifyingQuestion_r3.name));
23717
23718
  } }
23718
23719
  function QualifyingQuestionOptionsComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
23719
23720
  i0.ɵɵelementContainerStart(0);
@@ -23727,7 +23728,7 @@ function QualifyingQuestionOptionsComponent_ng_container_0_Template(rf, ctx) { i
23727
23728
  i0.ɵɵelementEnd();
23728
23729
  i0.ɵɵtemplate(10, QualifyingQuestionOptionsComponent_ng_container_0_ng_container_10_Template, 7, 6, "ng-container", 0);
23729
23730
  i0.ɵɵelementStart(11, "div", 6);
23730
- i0.ɵɵtemplate(12, QualifyingQuestionOptionsComponent_ng_container_0_ng_container_12_Template, 7, 9, "ng-container", 7);
23731
+ i0.ɵɵtemplate(12, QualifyingQuestionOptionsComponent_ng_container_0_ng_container_12_Template, 7, 10, "ng-container", 7);
23731
23732
  i0.ɵɵpipe(13, "async");
23732
23733
  i0.ɵɵelementEnd()()();
23733
23734
  i0.ɵɵelementContainerEnd();
@@ -23780,7 +23781,7 @@ class QualifyingQuestionOptionsComponent {
23780
23781
  this.questionSelected.emit(qualifyingQuestion);
23781
23782
  }
23782
23783
  static ɵfac = function QualifyingQuestionOptionsComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QualifyingQuestionOptionsComponent)(i0.ɵɵdirectiveInject(i1$2.ActivatedRoute), i0.ɵɵdirectiveInject(i1$2.Router), i0.ɵɵdirectiveInject(QualifyingQuestionService)); };
23783
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QualifyingQuestionOptionsComponent, selectors: [["ccd-qualifying-question-options"]], inputs: { qualifyingQuestionsControl: "qualifyingQuestionsControl", qualifyingQuestions$: "qualifyingQuestions$" }, outputs: { questionSelected: "questionSelected" }, standalone: false, decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "govuk-form-group"], [1, "govuk-fieldset"], [1, "govuk-fieldset__legend", "govuk-fieldset__legend--l"], [1, "govuk-fieldset__heading"], [1, "govuk-heading-m", "govuk-!-margin-top-10"], ["data-module", "govuk-radios", 1, "govuk-radios"], [4, "ngFor", "ngForOf"], [1, "govuk-error-message"], [1, "govuk-visually-hidden"], [1, "govuk-radios__item"], ["name", "qualifyingQuestionOption", "type", "radio", 1, "govuk-radios__input", 3, "change", "id", "formControl", "value"], [1, "govuk-label", "govuk-radios__label", 3, "for"], [1, "qm-qualifying-question__divider"]], template: function QualifyingQuestionOptionsComponent_Template(rf, ctx) { if (rf & 1) {
23784
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QualifyingQuestionOptionsComponent, selectors: [["ccd-qualifying-question-options"]], inputs: { qualifyingQuestionsControl: "qualifyingQuestionsControl", qualifyingQuestions$: "qualifyingQuestions$" }, outputs: { questionSelected: "questionSelected" }, standalone: false, decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "govuk-form-group"], [1, "govuk-fieldset"], [1, "govuk-fieldset__legend", "govuk-fieldset__legend--l"], [1, "govuk-fieldset__heading"], [1, "govuk-heading-m", "govuk-!-margin-top-10"], ["data-module", "govuk-radios", 1, "govuk-radios"], [4, "ngFor", "ngForOf"], ["id", "qualifyingQuestionOption-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], [1, "govuk-radios__item"], ["name", "qualifyingQuestionOption", "type", "radio", 1, "govuk-radios__input", 3, "change", "id", "formControl", "value"], [1, "govuk-label", "govuk-radios__label", 3, "for"], [1, "qm-qualifying-question__divider"]], template: function QualifyingQuestionOptionsComponent_Template(rf, ctx) { if (rf & 1) {
23784
23785
  i0.ɵɵtemplate(0, QualifyingQuestionOptionsComponent_ng_container_0_Template, 14, 12, "ng-container", 0);
23785
23786
  } if (rf & 2) {
23786
23787
  i0.ɵɵproperty("ngIf", ctx.qualifyingQuestionsControl);
@@ -23788,7 +23789,7 @@ class QualifyingQuestionOptionsComponent {
23788
23789
  }
23789
23790
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QualifyingQuestionOptionsComponent, [{
23790
23791
  type: Component,
23791
- args: [{ selector: 'ccd-qualifying-question-options', standalone: false, template: "<ng-container *ngIf=\"qualifyingQuestionsControl\">\n <div class=\"govuk-form-group\" [class.govuk-form-group--error]=\"displayError\">\n <fieldset class=\"govuk-fieldset\">\n <legend class=\"govuk-fieldset__legend govuk-fieldset__legend--l\">\n <h1 class=\"govuk-fieldset__heading\">\n {{ 'Raise a new query' | rpxTranslate }}\n </h1>\n </legend>\n <h2 class=\"govuk-heading-m govuk-!-margin-top-10\">\n {{ 'What do you need help to do?' | rpxTranslate }}\n </h2>\n\n <ng-container *ngIf=\"displayError\">\n <p class=\"govuk-error-message\">\n <span class=\"govuk-visually-hidden\">{{ 'Error:' | rpxTranslate }} </span>{{\n qualifyingQuestionsErrorMessage.SELECT_AN_OPTION | rpxTranslate }}\n </p>\n </ng-container>\n\n <div class=\"govuk-radios\" data-module=\"govuk-radios\">\n <ng-container *ngFor=\"let qualifyingQuestion of qualifyingQuestions$ | async; let isLast = last\">\n <ng-container *ngIf=\"isLast\">\n <div class=\"qm-qualifying-question__divider\">{{ 'If your issue is not covered by the options above, raise a query:' | rpxTranslate }}</div>\n </ng-container>\n <div class=\"govuk-radios__item\">\n <input class=\"govuk-radios__input\" \n id=\"{{qualifyingQuestion.name}}\" \n name=\"qualifyingQuestionOption\"\n type=\"radio\" [formControl]=\"qualifyingQuestionsControl\" \n [value]=\"qualifyingQuestion\"\n (change)=\"onSelectionChange(qualifyingQuestion)\">\n <label class=\"govuk-label govuk-radios__label\" [for]=\"qualifyingQuestion.name\">{{ qualifyingQuestion.name |\n rpxTranslate }}</label>\n </div>\n </ng-container>\n </div>\n </fieldset>\n </div>\n</ng-container>\n" }]
23792
+ args: [{ selector: 'ccd-qualifying-question-options', standalone: false, template: "<ng-container *ngIf=\"qualifyingQuestionsControl\">\n <div class=\"govuk-form-group\" [class.govuk-form-group--error]=\"displayError\">\n <fieldset class=\"govuk-fieldset\">\n <legend class=\"govuk-fieldset__legend govuk-fieldset__legend--l\">\n <h1 class=\"govuk-fieldset__heading\">\n {{ 'Raise a new query' | rpxTranslate }}\n </h1>\n </legend>\n <h2 class=\"govuk-heading-m govuk-!-margin-top-10\">\n {{ 'What do you need help to do?' | rpxTranslate }}\n </h2>\n\n <ng-container *ngIf=\"displayError\">\n <p id=\"qualifyingQuestionOption-error\" class=\"govuk-error-message\">\n <span class=\"govuk-visually-hidden\">{{ 'Error:' | rpxTranslate }} </span>{{\n qualifyingQuestionsErrorMessage.SELECT_AN_OPTION | rpxTranslate }}\n </p>\n </ng-container>\n\n <div class=\"govuk-radios\" data-module=\"govuk-radios\">\n <ng-container *ngFor=\"let qualifyingQuestion of qualifyingQuestions$ | async; let isLast = last\">\n <ng-container *ngIf=\"isLast\">\n <div class=\"qm-qualifying-question__divider\">{{ 'If your issue is not covered by the options above, raise a query:' | rpxTranslate }}</div>\n </ng-container>\n <div class=\"govuk-radios__item\">\n <input class=\"govuk-radios__input\" \n id=\"{{qualifyingQuestion.name}}\" \n name=\"qualifyingQuestionOption\"\n type=\"radio\" [formControl]=\"qualifyingQuestionsControl\"\n [value]=\"qualifyingQuestion\"\n [attr.aria-describedby]=\"displayError ? 'qualifyingQuestionOption-error' : null\"\n (change)=\"onSelectionChange(qualifyingQuestion)\">\n <label class=\"govuk-label govuk-radios__label\" [for]=\"qualifyingQuestion.name\">{{ qualifyingQuestion.name |\n rpxTranslate }}</label>\n </div>\n </ng-container>\n </div>\n </fieldset>\n </div>\n</ng-container>\n" }]
23792
23793
  }], () => [{ type: i1$2.ActivatedRoute }, { type: i1$2.Router }, { type: QualifyingQuestionService }], { qualifyingQuestionsControl: [{
23793
23794
  type: Input
23794
23795
  }], qualifyingQuestions$: [{
@@ -23860,8 +23861,8 @@ class QueryAttachmentsReadComponent {
23860
23861
  }] }); })();
23861
23862
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(QueryAttachmentsReadComponent, { className: "QueryAttachmentsReadComponent", filePath: "lib/shared/components/palette/query-management/components/query-attachments-read/query-attachments-read.component.ts", lineNumber: 11 }); })();
23862
23863
 
23863
- function QueryCaseDetailsHeaderComponent_h1_0_Template(rf, ctx) { if (rf & 1) {
23864
- i0.ɵɵelementStart(0, "h1", 2);
23864
+ function QueryCaseDetailsHeaderComponent_h2_0_Template(rf, ctx) { if (rf & 1) {
23865
+ i0.ɵɵelementStart(0, "h2", 2);
23865
23866
  i0.ɵɵtext(1);
23866
23867
  i0.ɵɵpipe(2, "ccdCaseReference");
23867
23868
  i0.ɵɵelementEnd();
@@ -23896,7 +23897,7 @@ class QueryCaseDetailsHeaderComponent {
23896
23897
  }
23897
23898
  static ɵfac = function QueryCaseDetailsHeaderComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QueryCaseDetailsHeaderComponent)(); };
23898
23899
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryCaseDetailsHeaderComponent, selectors: [["ccd-query-case-details-header"]], inputs: { caseDetails: "caseDetails" }, standalone: false, decls: 2, vars: 2, consts: [["class", "heading-h1", 4, "ngIf"], ["class", "case-title", 4, "ngIf"], [1, "heading-h1"], [1, "case-title"], [3, "caseField", "caseFields"]], template: function QueryCaseDetailsHeaderComponent_Template(rf, ctx) { if (rf & 1) {
23899
- i0.ɵɵtemplate(0, QueryCaseDetailsHeaderComponent_h1_0_Template, 3, 3, "h1", 0)(1, QueryCaseDetailsHeaderComponent_div_1_Template, 2, 2, "div", 1);
23900
+ i0.ɵɵtemplate(0, QueryCaseDetailsHeaderComponent_h2_0_Template, 3, 3, "h2", 0)(1, QueryCaseDetailsHeaderComponent_div_1_Template, 2, 2, "div", 1);
23900
23901
  } if (rf & 2) {
23901
23902
  i0.ɵɵproperty("ngIf", !ctx.caseTitle.label);
23902
23903
  i0.ɵɵadvance();
@@ -23905,7 +23906,7 @@ class QueryCaseDetailsHeaderComponent {
23905
23906
  }
23906
23907
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryCaseDetailsHeaderComponent, [{
23907
23908
  type: Component,
23908
- args: [{ selector: 'ccd-query-case-details-header', standalone: false, template: "<h1 *ngIf=\"!caseTitle.label\" class=\"heading-h1\">#{{ caseDetails.case_id | ccdCaseReference}}</h1>\n<div *ngIf=\"caseTitle.label\" class=\"case-title\">\n <ccd-label-field [caseField]=\"caseTitle\" [caseFields]=\"caseFields\"></ccd-label-field>\n</div>\n" }]
23909
+ args: [{ selector: 'ccd-query-case-details-header', standalone: false, template: "<h2 *ngIf=\"!caseTitle.label\" class=\"heading-h1\">#{{ caseDetails.case_id | ccdCaseReference}}</h2>\n<div *ngIf=\"caseTitle.label\" class=\"case-title\">\n <ccd-label-field [caseField]=\"caseTitle\" [caseFields]=\"caseFields\"></ccd-label-field>\n</div>\n" }]
23909
23910
  }], null, { caseDetails: [{
23910
23911
  type: Input
23911
23912
  }] }); })();
@@ -25513,40 +25514,45 @@ function QueryWriteRaiseQueryComponent_div_11_Template(rf, ctx) { if (rf & 1) {
25513
25514
  i0.ɵɵadvance();
25514
25515
  i0.ɵɵproperty("formGroup", ctx_r0.formGroup);
25515
25516
  i0.ɵɵadvance(8);
25516
- i0.ɵɵproperty("content", i0.ɵɵpipeBind1(10, 23, ctx_r0.serviceMessage));
25517
+ i0.ɵɵproperty("content", i0.ɵɵpipeBind1(10, 27, ctx_r0.serviceMessage));
25517
25518
  i0.ɵɵadvance(2);
25518
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(43, _c0$F, ctx_r0.submitted && ctx_r0.formGroup.get("subject").hasError("required")));
25519
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(47, _c0$F, ctx_r0.submitted && ctx_r0.formGroup.get("subject").hasError("required")));
25519
25520
  i0.ɵɵadvance(3);
25520
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(15, 25, "Query subject"), " ");
25521
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(15, 29, "Query subject"), " ");
25521
25522
  i0.ɵɵadvance(3);
25522
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(18, 27, "The subject should be a summary of your query"), " ");
25523
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(18, 31, "The subject should be a summary of your query"), " ");
25523
25524
  i0.ɵɵadvance(2);
25524
25525
  i0.ɵɵproperty("ngIf", ctx_r0.submitted && (ctx_r0.formGroup.get("subject").hasError("required") || ctx_r0.formGroup.get("subject").hasError("maxlength")));
25525
- i0.ɵɵadvance(2);
25526
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(45, _c0$F, ctx_r0.submitted && ctx_r0.formGroup.get("body").hasError("required")));
25526
+ i0.ɵɵadvance();
25527
+ i0.ɵɵattribute("aria-describedby", ctx_r0.submitted && (ctx_r0.formGroup.get("subject").hasError("required") || ctx_r0.formGroup.get("subject").hasError("maxlength")) ? "subject-hint subject-error" : "subject-hint");
25528
+ i0.ɵɵadvance();
25529
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(49, _c0$F, ctx_r0.submitted && ctx_r0.formGroup.get("body").hasError("required")));
25527
25530
  i0.ɵɵadvance(3);
25528
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(25, 29, "Query detail"), " ");
25531
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(25, 33, "Query detail"), " ");
25529
25532
  i0.ɵɵadvance(3);
25530
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(28, 31, "Include as many details as possible so case workers can respond to your query"), " ");
25533
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(28, 35, "Include as many details as possible so case workers can respond to your query"), " ");
25531
25534
  i0.ɵɵadvance(2);
25532
25535
  i0.ɵɵproperty("ngIf", ctx_r0.submitted && ctx_r0.formGroup.get("body").hasError("required"));
25533
25536
  i0.ɵɵadvance();
25534
25537
  i0.ɵɵclassProp("govuk-textarea--error", ctx_r0.submitted && ctx_r0.formGroup.get("body").hasError("required"));
25535
25538
  i0.ɵɵproperty("formControlName", "body");
25539
+ i0.ɵɵattribute("aria-describedby", ctx_r0.submitted && ctx_r0.formGroup.get("body").hasError("required") ? "body-hint body-error" : "body-hint");
25536
25540
  i0.ɵɵadvance(2);
25537
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(47, _c0$F, ctx_r0.submitted && ctx_r0.formGroup.get("isHearingRelated").hasError("required")));
25541
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(51, _c0$F, ctx_r0.submitted && ctx_r0.formGroup.get("isHearingRelated").hasError("required")));
25538
25542
  i0.ɵɵadvance(4);
25539
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(37, 33, "Is the query hearing related?"), " ");
25543
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(37, 37, "Is the query hearing related?"), " ");
25540
25544
  i0.ɵɵadvance(2);
25541
25545
  i0.ɵɵproperty("ngIf", ctx_r0.submitted && ctx_r0.formGroup.get("isHearingRelated").hasError("required"));
25542
25546
  i0.ɵɵadvance(3);
25543
25547
  i0.ɵɵproperty("checked", ctx_r0.formGroup.get("isHearingRelated").value === true)("value", true);
25548
+ i0.ɵɵattribute("aria-describedby", ctx_r0.submitted && ctx_r0.formGroup.get("isHearingRelated").hasError("required") ? "isHearingRelated-error" : null);
25544
25549
  i0.ɵɵadvance(2);
25545
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind3(44, 35, "Is the query hearing related?", null, "Yes"), " ");
25550
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind3(44, 39, "Is the query hearing related?", null, "Yes"), " ");
25546
25551
  i0.ɵɵadvance(3);
25547
25552
  i0.ɵɵproperty("checked", ctx_r0.formGroup.get("isHearingRelated").value === false)("value", false);
25553
+ i0.ɵɵattribute("aria-describedby", ctx_r0.submitted && ctx_r0.formGroup.get("isHearingRelated").hasError("required") ? "isHearingRelated-error" : null);
25548
25554
  i0.ɵɵadvance(2);
25549
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind3(49, 39, "Is the query hearing related?", null, "No"), " ");
25555
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind3(49, 43, "Is the query hearing related?", null, "No"), " ");
25550
25556
  i0.ɵɵadvance(2);
25551
25557
  i0.ɵɵproperty("ngIf", ctx_r0.formGroup.get("isHearingRelated").value);
25552
25558
  } }
@@ -25611,7 +25617,7 @@ class QueryWriteRaiseQueryComponent {
25611
25617
  return this.queryManagementService.generateCaseQueriesCollectionData(this.formGroup, this.queryCreateContext, this.queryItem, this.messageId);
25612
25618
  }
25613
25619
  static ɵfac = function QueryWriteRaiseQueryComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QueryWriteRaiseQueryComponent)(i0.ɵɵdirectiveInject(QueryManagementService), i0.ɵɵdirectiveInject(i1$2.ActivatedRoute)); };
25614
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryWriteRaiseQueryComponent, selectors: [["ccd-query-write-raise-query"]], inputs: { formGroup: "formGroup", submitted: "submitted", caseDetails: "caseDetails", showForm: "showForm", serviceMessage: "serviceMessage", queryCreateContext: "queryCreateContext", eventData: "eventData", queryItem: "queryItem", validate: "validate", triggerSubmission: "triggerSubmission" }, outputs: { queryDataCreated: "queryDataCreated" }, standalone: false, features: [i0.ɵɵNgOnChangesFeature], decls: 12, vars: 8, consts: [[1, "govuk-!-margin-bottom-6"], [1, "govuk-caption-l"], [1, "govuk-heading-l", "govuk-!-margin-bottom-4"], [3, "caseDetails", 4, "ngIf"], ["class", "govuk-!-margin-bottom-4", 4, "ngIf"], [3, "caseDetails"], [1, "govuk-!-margin-bottom-4"], [3, "formGroup"], [1, "govuk-warning-text"], ["aria-hidden", "true", 1, "govuk-warning-text__icon"], [1, "govuk-warning-text__text"], [1, "govuk-visually-hidden"], [3, "content"], [1, "govuk-form-group", 3, "ngClass"], [1, "govuk-label-wrapper"], ["for", "subject", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "subject-hint", 1, "govuk-hint"], ["id", "subject-error", "class", "govuk-error-message", 4, "ngIf"], ["type", "text", "id", "subject", "formControlName", "subject", "maxlength", "200", "aria-describedby", "subject-error", 1, "govuk-input", 3, "input"], ["for", "body", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "body-hint", 1, "govuk-hint"], ["id", "body-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "body", "name", "body", "rows", "5", "aria-describedby", "body-hint body-error", 1, "govuk-textarea", 3, "formControlName"], [1, "govuk-fieldset"], [1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "isHearingRelated-error", "class", "govuk-error-message", 4, "ngIf"], ["data-module", "govuk-radios", 1, "govuk-radios", "govuk-radios--inline"], [1, "govuk-radios__item"], ["id", "isHearingRelated-yes", "name", "isHearingRelated", "type", "radio", "formControlName", "isHearingRelated", 1, "govuk-radios__input", 3, "checked", "value"], ["for", "isHearingRelated-yes", 1, "govuk-label", "govuk-radios__label"], ["id", "isHearingRelated-no", "name", "isHearingRelated", "type", "radio", "formControlName", "isHearingRelated", 1, "govuk-radios__input", 3, "checked", "value"], ["for", "isHearingRelated-no", 1, "govuk-label", "govuk-radios__label"], [4, "ngIf"], ["id", "subject-error", 1, "govuk-error-message"], ["id", "body-error", 1, "govuk-error-message"], ["id", "isHearingRelated-error", 1, "govuk-error-message"], [1, "govuk-radios__conditional", "govuk-!-margin-top-1", 3, "ngClass"], ["role", "group", 1, "govuk-fieldset"], [1, "govuk-label", "govuk-label--s"], ["id", "hearingDate-error", "class", "govuk-error-message", 4, "ngIf"], ["formControlName", "hearingDate"], ["id", "hearingDate-error", 1, "govuk-error-message"]], template: function QueryWriteRaiseQueryComponent_Template(rf, ctx) { if (rf & 1) {
25620
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryWriteRaiseQueryComponent, selectors: [["ccd-query-write-raise-query"]], inputs: { formGroup: "formGroup", submitted: "submitted", caseDetails: "caseDetails", showForm: "showForm", serviceMessage: "serviceMessage", queryCreateContext: "queryCreateContext", eventData: "eventData", queryItem: "queryItem", validate: "validate", triggerSubmission: "triggerSubmission" }, outputs: { queryDataCreated: "queryDataCreated" }, standalone: false, features: [i0.ɵɵNgOnChangesFeature], decls: 12, vars: 8, consts: [[1, "govuk-!-margin-bottom-6"], [1, "govuk-caption-l"], [1, "govuk-heading-l", "govuk-!-margin-bottom-4"], [3, "caseDetails", 4, "ngIf"], ["class", "govuk-!-margin-bottom-4", 4, "ngIf"], [3, "caseDetails"], [1, "govuk-!-margin-bottom-4"], [3, "formGroup"], [1, "govuk-warning-text"], ["aria-hidden", "true", 1, "govuk-warning-text__icon"], [1, "govuk-warning-text__text"], [1, "govuk-visually-hidden"], [3, "content"], [1, "govuk-form-group", 3, "ngClass"], [1, "govuk-label-wrapper"], ["for", "subject", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "subject-hint", 1, "govuk-hint"], ["id", "subject-error", "class", "govuk-error-message", 4, "ngIf"], ["type", "text", "id", "subject", "formControlName", "subject", "maxlength", "200", 1, "govuk-input", 3, "input"], ["for", "body", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "body-hint", 1, "govuk-hint"], ["id", "body-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "body", "name", "body", "rows", "5", 1, "govuk-textarea", 3, "formControlName"], [1, "govuk-fieldset"], [1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "isHearingRelated-error", "class", "govuk-error-message", 4, "ngIf"], ["data-module", "govuk-radios", 1, "govuk-radios", "govuk-radios--inline"], [1, "govuk-radios__item"], ["id", "isHearingRelated-yes", "name", "isHearingRelated", "type", "radio", "formControlName", "isHearingRelated", 1, "govuk-radios__input", 3, "checked", "value"], ["for", "isHearingRelated-yes", 1, "govuk-label", "govuk-radios__label"], ["id", "isHearingRelated-no", "name", "isHearingRelated", "type", "radio", "formControlName", "isHearingRelated", 1, "govuk-radios__input", 3, "checked", "value"], ["for", "isHearingRelated-no", 1, "govuk-label", "govuk-radios__label"], [4, "ngIf"], ["id", "subject-error", 1, "govuk-error-message"], ["id", "body-error", 1, "govuk-error-message"], ["id", "isHearingRelated-error", 1, "govuk-error-message"], [1, "govuk-radios__conditional", "govuk-!-margin-top-1", 3, "ngClass"], ["role", "group", 1, "govuk-fieldset"], [1, "govuk-label", "govuk-label--s"], ["id", "hearingDate-error", "class", "govuk-error-message", 4, "ngIf"], ["formControlName", "hearingDate"], ["id", "hearingDate-error", 1, "govuk-error-message"]], template: function QueryWriteRaiseQueryComponent_Template(rf, ctx) { if (rf & 1) {
25615
25621
  i0.ɵɵelementStart(0, "div")(1, "div", 0)(2, "div", 1);
25616
25622
  i0.ɵɵtext(3);
25617
25623
  i0.ɵɵpipe(4, "rpxTranslate");
@@ -25624,7 +25630,7 @@ class QueryWriteRaiseQueryComponent {
25624
25630
  i0.ɵɵtemplate(9, QueryWriteRaiseQueryComponent_ccd_query_case_details_header_9_Template, 1, 1, "ccd-query-case-details-header", 3);
25625
25631
  i0.ɵɵelementEnd();
25626
25632
  i0.ɵɵelement(10, "hr");
25627
- i0.ɵɵtemplate(11, QueryWriteRaiseQueryComponent_div_11_Template, 51, 49, "div", 4);
25633
+ i0.ɵɵtemplate(11, QueryWriteRaiseQueryComponent_div_11_Template, 51, 53, "div", 4);
25628
25634
  i0.ɵɵelementEnd();
25629
25635
  } if (rf & 2) {
25630
25636
  i0.ɵɵadvance(3);
@@ -25639,7 +25645,7 @@ class QueryWriteRaiseQueryComponent {
25639
25645
  }
25640
25646
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryWriteRaiseQueryComponent, [{
25641
25647
  type: Component,
25642
- args: [{ selector: 'ccd-query-write-raise-query', standalone: false, template: "<div>\n <div class=\"govuk-!-margin-bottom-6\">\n <div class=\"govuk-caption-l\">{{ 'Raise a query' | rpxTranslate }}</div>\n <h1 class=\"govuk-heading-l govuk-!-margin-bottom-4\">{{ 'Enter query details' | rpxTranslate }}</h1>\n </div>\n\n <div>\n <ccd-query-case-details-header [caseDetails]=\"caseDetails\" *ngIf=\"caseDetails\"></ccd-query-case-details-header>\n </div>\n\n <hr>\n\n <div class=\"govuk-!-margin-bottom-4\" *ngIf=\"showForm\">\n <div [formGroup]=\"formGroup\">\n <div>\n <div class=\"govuk-warning-text\">\n <span class=\"govuk-warning-text__icon\" aria-hidden=\"true\">!</span>\n <strong class=\"govuk-warning-text__text\">\n <span class=\"govuk-visually-hidden\">Warning</span>\n <ccd-markdown\n [content]=\"serviceMessage | rpxTranslate\">\n </ccd-markdown>\n </strong>\n </div>\n <div class=\"govuk-form-group\" [ngClass]=\"{'govuk-form-group--error': submitted && formGroup.get('subject').hasError('required')}\">\n <div class=\"govuk-label-wrapper\">\n <label class=\"govuk-label govuk-label--m govuk-!-font-weight-bold\" for=\"subject\">\n {{ 'Query subject' | rpxTranslate }}\n </label>\n </div>\n <div id=\"subject-hint\" class=\"govuk-hint\">\n {{ 'The subject should be a summary of your query' | rpxTranslate }}\n </div>\n <p id=\"subject-error\" class=\"govuk-error-message\"\n *ngIf=\"submitted && (formGroup.get('subject').hasError('required') || formGroup.get('subject').hasError('maxlength'))\">\n <span class=\"govuk-visually-hidden\">{{ 'Error:' | rpxTranslate }}</span>\n {{ getSubjectErrorMessage() | rpxTranslate }}\n </p>\n\n <input type=\"text\"\n id=\"subject\"\n class=\"govuk-input\"\n formControlName=\"subject\"\n maxlength=\"200\"\n (input)=\"onSubjectInput()\"\n aria-describedby=\"subject-error\" />\n </div>\n\n <div class=\"govuk-form-group\"\n [ngClass]=\"{'govuk-form-group--error': submitted && formGroup.get('body').hasError('required')}\">\n <div class=\"govuk-label-wrapper\">\n <label class=\"govuk-label govuk-label--m govuk-!-font-weight-bold\" for=\"body\">\n {{ 'Query detail' | rpxTranslate }}\n </label>\n </div>\n <div id=\"body-hint\" class=\"govuk-hint\">\n {{ 'Include as many details as possible so case workers can respond to your query' | rpxTranslate }}\n </div>\n <p id=\"body-error\" class=\"govuk-error-message\"\n *ngIf=\"submitted && formGroup.get('body').hasError('required')\">\n <span class=\"govuk-visually-hidden\">{{ 'Error:' | rpxTranslate }} </span>{{ raiseQueryErrorMessage.QUERY_BODY | rpxTranslate }}\n </p>\n <textarea [formControlName]=\"'body'\"\n id=\"body\" name=\"body\" rows=\"5\"\n aria-describedby=\"body-hint body-error\"\n class=\"govuk-textarea\"\n [class.govuk-textarea--error]=\"submitted && formGroup.get('body').hasError('required')\"\n >\n </textarea>\n </div>\n\n <div class=\"govuk-form-group\"\n [ngClass]=\"{'govuk-form-group--error': submitted && formGroup.get('isHearingRelated').hasError('required')}\">\n <fieldset class=\"govuk-fieldset\">\n <legend>\n <label class=\"govuk-label govuk-label--m govuk-!-font-weight-bold\">\n {{ 'Is the query hearing related?' | rpxTranslate }}\n </label>\n </legend>\n <p id=\"isHearingRelated-error\" class=\"govuk-error-message\"\n *ngIf=\"submitted && formGroup.get('isHearingRelated').hasError('required')\">\n <span class=\"govuk-visually-hidden\">{{ 'Error:' | rpxTranslate }} </span>{{ raiseQueryErrorMessage.QUERY_HEARING_RELATED | rpxTranslate }}\n </p>\n <div class=\"govuk-radios govuk-radios--inline\" data-module=\"govuk-radios\">\n <div class=\"govuk-radios__item\">\n <input class=\"govuk-radios__input\" id=\"isHearingRelated-yes\" name=\"isHearingRelated\"\n type=\"radio\"\n formControlName=\"isHearingRelated\"\n [checked]=\"formGroup.get('isHearingRelated').value === true\" [value]=\"true\"\n >\n <label class=\"govuk-label govuk-radios__label\" for=\"isHearingRelated-yes\">\n {{ 'Is the query hearing related?' | rpxTranslate: null : 'Yes' }}\n </label>\n </div>\n <div class=\"govuk-radios__item\">\n <input class=\"govuk-radios__input\" id=\"isHearingRelated-no\" name=\"isHearingRelated\"\n type=\"radio\"\n formControlName=\"isHearingRelated\"\n [checked]=\"formGroup.get('isHearingRelated').value === false\" [value]=\"false\"\n >\n <label class=\"govuk-label govuk-radios__label\" for=\"isHearingRelated-no\">\n {{ 'Is the query hearing related?' | rpxTranslate: null : 'No' }}\n </label>\n </div>\n </div>\n </fieldset>\n\n <ng-container *ngIf=\"formGroup.get('isHearingRelated').value\">\n <div class=\"govuk-radios__conditional govuk-!-margin-top-1\"\n [ngClass]=\"{'govuk-form-group--error': submitted &&\n formGroup.get('isHearingRelated').value === true &&\n formGroup.get('hearingDate').value === null}\">\n <fieldset class=\"govuk-fieldset\" role=\"group\">\n <legend>\n <label class=\"govuk-label govuk-label--s\">\n {{ 'What is the date of the hearing?' | rpxTranslate }}\n </label>\n </legend>\n <p id=\"hearingDate-error\" class=\"govuk-error-message\"\n *ngIf=\"submitted && formGroup.get('isHearingRelated').value === true && formGroup.get('hearingDate').value === null\">\n <span class=\"govuk-visually-hidden\">{{ 'Error:' | rpxTranslate }} </span>{{ raiseQueryErrorMessage.QUERY_HEARING_DATE | rpxTranslate }}\n </p>\n <ccd-query-write-date-input formControlName=\"hearingDate\"></ccd-query-write-date-input>\n </fieldset>\n </div>\n </ng-container>\n </div>\n </div>\n </div>\n</div>\n" }]
25648
+ args: [{ selector: 'ccd-query-write-raise-query', standalone: false, template: "<div>\n <div class=\"govuk-!-margin-bottom-6\">\n <div class=\"govuk-caption-l\">{{ 'Raise a query' | rpxTranslate }}</div>\n <h1 class=\"govuk-heading-l govuk-!-margin-bottom-4\">{{ 'Enter query details' | rpxTranslate }}</h1>\n </div>\n\n <div>\n <ccd-query-case-details-header [caseDetails]=\"caseDetails\" *ngIf=\"caseDetails\"></ccd-query-case-details-header>\n </div>\n\n <hr>\n\n <div class=\"govuk-!-margin-bottom-4\" *ngIf=\"showForm\">\n <div [formGroup]=\"formGroup\">\n <div>\n <div class=\"govuk-warning-text\">\n <span class=\"govuk-warning-text__icon\" aria-hidden=\"true\">!</span>\n <strong class=\"govuk-warning-text__text\">\n <span class=\"govuk-visually-hidden\">Warning</span>\n <ccd-markdown\n [content]=\"serviceMessage | rpxTranslate\">\n </ccd-markdown>\n </strong>\n </div>\n <div class=\"govuk-form-group\" [ngClass]=\"{'govuk-form-group--error': submitted && formGroup.get('subject').hasError('required')}\">\n <div class=\"govuk-label-wrapper\">\n <label class=\"govuk-label govuk-label--m govuk-!-font-weight-bold\" for=\"subject\">\n {{ 'Query subject' | rpxTranslate }}\n </label>\n </div>\n <div id=\"subject-hint\" class=\"govuk-hint\">\n {{ 'The subject should be a summary of your query' | rpxTranslate }}\n </div>\n <p id=\"subject-error\" class=\"govuk-error-message\"\n *ngIf=\"submitted && (formGroup.get('subject').hasError('required') || formGroup.get('subject').hasError('maxlength'))\">\n <span class=\"govuk-visually-hidden\">{{ 'Error:' | rpxTranslate }}</span>\n {{ getSubjectErrorMessage() | rpxTranslate }}\n </p>\n\n <input type=\"text\"\n id=\"subject\"\n class=\"govuk-input\"\n formControlName=\"subject\"\n maxlength=\"200\"\n (input)=\"onSubjectInput()\"\n [attr.aria-describedby]=\"\n submitted && (formGroup.get('subject').hasError('required') || formGroup.get('subject').hasError('maxlength'))\n ? 'subject-hint subject-error'\n : 'subject-hint'\n \" />\n </div>\n\n <div class=\"govuk-form-group\"\n [ngClass]=\"{'govuk-form-group--error': submitted && formGroup.get('body').hasError('required')}\">\n <div class=\"govuk-label-wrapper\">\n <label class=\"govuk-label govuk-label--m govuk-!-font-weight-bold\" for=\"body\">\n {{ 'Query detail' | rpxTranslate }}\n </label>\n </div>\n <div id=\"body-hint\" class=\"govuk-hint\">\n {{ 'Include as many details as possible so case workers can respond to your query' | rpxTranslate }}\n </div>\n <p id=\"body-error\" class=\"govuk-error-message\"\n *ngIf=\"submitted && formGroup.get('body').hasError('required')\">\n <span class=\"govuk-visually-hidden\">{{ 'Error:' | rpxTranslate }} </span>{{ raiseQueryErrorMessage.QUERY_BODY | rpxTranslate }}\n </p>\n <textarea [formControlName]=\"'body'\"\n id=\"body\" name=\"body\" rows=\"5\"\n [attr.aria-describedby]=\"submitted && formGroup.get('body').hasError('required') ? 'body-hint body-error' : 'body-hint'\"\n class=\"govuk-textarea\"\n [class.govuk-textarea--error]=\"submitted && formGroup.get('body').hasError('required')\"\n >\n </textarea>\n </div>\n\n <div class=\"govuk-form-group\"\n [ngClass]=\"{'govuk-form-group--error': submitted && formGroup.get('isHearingRelated').hasError('required')}\">\n <fieldset class=\"govuk-fieldset\">\n <legend>\n <label class=\"govuk-label govuk-label--m govuk-!-font-weight-bold\">\n {{ 'Is the query hearing related?' | rpxTranslate }}\n </label>\n </legend>\n <p id=\"isHearingRelated-error\" class=\"govuk-error-message\"\n *ngIf=\"submitted && formGroup.get('isHearingRelated').hasError('required')\">\n <span class=\"govuk-visually-hidden\">{{ 'Error:' | rpxTranslate }} </span>{{ raiseQueryErrorMessage.QUERY_HEARING_RELATED | rpxTranslate }}\n </p>\n <div class=\"govuk-radios govuk-radios--inline\" data-module=\"govuk-radios\">\n <div class=\"govuk-radios__item\">\n <input class=\"govuk-radios__input\" id=\"isHearingRelated-yes\" name=\"isHearingRelated\"\n type=\"radio\"\n [attr.aria-describedby]=\"submitted && formGroup.get('isHearingRelated').hasError('required') ? 'isHearingRelated-error' : null\"\n formControlName=\"isHearingRelated\"\n [checked]=\"formGroup.get('isHearingRelated').value === true\" [value]=\"true\"\n >\n <label class=\"govuk-label govuk-radios__label\" for=\"isHearingRelated-yes\">\n {{ 'Is the query hearing related?' | rpxTranslate: null : 'Yes' }}\n </label>\n </div>\n <div class=\"govuk-radios__item\">\n <input class=\"govuk-radios__input\" id=\"isHearingRelated-no\" name=\"isHearingRelated\"\n type=\"radio\"\n [attr.aria-describedby]=\"submitted && formGroup.get('isHearingRelated').hasError('required') ? 'isHearingRelated-error' : null\"\n formControlName=\"isHearingRelated\"\n [checked]=\"formGroup.get('isHearingRelated').value === false\" [value]=\"false\"\n >\n <label class=\"govuk-label govuk-radios__label\" for=\"isHearingRelated-no\">\n {{ 'Is the query hearing related?' | rpxTranslate: null : 'No' }}\n </label>\n </div>\n </div>\n </fieldset>\n\n <ng-container *ngIf=\"formGroup.get('isHearingRelated').value\">\n <div class=\"govuk-radios__conditional govuk-!-margin-top-1\"\n [ngClass]=\"{'govuk-form-group--error': submitted &&\n formGroup.get('isHearingRelated').value === true &&\n formGroup.get('hearingDate').value === null}\">\n <fieldset class=\"govuk-fieldset\" role=\"group\">\n <legend>\n <label class=\"govuk-label govuk-label--s\">\n {{ 'What is the date of the hearing?' | rpxTranslate }}\n </label>\n </legend>\n <p id=\"hearingDate-error\" class=\"govuk-error-message\"\n *ngIf=\"submitted && formGroup.get('isHearingRelated').value === true && formGroup.get('hearingDate').value === null\">\n <span class=\"govuk-visually-hidden\">{{ 'Error:' | rpxTranslate }} </span>{{ raiseQueryErrorMessage.QUERY_HEARING_DATE | rpxTranslate }}\n </p>\n <ccd-query-write-date-input formControlName=\"hearingDate\"></ccd-query-write-date-input>\n </fieldset>\n </div>\n </ng-container>\n </div>\n </div>\n </div>\n</div>\n" }]
25643
25649
  }], () => [{ type: QueryManagementService }, { type: i1$2.ActivatedRoute }], { formGroup: [{
25644
25650
  type: Input
25645
25651
  }], submitted: [{
@@ -25894,7 +25900,7 @@ class QueryWriteRespondToQueryComponent {
25894
25900
  }] }); })();
25895
25901
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(QueryWriteRespondToQueryComponent, { className: "QueryWriteRespondToQueryComponent", filePath: "lib/shared/components/palette/query-management/components/query-write/query-write-respond-to-query/query-write-respond-to-query.component.ts", lineNumber: 20 }); })();
25896
25902
 
25897
- function QueryConfirmationComponent_main_0_ng_container_3_Conditional_2_Template(rf, ctx) { if (rf & 1) {
25903
+ function QueryConfirmationComponent_div_0_ng_container_3_Conditional_2_Template(rf, ctx) { if (rf & 1) {
25898
25904
  i0.ɵɵelementStart(0, "h1", 8);
25899
25905
  i0.ɵɵtext(1);
25900
25906
  i0.ɵɵpipe(2, "rpxTranslate");
@@ -25909,7 +25915,7 @@ function QueryConfirmationComponent_main_0_ng_container_3_Conditional_2_Template
25909
25915
  i0.ɵɵadvance(3);
25910
25916
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 4, "This query response has been added to the case"));
25911
25917
  } }
25912
- function QueryConfirmationComponent_main_0_ng_container_3_Conditional_3_Template(rf, ctx) { if (rf & 1) {
25918
+ function QueryConfirmationComponent_div_0_ng_container_3_Conditional_3_Template(rf, ctx) { if (rf & 1) {
25913
25919
  i0.ɵɵelementStart(0, "h1", 8);
25914
25920
  i0.ɵɵtext(1);
25915
25921
  i0.ɵɵpipe(2, "rpxTranslate");
@@ -25924,7 +25930,7 @@ function QueryConfirmationComponent_main_0_ng_container_3_Conditional_3_Template
25924
25930
  i0.ɵɵadvance(3);
25925
25931
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 4, "Your query has been sent."));
25926
25932
  } }
25927
- function QueryConfirmationComponent_main_0_ng_container_3_Conditional_4_Template(rf, ctx) { if (rf & 1) {
25933
+ function QueryConfirmationComponent_div_0_ng_container_3_Conditional_4_Template(rf, ctx) { if (rf & 1) {
25928
25934
  i0.ɵɵelementStart(0, "h1", 8);
25929
25935
  i0.ɵɵtext(1);
25930
25936
  i0.ɵɵpipe(2, "rpxTranslate");
@@ -25940,8 +25946,8 @@ function QueryConfirmationComponent_main_0_ng_container_3_Conditional_4_Template
25940
25946
  i0.ɵɵadvance(3);
25941
25947
  i0.ɵɵproperty("content", i0.ɵɵpipeBind1(5, 4, ctx_r0.callbackConfirmationMessageText == null ? null : ctx_r0.callbackConfirmationMessageText.header));
25942
25948
  } }
25943
- function QueryConfirmationComponent_main_0_ng_container_3_Conditional_6_Template(rf, ctx) { if (rf & 1) {
25944
- i0.ɵɵelementStart(0, "h3", 12);
25949
+ function QueryConfirmationComponent_div_0_ng_container_3_Conditional_6_Template(rf, ctx) { if (rf & 1) {
25950
+ i0.ɵɵelementStart(0, "h2", 12);
25945
25951
  i0.ɵɵtext(1);
25946
25952
  i0.ɵɵpipe(2, "rpxTranslate");
25947
25953
  i0.ɵɵelementEnd();
@@ -25960,13 +25966,13 @@ function QueryConfirmationComponent_main_0_ng_container_3_Conditional_6_Template
25960
25966
  i0.ɵɵadvance(3);
25961
25967
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(7, 7, "When the response is available it will be added to the 'Queries' section."));
25962
25968
  } }
25963
- function QueryConfirmationComponent_main_0_ng_container_3_Template(rf, ctx) { if (rf & 1) {
25969
+ function QueryConfirmationComponent_div_0_ng_container_3_Template(rf, ctx) { if (rf & 1) {
25964
25970
  i0.ɵɵelementContainerStart(0);
25965
25971
  i0.ɵɵelementStart(1, "div", 5);
25966
- i0.ɵɵconditionalCreate(2, QueryConfirmationComponent_main_0_ng_container_3_Conditional_2_Template, 6, 6)(3, QueryConfirmationComponent_main_0_ng_container_3_Conditional_3_Template, 6, 6)(4, QueryConfirmationComponent_main_0_ng_container_3_Conditional_4_Template, 6, 6);
25972
+ i0.ɵɵconditionalCreate(2, QueryConfirmationComponent_div_0_ng_container_3_Conditional_2_Template, 6, 6)(3, QueryConfirmationComponent_div_0_ng_container_3_Conditional_3_Template, 6, 6)(4, QueryConfirmationComponent_div_0_ng_container_3_Conditional_4_Template, 6, 6);
25967
25973
  i0.ɵɵelementEnd();
25968
25974
  i0.ɵɵelementStart(5, "div", 6);
25969
- i0.ɵɵconditionalCreate(6, QueryConfirmationComponent_main_0_ng_container_3_Conditional_6_Template, 8, 9);
25975
+ i0.ɵɵconditionalCreate(6, QueryConfirmationComponent_div_0_ng_container_3_Conditional_6_Template, 8, 9);
25970
25976
  i0.ɵɵelementStart(7, "p");
25971
25977
  i0.ɵɵtext(8);
25972
25978
  i0.ɵɵpipe(9, "rpxTranslate");
@@ -25988,7 +25994,7 @@ function QueryConfirmationComponent_main_0_ng_container_3_Template(rf, ctx) { if
25988
25994
  i0.ɵɵadvance();
25989
25995
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(12, 10, "Go back to the case"));
25990
25996
  } }
25991
- function QueryConfirmationComponent_main_0_ng_container_4_Template(rf, ctx) { if (rf & 1) {
25997
+ function QueryConfirmationComponent_div_0_ng_container_4_Template(rf, ctx) { if (rf & 1) {
25992
25998
  i0.ɵɵelementContainerStart(0);
25993
25999
  i0.ɵɵelementStart(1, "div", 5)(2, "h1", 8);
25994
26000
  i0.ɵɵtext(3);
@@ -26028,9 +26034,9 @@ function QueryConfirmationComponent_main_0_ng_container_4_Template(rf, ctx) { if
26028
26034
  i0.ɵɵadvance();
26029
26035
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(17, 21, "Go back to the case"));
26030
26036
  } }
26031
- function QueryConfirmationComponent_main_0_Template(rf, ctx) { if (rf & 1) {
26032
- i0.ɵɵelementStart(0, "main", 1)(1, "div", 2)(2, "div", 3);
26033
- i0.ɵɵtemplate(3, QueryConfirmationComponent_main_0_ng_container_3_Template, 13, 12, "ng-container", 4)(4, QueryConfirmationComponent_main_0_ng_container_4_Template, 18, 23, "ng-container", 4);
26037
+ function QueryConfirmationComponent_div_0_Template(rf, ctx) { if (rf & 1) {
26038
+ i0.ɵɵelementStart(0, "div", 1)(1, "div", 2)(2, "div", 3);
26039
+ i0.ɵɵtemplate(3, QueryConfirmationComponent_div_0_ng_container_3_Template, 13, 12, "ng-container", 4)(4, QueryConfirmationComponent_div_0_ng_container_4_Template, 18, 23, "ng-container", 4);
26034
26040
  i0.ɵɵelementEnd()()();
26035
26041
  } if (rf & 2) {
26036
26042
  const ctx_r0 = i0.ɵɵnextContext();
@@ -26097,14 +26103,14 @@ class QueryConfirmationComponent {
26097
26103
  }
26098
26104
  static ɵfac = function QueryConfirmationComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QueryConfirmationComponent)(i0.ɵɵdirectiveInject(i1$2.ActivatedRoute), i0.ɵɵdirectiveInject(SessionStorageService)); };
26099
26105
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryConfirmationComponent, selectors: [["ccd-query-confirmation"]], inputs: { queryCreateContext: "queryCreateContext", callbackConfirmationMessageText: "callbackConfirmationMessageText", eventResponseData: "eventResponseData" }, standalone: false, decls: 1, vars: 1, consts: [["class", "govuk-main-wrapper", 4, "ngIf"], [1, "govuk-main-wrapper"], [1, "govuk-grid-row"], [1, "govuk-grid-column-two-thirds"], [4, "ngIf"], [1, "govuk-panel", "govuk-panel--confirmation"], [1, "govuk-body"], [1, "govuk-link", 3, "routerLink"], [1, "govuk-panel__title"], [1, "govuk-panel__body"], [1, "qm-confirmation", "govuk-panel__body"], [3, "content"], [1, "govuk-heading-s"], ["id", "tasks-link", 1, "govuk-link", 3, "routerLink"], ["id", "case-link", 1, "govuk-link", 3, "routerLink"]], template: function QueryConfirmationComponent_Template(rf, ctx) { if (rf & 1) {
26100
- i0.ɵɵtemplate(0, QueryConfirmationComponent_main_0_Template, 5, 2, "main", 0);
26106
+ i0.ɵɵtemplate(0, QueryConfirmationComponent_div_0_Template, 5, 2, "div", 0);
26101
26107
  } if (rf & 2) {
26102
26108
  i0.ɵɵproperty("ngIf", ctx.queryCreateContext);
26103
26109
  } }, dependencies: [i5.NgIf, i1$2.RouterLink, MarkdownComponent, i1.RpxTranslatePipe], encapsulation: 2 });
26104
26110
  }
26105
26111
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryConfirmationComponent, [{
26106
26112
  type: Component,
26107
- args: [{ selector: 'ccd-query-confirmation', standalone: false, template: "<main class=\"govuk-main-wrapper\" *ngIf=\"queryCreateContext\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-two-thirds\">\n <ng-container *ngIf=\"queryCreateContext === queryCreateContextEnum.NEW_QUERY || queryCreateContext === queryCreateContextEnum.FOLLOWUP\">\n <div class=\"govuk-panel govuk-panel--confirmation\">\n\n @if (isHmctsStaffRaisedQuery?.toLowerCase() === 'yes' && queryCreateContext === queryCreateContextEnum.FOLLOWUP) {\n <h1 class=\"govuk-panel__title\">{{'Query response submitted' | rpxTranslate}}</h1>\n <div class=\"govuk-panel__body\">{{'This query response has been added to the case' | rpxTranslate}}</div>\n } @else if (isHmctsStaffRaisedQuery?.toLowerCase() === 'yes' && queryCreateContext === queryCreateContextEnum.NEW_QUERY) {\n <h1 class=\"govuk-panel__title\">{{'Query submitted' | rpxTranslate}}</h1>\n <div class=\"govuk-panel__body\">{{'Your query has been sent.' | rpxTranslate}}</div>\n } @else {\n <h1 class=\"govuk-panel__title\">{{'Query submitted' | rpxTranslate}}</h1>\n <div class=\"qm-confirmation govuk-panel__body\">\n <ccd-markdown [content]=\"callbackConfirmationMessageText?.header | rpxTranslate\"></ccd-markdown>\n </div>\n }\n\n </div>\n <div class=\"govuk-body\">\n @if (isHmctsStaff.toLowerCase() !== 'yes') {\n <h3 class=\"govuk-heading-s\">{{'What happens next' | rpxTranslate}}</h3>\n <ccd-markdown [content]=\"callbackConfirmationMessageText?.body | rpxTranslate\"></ccd-markdown>\n <p>{{'When the response is available it will be added to the \\'Queries\\' section.' | rpxTranslate}}</p>\n }\n <p>\n {{'You can' | rpxTranslate}}\n <a class=\"govuk-link\" routerLink=\"/cases/case-details/{{jurisdiction}}/{{caseType}}/{{caseId}}\">{{'Go back to the case' | rpxTranslate}}</a>\n </p>\n\n </div>\n </ng-container>\n <ng-container *ngIf=\"queryCreateContext === queryCreateContextEnum.RESPOND\">\n <div class=\"govuk-panel govuk-panel--confirmation\">\n <h1 class=\"govuk-panel__title\">{{'Query response submitted' | rpxTranslate}}</h1>\n <div class=\"govuk-panel__body\">{{'This query response has been added to the case' | rpxTranslate}}</div>\n </div>\n <div class=\"govuk-body\">\n {{'You can' | rpxTranslate}}\n <a class=\"govuk-link\" id=\"tasks-link\" routerLink=\"/cases/case-details/{{jurisdiction}}/{{caseType}}/{{caseId}}#Tasks\">{{'return to tasks' | rpxTranslate}}</a> or\n <a class=\"govuk-link\" id=\"case-link\" routerLink=\"/cases/case-details/{{jurisdiction}}/{{caseType}}/{{caseId}}\">{{'Go back to the case' | rpxTranslate}}</a>\n </div>\n </ng-container>\n </div>\n </div>\n</main>\n" }]
26113
+ args: [{ selector: 'ccd-query-confirmation', standalone: false, template: "<div class=\"govuk-main-wrapper\" *ngIf=\"queryCreateContext\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-two-thirds\">\n <ng-container *ngIf=\"queryCreateContext === queryCreateContextEnum.NEW_QUERY || queryCreateContext === queryCreateContextEnum.FOLLOWUP\">\n <div class=\"govuk-panel govuk-panel--confirmation\">\n\n @if (isHmctsStaffRaisedQuery?.toLowerCase() === 'yes' && queryCreateContext === queryCreateContextEnum.FOLLOWUP) {\n <h1 class=\"govuk-panel__title\">{{'Query response submitted' | rpxTranslate}}</h1>\n <div class=\"govuk-panel__body\">{{'This query response has been added to the case' | rpxTranslate}}</div>\n } @else if (isHmctsStaffRaisedQuery?.toLowerCase() === 'yes' && queryCreateContext === queryCreateContextEnum.NEW_QUERY) {\n <h1 class=\"govuk-panel__title\">{{'Query submitted' | rpxTranslate}}</h1>\n <div class=\"govuk-panel__body\">{{'Your query has been sent.' | rpxTranslate}}</div>\n } @else {\n <h1 class=\"govuk-panel__title\">{{'Query submitted' | rpxTranslate}}</h1>\n <div class=\"qm-confirmation govuk-panel__body\">\n <ccd-markdown [content]=\"callbackConfirmationMessageText?.header | rpxTranslate\"></ccd-markdown>\n </div>\n }\n\n </div>\n <div class=\"govuk-body\">\n @if (isHmctsStaff.toLowerCase() !== 'yes') {\n <h2 class=\"govuk-heading-s\">{{'What happens next' | rpxTranslate}}</h2>\n <ccd-markdown [content]=\"callbackConfirmationMessageText?.body | rpxTranslate\"></ccd-markdown>\n <p>{{'When the response is available it will be added to the \\'Queries\\' section.' | rpxTranslate}}</p>\n }\n <p>\n {{'You can' | rpxTranslate}}\n <a class=\"govuk-link\" routerLink=\"/cases/case-details/{{jurisdiction}}/{{caseType}}/{{caseId}}\">{{'Go back to the case' | rpxTranslate}}</a>\n </p>\n\n </div>\n </ng-container>\n <ng-container *ngIf=\"queryCreateContext === queryCreateContextEnum.RESPOND\">\n <div class=\"govuk-panel govuk-panel--confirmation\">\n <h1 class=\"govuk-panel__title\">{{'Query response submitted' | rpxTranslate}}</h1>\n <div class=\"govuk-panel__body\">{{'This query response has been added to the case' | rpxTranslate}}</div>\n </div>\n <div class=\"govuk-body\">\n {{'You can' | rpxTranslate}}\n <a class=\"govuk-link\" id=\"tasks-link\" routerLink=\"/cases/case-details/{{jurisdiction}}/{{caseType}}/{{caseId}}#Tasks\">{{'return to tasks' | rpxTranslate}}</a> or\n <a class=\"govuk-link\" id=\"case-link\" routerLink=\"/cases/case-details/{{jurisdiction}}/{{caseType}}/{{caseId}}\">{{'Go back to the case' | rpxTranslate}}</a>\n </div>\n </ng-container>\n </div>\n </div>\n</div>\n" }]
26108
26114
  }], () => [{ type: i1$2.ActivatedRoute }, { type: SessionStorageService }], { queryCreateContext: [{
26109
26115
  type: Input
26110
26116
  }], callbackConfirmationMessageText: [{
@@ -38285,20 +38291,15 @@ class LoadingSpinnerModule {
38285
38291
  }], null, null); })();
38286
38292
  (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(LoadingSpinnerModule, { declarations: [LoadingSpinnerComponent], imports: [CommonModule, i1.RpxTranslationModule], exports: [LoadingSpinnerComponent] }); })();
38287
38293
 
38288
- function CaseEditGenericErrorsComponent_div_0_Template(rf, ctx) { if (rf & 1) {
38289
- i0.ɵɵelementStart(0, "div", 1)(1, "h2", 2);
38290
- i0.ɵɵtext(2, " Something went wrong ");
38291
- i0.ɵɵelementEnd();
38292
- i0.ɵɵelementStart(3, "div", 3)(4, "p", 4);
38293
- i0.ɵɵtext(5, "We're working to fix the problem. Try again shortly.");
38294
- i0.ɵɵelementEnd();
38295
- i0.ɵɵelementStart(6, "p", 4)(7, "a", 5);
38296
- i0.ɵɵtext(8, "Contact us");
38297
- i0.ɵɵelementEnd();
38298
- i0.ɵɵtext(9, " if you're still having problems.");
38299
- i0.ɵɵelementEnd()()();
38294
+ function CaseEditGenericErrorsComponent_div_0_ng_container_2_Template(rf, ctx) { if (rf & 1) {
38295
+ i0.ɵɵelementContainerStart(0);
38296
+ i0.ɵɵtext(1, "The event could not be created");
38297
+ i0.ɵɵelementContainerEnd();
38298
+ } }
38299
+ function CaseEditGenericErrorsComponent_div_0_ng_template_3_Template(rf, ctx) { if (rf & 1) {
38300
+ i0.ɵɵtext(0, "Something went wrong");
38300
38301
  } }
38301
- function CaseEditGenericErrorsComponent_div_1_ul_6_li_1_Template(rf, ctx) { if (rf & 1) {
38302
+ function CaseEditGenericErrorsComponent_div_0_ng_container_6_ul_3_li_1_Template(rf, ctx) { if (rf & 1) {
38302
38303
  i0.ɵɵelementStart(0, "li");
38303
38304
  i0.ɵɵtext(1);
38304
38305
  i0.ɵɵelementEnd();
@@ -38307,45 +38308,67 @@ function CaseEditGenericErrorsComponent_div_1_ul_6_li_1_Template(rf, ctx) { if (
38307
38308
  i0.ɵɵadvance();
38308
38309
  i0.ɵɵtextInterpolate(fieldError_r1.message);
38309
38310
  } }
38310
- function CaseEditGenericErrorsComponent_div_1_ul_6_Template(rf, ctx) { if (rf & 1) {
38311
- i0.ɵɵelementStart(0, "ul", 8);
38312
- i0.ɵɵtemplate(1, CaseEditGenericErrorsComponent_div_1_ul_6_li_1_Template, 2, 1, "li", 9);
38311
+ function CaseEditGenericErrorsComponent_div_0_ng_container_6_ul_3_Template(rf, ctx) { if (rf & 1) {
38312
+ i0.ɵɵelementStart(0, "ul", 9);
38313
+ i0.ɵɵtemplate(1, CaseEditGenericErrorsComponent_div_0_ng_container_6_ul_3_li_1_Template, 2, 1, "li", 10);
38313
38314
  i0.ɵɵelementEnd();
38314
38315
  } if (rf & 2) {
38315
- const ctx_r1 = i0.ɵɵnextContext(2);
38316
+ const ctx_r1 = i0.ɵɵnextContext(3);
38316
38317
  i0.ɵɵadvance();
38317
38318
  i0.ɵɵproperty("ngForOf", ctx_r1.error.details.field_errors);
38318
38319
  } }
38319
- function CaseEditGenericErrorsComponent_div_1_Template(rf, ctx) { if (rf & 1) {
38320
- i0.ɵɵelementStart(0, "div", 1)(1, "h2", 2);
38321
- i0.ɵɵtext(2, " The event could not be created ");
38322
- i0.ɵɵelementEnd();
38323
- i0.ɵɵelementStart(3, "div", 6)(4, "p", 4);
38324
- i0.ɵɵtext(5);
38320
+ function CaseEditGenericErrorsComponent_div_0_ng_container_6_Template(rf, ctx) { if (rf & 1) {
38321
+ i0.ɵɵelementContainerStart(0);
38322
+ i0.ɵɵelementStart(1, "p", 7);
38323
+ i0.ɵɵtext(2);
38325
38324
  i0.ɵɵelementEnd();
38326
- i0.ɵɵtemplate(6, CaseEditGenericErrorsComponent_div_1_ul_6_Template, 2, 1, "ul", 7);
38327
- i0.ɵɵelementEnd()();
38325
+ i0.ɵɵtemplate(3, CaseEditGenericErrorsComponent_div_0_ng_container_6_ul_3_Template, 2, 1, "ul", 8);
38326
+ i0.ɵɵelementContainerEnd();
38328
38327
  } if (rf & 2) {
38329
- const ctx_r1 = i0.ɵɵnextContext();
38330
- i0.ɵɵadvance(5);
38328
+ const ctx_r1 = i0.ɵɵnextContext(2);
38329
+ i0.ɵɵadvance(2);
38331
38330
  i0.ɵɵtextInterpolate(ctx_r1.error.message);
38332
38331
  i0.ɵɵadvance();
38333
38332
  i0.ɵɵproperty("ngIf", ctx_r1.error.details == null ? null : ctx_r1.error.details.field_errors);
38334
38333
  } }
38334
+ function CaseEditGenericErrorsComponent_div_0_ng_template_7_Template(rf, ctx) { if (rf & 1) {
38335
+ i0.ɵɵelementStart(0, "p", 7);
38336
+ i0.ɵɵtext(1, "We're working to fix the problem. Try again shortly.");
38337
+ i0.ɵɵelementEnd();
38338
+ i0.ɵɵelementStart(2, "p", 7)(3, "a", 11);
38339
+ i0.ɵɵtext(4, "Contact us");
38340
+ i0.ɵɵelementEnd();
38341
+ i0.ɵɵtext(5, " if you're still having problems.");
38342
+ i0.ɵɵelementEnd();
38343
+ } }
38344
+ function CaseEditGenericErrorsComponent_div_0_Template(rf, ctx) { if (rf & 1) {
38345
+ i0.ɵɵelementStart(0, "div", 3)(1, "h2", 4);
38346
+ i0.ɵɵtemplate(2, CaseEditGenericErrorsComponent_div_0_ng_container_2_Template, 2, 0, "ng-container", 5)(3, CaseEditGenericErrorsComponent_div_0_ng_template_3_Template, 1, 0, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
38347
+ i0.ɵɵelementEnd();
38348
+ i0.ɵɵelementStart(5, "div", 6);
38349
+ i0.ɵɵtemplate(6, CaseEditGenericErrorsComponent_div_0_ng_container_6_Template, 4, 2, "ng-container", 5)(7, CaseEditGenericErrorsComponent_div_0_ng_template_7_Template, 6, 0, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
38350
+ i0.ɵɵelementEnd()();
38351
+ } if (rf & 2) {
38352
+ const genericErrorTitle_r3 = i0.ɵɵreference(4);
38353
+ const genericErrorBody_r4 = i0.ɵɵreference(8);
38354
+ const ctx_r1 = i0.ɵɵnextContext();
38355
+ i0.ɵɵadvance(2);
38356
+ i0.ɵɵproperty("ngIf", ctx_r1.error.details || ctx_r1.error.message)("ngIfElse", genericErrorTitle_r3);
38357
+ i0.ɵɵadvance(4);
38358
+ i0.ɵɵproperty("ngIf", ctx_r1.error.details || ctx_r1.error.message)("ngIfElse", genericErrorBody_r4);
38359
+ } }
38335
38360
  class CaseEditGenericErrorsComponent {
38336
38361
  error;
38337
38362
  static ɵfac = function CaseEditGenericErrorsComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseEditGenericErrorsComponent)(); };
38338
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseEditGenericErrorsComponent, selectors: [["ccd-case-edit-generic-errors"]], inputs: { error: "error" }, standalone: false, features: [i0.ɵɵProvidersFeature([])], decls: 2, vars: 2, consts: [["class", "govuk-error-summary", "role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 4, "ngIf"], ["role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 1, "govuk-error-summary"], ["id", "edit-case-event_error-summary-heading", 1, "govuk-error-summary__title"], ["id", "edit-case-event_error-summary-body", 1, "govuk-error-summary__body"], [1, "govuk-body"], ["href", "get-help", "target", "_blank"], [1, "govuk-error-summary__body"], ["class", "govuk-list govuk-error-summary__list", 4, "ngIf"], [1, "govuk-list", "govuk-error-summary__list"], [4, "ngFor", "ngForOf"]], template: function CaseEditGenericErrorsComponent_Template(rf, ctx) { if (rf & 1) {
38339
- i0.ɵɵtemplate(0, CaseEditGenericErrorsComponent_div_0_Template, 10, 0, "div", 0)(1, CaseEditGenericErrorsComponent_div_1_Template, 7, 2, "div", 0);
38363
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseEditGenericErrorsComponent, selectors: [["ccd-case-edit-generic-errors"]], inputs: { error: "error" }, standalone: false, features: [i0.ɵɵProvidersFeature([])], decls: 1, vars: 1, consts: [["genericErrorTitle", ""], ["genericErrorBody", ""], ["class", "govuk-error-summary", "role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 4, "ngIf"], ["role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 1, "govuk-error-summary"], ["id", "edit-case-event_error-summary-heading", 1, "govuk-error-summary__title"], [4, "ngIf", "ngIfElse"], ["id", "edit-case-event_error-summary-body", 1, "govuk-error-summary__body"], [1, "govuk-body"], ["class", "govuk-list govuk-error-summary__list", 4, "ngIf"], [1, "govuk-list", "govuk-error-summary__list"], [4, "ngFor", "ngForOf"], ["href", "get-help", "target", "_blank"]], template: function CaseEditGenericErrorsComponent_Template(rf, ctx) { if (rf & 1) {
38364
+ i0.ɵɵtemplate(0, CaseEditGenericErrorsComponent_div_0_Template, 9, 4, "div", 2);
38340
38365
  } if (rf & 2) {
38341
- i0.ɵɵproperty("ngIf", ctx.error && (!(ctx.error.callbackErrors || ctx.error.callbackWarnings || ctx.error.details) && !ctx.error.message));
38342
- i0.ɵɵadvance();
38343
- i0.ɵɵproperty("ngIf", ctx.error && (ctx.error.details || ctx.error.message));
38366
+ i0.ɵɵproperty("ngIf", ctx.error && (ctx.error.details || ctx.error.message || !(ctx.error.callbackErrors || ctx.error.callbackWarnings)));
38344
38367
  } }, dependencies: [i5.NgForOf, i5.NgIf], styles: ["#fieldset-case-data[_ngcontent-%COMP%]{margin-bottom:30px}#fieldset-case-data[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{width:1%;white-space:nowrap;vertical-align:top}.compound-field[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:0}#confirmation-header[_ngcontent-%COMP%]{width:630px;background-color:#17958b;border:solid 1px #979797;color:#fff;text-align:center}#confirmation-body[_ngcontent-%COMP%]{width:630px;background-color:#fff}.valign-top[_ngcontent-%COMP%]{vertical-align:top}.summary-fields[_ngcontent-%COMP%]{margin-bottom:30px}.summary-fields[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%], .summary-fields[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:0px}a.disabled[_ngcontent-%COMP%]{pointer-events:none;cursor:default}.case-field-label[_ngcontent-%COMP%]{width:45%}.case-field-content[_ngcontent-%COMP%]{width:50%}.no-bottom-border[_ngcontent-%COMP%]{border-bottom:none}.case-field-change[_ngcontent-%COMP%]{width:5%}.refresh-modal-backdrop[_ngcontent-%COMP%]{position:fixed;inset:0;background:#0006;display:flex;align-items:center;justify-content:center;z-index:1000}.refresh-modal[_ngcontent-%COMP%]{background:#fff;padding:24px;max-width:520px;width:90%;box-shadow:0 8px 24px #0003;border-radius:4px;text-align:center}.refresh-modal[_ngcontent-%COMP%] .govuk-button[_ngcontent-%COMP%]{margin-top:12px}"] });
38345
38368
  }
38346
38369
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseEditGenericErrorsComponent, [{
38347
38370
  type: Component,
38348
- args: [{ selector: 'ccd-case-edit-generic-errors', providers: [], standalone: false, template: "<!-- Generic error heading and error message to be displayed only if there are no specific callback errors or warnings, or no error details -->\n<div *ngIf=\"error && (!(error.callbackErrors || error.callbackWarnings || error.details) && !error.message)\" class=\"govuk-error-summary\" role=\"group\" aria-labelledby=\"edit-case-event_error-summary-heading\" tabindex=\"-1\">\n <h2 class=\"govuk-error-summary__title\" id=\"edit-case-event_error-summary-heading\">\n Something went wrong\n </h2>\n <div class=\"govuk-error-summary__body\" id=\"edit-case-event_error-summary-body\">\n <p class=\"govuk-body\">We're working to fix the problem. Try again shortly.</p>\n <p class=\"govuk-body\"><a href=\"get-help\" target=\"_blank\">Contact us</a> if you're still having problems.</p>\n </div>\n </div>\n <!-- Event error heading and error message to be displayed if there are specific error details -->\n <div *ngIf=\"error && (error.details || error.message)\" class=\"govuk-error-summary\" role=\"group\" aria-labelledby=\"edit-case-event_error-summary-heading\" tabindex=\"-1\">\n <h2 class=\"govuk-error-summary__title\" id=\"edit-case-event_error-summary-heading\">\n The event could not be created\n </h2>\n <div class=\"govuk-error-summary__body\">\n <p class=\"govuk-body\">{{error.message}}</p>\n <ul *ngIf=\"error.details?.field_errors\" class=\"govuk-list govuk-error-summary__list\">\n <li *ngFor=\"let fieldError of error.details.field_errors\">{{fieldError.message}}</li>\n </ul>\n </div>\n </div>\n ", styles: ["#fieldset-case-data{margin-bottom:30px}#fieldset-case-data th{width:1%;white-space:nowrap;vertical-align:top}.compound-field td{padding:0}#confirmation-header{width:630px;background-color:#17958b;border:solid 1px #979797;color:#fff;text-align:center}#confirmation-body{width:630px;background-color:#fff}.valign-top{vertical-align:top}.summary-fields{margin-bottom:30px}.summary-fields tbody tr th,.summary-fields tbody tr td{border-bottom:0px}a.disabled{pointer-events:none;cursor:default}.case-field-label{width:45%}.case-field-content{width:50%}.no-bottom-border{border-bottom:none}.case-field-change{width:5%}.refresh-modal-backdrop{position:fixed;inset:0;background:#0006;display:flex;align-items:center;justify-content:center;z-index:1000}.refresh-modal{background:#fff;padding:24px;max-width:520px;width:90%;box-shadow:0 8px 24px #0003;border-radius:4px;text-align:center}.refresh-modal .govuk-button{margin-top:12px}\n"] }]
38371
+ args: [{ selector: 'ccd-case-edit-generic-errors', providers: [], standalone: false, template: "<div *ngIf=\"error && (error.details || error.message || !(error.callbackErrors || error.callbackWarnings))\" class=\"govuk-error-summary\" role=\"group\" aria-labelledby=\"edit-case-event_error-summary-heading\" tabindex=\"-1\">\n <h2 class=\"govuk-error-summary__title\" id=\"edit-case-event_error-summary-heading\">\n <ng-container *ngIf=\"error.details || error.message; else genericErrorTitle\">The event could not be created</ng-container>\n <ng-template #genericErrorTitle>Something went wrong</ng-template>\n </h2>\n <div class=\"govuk-error-summary__body\" id=\"edit-case-event_error-summary-body\">\n <ng-container *ngIf=\"error.details || error.message; else genericErrorBody\">\n <p class=\"govuk-body\">{{error.message}}</p>\n <ul *ngIf=\"error.details?.field_errors\" class=\"govuk-list govuk-error-summary__list\">\n <li *ngFor=\"let fieldError of error.details.field_errors\">{{fieldError.message}}</li>\n </ul>\n </ng-container>\n <ng-template #genericErrorBody>\n <p class=\"govuk-body\">We're working to fix the problem. Try again shortly.</p>\n <p class=\"govuk-body\"><a href=\"get-help\" target=\"_blank\">Contact us</a> if you're still having problems.</p>\n </ng-template>\n </div>\n</div>\n", styles: ["#fieldset-case-data{margin-bottom:30px}#fieldset-case-data th{width:1%;white-space:nowrap;vertical-align:top}.compound-field td{padding:0}#confirmation-header{width:630px;background-color:#17958b;border:solid 1px #979797;color:#fff;text-align:center}#confirmation-body{width:630px;background-color:#fff}.valign-top{vertical-align:top}.summary-fields{margin-bottom:30px}.summary-fields tbody tr th,.summary-fields tbody tr td{border-bottom:0px}a.disabled{pointer-events:none;cursor:default}.case-field-label{width:45%}.case-field-content{width:50%}.no-bottom-border{border-bottom:none}.case-field-change{width:5%}.refresh-modal-backdrop{position:fixed;inset:0;background:#0006;display:flex;align-items:center;justify-content:center;z-index:1000}.refresh-modal{background:#fff;padding:24px;max-width:520px;width:90%;box-shadow:0 8px 24px #0003;border-radius:4px;text-align:center}.refresh-modal .govuk-button{margin-top:12px}\n"] }]
38349
38372
  }], null, { error: [{
38350
38373
  type: Input
38351
38374
  }] }); })();
@@ -41282,33 +41305,22 @@ class DialogsModule {
41282
41305
 
41283
41306
  const _c0$c = ["tabGroup"];
41284
41307
  const _c1$3 = (a0, a1) => [a0, false, undefined, true, a1];
41285
- function CaseFullAccessViewComponent_div_0_Template(rf, ctx) { if (rf & 1) {
41286
- i0.ɵɵelementStart(0, "div", 12)(1, "h2", 13);
41287
- i0.ɵɵtext(2);
41288
- i0.ɵɵpipe(3, "rpxTranslate");
41289
- i0.ɵɵelementEnd();
41290
- i0.ɵɵelementStart(4, "div", 14)(5, "p", 15);
41291
- i0.ɵɵtext(6);
41292
- i0.ɵɵpipe(7, "rpxTranslate");
41293
- i0.ɵɵelementEnd();
41294
- i0.ɵɵelementStart(8, "p", 15)(9, "a", 16);
41295
- i0.ɵɵtext(10);
41296
- i0.ɵɵpipe(11, "rpxTranslate");
41297
- i0.ɵɵelementEnd();
41298
- i0.ɵɵtext(12);
41299
- i0.ɵɵpipe(13, "rpxTranslate");
41300
- i0.ɵɵelementEnd()()();
41308
+ function CaseFullAccessViewComponent_div_0_ng_container_2_Template(rf, ctx) { if (rf & 1) {
41309
+ i0.ɵɵelementContainerStart(0);
41310
+ i0.ɵɵtext(1);
41311
+ i0.ɵɵpipe(2, "rpxTranslate");
41312
+ i0.ɵɵelementContainerEnd();
41301
41313
  } if (rf & 2) {
41302
- i0.ɵɵadvance(2);
41303
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 4, "Something went wrong"), " ");
41304
- i0.ɵɵadvance(4);
41305
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(7, 6, "We're working to fix the problem. Try again shortly."));
41306
- i0.ɵɵadvance(4);
41307
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(11, 8, "Contact us"));
41308
- i0.ɵɵadvance(2);
41309
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(13, 10, "if you're still having problems."), " ");
41314
+ i0.ɵɵadvance();
41315
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "The callback data failed validation"));
41310
41316
  } }
41311
- function CaseFullAccessViewComponent_div_1_ul_8_li_1_Template(rf, ctx) { if (rf & 1) {
41317
+ function CaseFullAccessViewComponent_div_0_ng_template_3_Template(rf, ctx) { if (rf & 1) {
41318
+ i0.ɵɵtext(0);
41319
+ i0.ɵɵpipe(1, "rpxTranslate");
41320
+ } if (rf & 2) {
41321
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(1, 1, "Something went wrong"));
41322
+ } }
41323
+ function CaseFullAccessViewComponent_div_0_ng_container_6_ul_4_li_1_Template(rf, ctx) { if (rf & 1) {
41312
41324
  i0.ɵɵelementStart(0, "li");
41313
41325
  i0.ɵɵtext(1);
41314
41326
  i0.ɵɵpipe(2, "rpxTranslate");
@@ -41318,37 +41330,68 @@ function CaseFullAccessViewComponent_div_1_ul_8_li_1_Template(rf, ctx) { if (rf
41318
41330
  i0.ɵɵadvance();
41319
41331
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, fieldError_r1.message), " ");
41320
41332
  } }
41321
- function CaseFullAccessViewComponent_div_1_ul_8_Template(rf, ctx) { if (rf & 1) {
41322
- i0.ɵɵelementStart(0, "ul", 19);
41323
- i0.ɵɵtemplate(1, CaseFullAccessViewComponent_div_1_ul_8_li_1_Template, 3, 3, "li", 20);
41333
+ function CaseFullAccessViewComponent_div_0_ng_container_6_ul_4_Template(rf, ctx) { if (rf & 1) {
41334
+ i0.ɵɵelementStart(0, "ul", 20);
41335
+ i0.ɵɵtemplate(1, CaseFullAccessViewComponent_div_0_ng_container_6_ul_4_li_1_Template, 3, 3, "li", 21);
41324
41336
  i0.ɵɵelementEnd();
41325
41337
  } if (rf & 2) {
41326
- const ctx_r1 = i0.ɵɵnextContext(2);
41338
+ const ctx_r1 = i0.ɵɵnextContext(3);
41327
41339
  i0.ɵɵadvance();
41328
41340
  i0.ɵɵproperty("ngForOf", ctx_r1.error.details.field_errors);
41329
41341
  } }
41330
- function CaseFullAccessViewComponent_div_1_Template(rf, ctx) { if (rf & 1) {
41331
- i0.ɵɵelementStart(0, "div", 12)(1, "h2", 13);
41342
+ function CaseFullAccessViewComponent_div_0_ng_container_6_Template(rf, ctx) { if (rf & 1) {
41343
+ i0.ɵɵelementContainerStart(0);
41344
+ i0.ɵɵelementStart(1, "p", 18);
41332
41345
  i0.ɵɵtext(2);
41333
41346
  i0.ɵɵpipe(3, "rpxTranslate");
41334
41347
  i0.ɵɵelementEnd();
41335
- i0.ɵɵelementStart(4, "div", 17)(5, "p", 15);
41336
- i0.ɵɵtext(6);
41337
- i0.ɵɵpipe(7, "rpxTranslate");
41348
+ i0.ɵɵtemplate(4, CaseFullAccessViewComponent_div_0_ng_container_6_ul_4_Template, 2, 1, "ul", 19);
41349
+ i0.ɵɵelementContainerEnd();
41350
+ } if (rf & 2) {
41351
+ const ctx_r1 = i0.ɵɵnextContext(2);
41352
+ i0.ɵɵadvance(2);
41353
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 2, ctx_r1.error.message));
41354
+ i0.ɵɵadvance(2);
41355
+ i0.ɵɵproperty("ngIf", ctx_r1.error.details == null ? null : ctx_r1.error.details.field_errors);
41356
+ } }
41357
+ function CaseFullAccessViewComponent_div_0_ng_template_7_Template(rf, ctx) { if (rf & 1) {
41358
+ i0.ɵɵelementStart(0, "p", 18);
41359
+ i0.ɵɵtext(1);
41360
+ i0.ɵɵpipe(2, "rpxTranslate");
41361
+ i0.ɵɵelementEnd();
41362
+ i0.ɵɵelementStart(3, "p", 18)(4, "a", 22);
41363
+ i0.ɵɵtext(5);
41364
+ i0.ɵɵpipe(6, "rpxTranslate");
41365
+ i0.ɵɵelementEnd();
41366
+ i0.ɵɵtext(7);
41367
+ i0.ɵɵpipe(8, "rpxTranslate");
41368
+ i0.ɵɵelementEnd();
41369
+ } if (rf & 2) {
41370
+ i0.ɵɵadvance();
41371
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 3, "We're working to fix the problem. Try again shortly."));
41372
+ i0.ɵɵadvance(4);
41373
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 5, "Contact us"));
41374
+ i0.ɵɵadvance(2);
41375
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(8, 7, "if you're still having problems."), " ");
41376
+ } }
41377
+ function CaseFullAccessViewComponent_div_0_Template(rf, ctx) { if (rf & 1) {
41378
+ i0.ɵɵelementStart(0, "div", 14)(1, "h2", 15);
41379
+ i0.ɵɵtemplate(2, CaseFullAccessViewComponent_div_0_ng_container_2_Template, 3, 3, "ng-container", 16)(3, CaseFullAccessViewComponent_div_0_ng_template_3_Template, 2, 3, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
41338
41380
  i0.ɵɵelementEnd();
41339
- i0.ɵɵtemplate(8, CaseFullAccessViewComponent_div_1_ul_8_Template, 2, 1, "ul", 18);
41381
+ i0.ɵɵelementStart(5, "div", 17);
41382
+ i0.ɵɵtemplate(6, CaseFullAccessViewComponent_div_0_ng_container_6_Template, 5, 4, "ng-container", 16)(7, CaseFullAccessViewComponent_div_0_ng_template_7_Template, 9, 9, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
41340
41383
  i0.ɵɵelementEnd()();
41341
41384
  } if (rf & 2) {
41385
+ const genericErrorTitle_r3 = i0.ɵɵreference(4);
41386
+ const genericErrorBody_r4 = i0.ɵɵreference(8);
41342
41387
  const ctx_r1 = i0.ɵɵnextContext();
41343
41388
  i0.ɵɵadvance(2);
41344
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 3, "The callback data failed validation"), " ");
41389
+ i0.ɵɵproperty("ngIf", ctx_r1.error.details)("ngIfElse", genericErrorTitle_r3);
41345
41390
  i0.ɵɵadvance(4);
41346
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(7, 5, ctx_r1.error.message));
41347
- i0.ɵɵadvance(2);
41348
- i0.ɵɵproperty("ngIf", ctx_r1.error.details == null ? null : ctx_r1.error.details.field_errors);
41391
+ i0.ɵɵproperty("ngIf", ctx_r1.error.details)("ngIfElse", genericErrorBody_r4);
41349
41392
  } }
41350
- function CaseFullAccessViewComponent_div_7_Template(rf, ctx) { if (rf & 1) {
41351
- i0.ɵɵelementStart(0, "div", 21)(1, "a", 22);
41393
+ function CaseFullAccessViewComponent_div_6_Template(rf, ctx) { if (rf & 1) {
41394
+ i0.ɵɵelementStart(0, "div", 23)(1, "a", 24);
41352
41395
  i0.ɵɵtext(2);
41353
41396
  i0.ɵɵpipe(3, "rpxTranslate");
41354
41397
  i0.ɵɵelementEnd()();
@@ -41356,174 +41399,174 @@ function CaseFullAccessViewComponent_div_7_Template(rf, ctx) { if (rf & 1) {
41356
41399
  i0.ɵɵadvance(2);
41357
41400
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 1, "Print"));
41358
41401
  } }
41359
- function CaseFullAccessViewComponent_div_8_Template(rf, ctx) { if (rf & 1) {
41360
- const _r3 = i0.ɵɵgetCurrentView();
41361
- i0.ɵɵelementStart(0, "div", 5)(1, "ccd-event-trigger", 23);
41362
- i0.ɵɵlistener("onTriggerChange", function CaseFullAccessViewComponent_div_8_Template_ccd_event_trigger_onTriggerChange_1_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.clearErrorsAndWarnings()); })("onTriggerSubmit", function CaseFullAccessViewComponent_div_8_Template_ccd_event_trigger_onTriggerSubmit_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.applyTrigger($event)); });
41402
+ function CaseFullAccessViewComponent_div_7_Template(rf, ctx) { if (rf & 1) {
41403
+ const _r5 = i0.ɵɵgetCurrentView();
41404
+ i0.ɵɵelementStart(0, "div", 7)(1, "ccd-event-trigger", 25);
41405
+ i0.ɵɵlistener("onTriggerChange", function CaseFullAccessViewComponent_div_7_Template_ccd_event_trigger_onTriggerChange_1_listener() { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.clearErrorsAndWarnings()); })("onTriggerSubmit", function CaseFullAccessViewComponent_div_7_Template_ccd_event_trigger_onTriggerSubmit_1_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.applyTrigger($event)); });
41363
41406
  i0.ɵɵelementEnd()();
41364
41407
  } if (rf & 2) {
41365
41408
  const ctx_r1 = i0.ɵɵnextContext();
41366
41409
  i0.ɵɵadvance();
41367
41410
  i0.ɵɵproperty("isDisabled", ctx_r1.isTriggerButtonDisabled())("triggers", ctx_r1.caseDetails.triggers)("triggerText", ctx_r1.triggerText)("eventId", ctx_r1.eventId);
41368
41411
  } }
41369
- function CaseFullAccessViewComponent_div_9_Template(rf, ctx) { if (rf & 1) {
41370
- const _r4 = i0.ɵɵgetCurrentView();
41371
- i0.ɵɵelementStart(0, "div", 4)(1, "div", 10)(2, "ccd-notification-banner", 24);
41372
- i0.ɵɵlistener("linkClicked", function CaseFullAccessViewComponent_div_9_Template_ccd_notification_banner_linkClicked_2_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onLinkClicked($event)); });
41412
+ function CaseFullAccessViewComponent_div_8_Template(rf, ctx) { if (rf & 1) {
41413
+ const _r6 = i0.ɵɵgetCurrentView();
41414
+ i0.ɵɵelementStart(0, "div", 6)(1, "div", 12)(2, "ccd-notification-banner", 26);
41415
+ i0.ɵɵlistener("linkClicked", function CaseFullAccessViewComponent_div_8_Template_ccd_notification_banner_linkClicked_2_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onLinkClicked($event)); });
41373
41416
  i0.ɵɵelementEnd()()();
41374
41417
  } if (rf & 2) {
41375
41418
  const ctx_r1 = i0.ɵɵnextContext();
41376
41419
  i0.ɵɵadvance(2);
41377
41420
  i0.ɵɵproperty("notificationBannerConfig", ctx_r1.notificationBannerConfig);
41378
41421
  } }
41379
- function CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_2_ng_container_0_Template(rf, ctx) { if (rf & 1) {
41422
+ function CaseFullAccessViewComponent_ng_container_11_mat_tab_3_ng_template_2_ng_container_0_Template(rf, ctx) { if (rf & 1) {
41380
41423
  i0.ɵɵelementContainerStart(0);
41381
41424
  i0.ɵɵelement(1, "exui-tasks-ce");
41382
41425
  i0.ɵɵelementContainerEnd();
41383
41426
  } }
41384
- function CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
41427
+ function CaseFullAccessViewComponent_ng_container_11_mat_tab_3_ng_template_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
41385
41428
  i0.ɵɵelementContainerStart(0);
41386
41429
  i0.ɵɵelement(1, "exui-roles-and-access-ce");
41387
41430
  i0.ɵɵelementContainerEnd();
41388
41431
  } }
41389
- function CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_2_Template(rf, ctx) { if (rf & 1) {
41390
- i0.ɵɵtemplate(0, CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_2_ng_container_0_Template, 2, 0, "ng-container", 11)(1, CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_2_ng_container_1_Template, 2, 0, "ng-container", 11);
41432
+ function CaseFullAccessViewComponent_ng_container_11_mat_tab_3_ng_template_2_Template(rf, ctx) { if (rf & 1) {
41433
+ i0.ɵɵtemplate(0, CaseFullAccessViewComponent_ng_container_11_mat_tab_3_ng_template_2_ng_container_0_Template, 2, 0, "ng-container", 13)(1, CaseFullAccessViewComponent_ng_container_11_mat_tab_3_ng_template_2_ng_container_1_Template, 2, 0, "ng-container", 13);
41391
41434
  } if (rf & 2) {
41392
- const tab_r6 = i0.ɵɵnextContext().$implicit;
41393
- i0.ɵɵproperty("ngIf", tab_r6.id === "tasks");
41435
+ const tab_r8 = i0.ɵɵnextContext().$implicit;
41436
+ i0.ɵɵproperty("ngIf", tab_r8.id === "tasks");
41394
41437
  i0.ɵɵadvance();
41395
- i0.ɵɵproperty("ngIf", tab_r6.id === "roles-and-access");
41438
+ i0.ɵɵproperty("ngIf", tab_r8.id === "roles-and-access");
41396
41439
  } }
41397
- function CaseFullAccessViewComponent_ng_container_12_mat_tab_3_Template(rf, ctx) { if (rf & 1) {
41398
- i0.ɵɵelementStart(0, "mat-tab", 28);
41440
+ function CaseFullAccessViewComponent_ng_container_11_mat_tab_3_Template(rf, ctx) { if (rf & 1) {
41441
+ i0.ɵɵelementStart(0, "mat-tab", 30);
41399
41442
  i0.ɵɵpipe(1, "rpxTranslate");
41400
- i0.ɵɵtemplate(2, CaseFullAccessViewComponent_ng_container_12_mat_tab_3_ng_template_2_Template, 2, 2, "ng-template", 29);
41443
+ i0.ɵɵtemplate(2, CaseFullAccessViewComponent_ng_container_11_mat_tab_3_ng_template_2_Template, 2, 2, "ng-template", 31);
41401
41444
  i0.ɵɵelementEnd();
41402
41445
  } if (rf & 2) {
41403
- const tab_r6 = ctx.$implicit;
41404
- i0.ɵɵproperty("label", i0.ɵɵpipeBind1(1, 2, tab_r6.label));
41405
- i0.ɵɵattribute("data-case-tab-id", tab_r6.id);
41446
+ const tab_r8 = ctx.$implicit;
41447
+ i0.ɵɵproperty("label", i0.ɵɵpipeBind1(1, 2, tab_r8.label));
41448
+ i0.ɵɵattribute("data-case-tab-id", tab_r8.id);
41406
41449
  } }
41407
- function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_container_3_tr_4_th_1_Template(rf, ctx) { if (rf & 1) {
41408
- i0.ɵɵelementStart(0, "th", 39)(1, "div", 40);
41450
+ function CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_3_ng_container_3_tr_4_th_1_Template(rf, ctx) { if (rf & 1) {
41451
+ i0.ɵɵelementStart(0, "th", 41)(1, "div", 42);
41409
41452
  i0.ɵɵtext(2);
41410
41453
  i0.ɵɵpipe(3, "rpxTranslate");
41411
41454
  i0.ɵɵelementEnd()();
41412
41455
  } if (rf & 2) {
41413
- const field_r7 = i0.ɵɵnextContext(2).$implicit;
41414
- i0.ɵɵproperty("id", "case-viewer-field-label--" + field_r7.id);
41456
+ const field_r9 = i0.ɵɵnextContext(2).$implicit;
41457
+ i0.ɵɵproperty("id", "case-viewer-field-label--" + field_r9.id);
41415
41458
  i0.ɵɵadvance(2);
41416
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, field_r7.label));
41459
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, field_r9.label));
41417
41460
  } }
41418
- function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_container_3_tr_4_Template(rf, ctx) { if (rf & 1) {
41461
+ function CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_3_ng_container_3_tr_4_Template(rf, ctx) { if (rf & 1) {
41419
41462
  i0.ɵɵelementStart(0, "tr");
41420
- i0.ɵɵtemplate(1, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_container_3_tr_4_th_1_Template, 4, 4, "th", 35);
41421
- i0.ɵɵelementStart(2, "td", 36)(3, "span", 37);
41422
- i0.ɵɵelement(4, "ccd-field-read", 38);
41463
+ i0.ɵɵtemplate(1, CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_3_ng_container_3_tr_4_th_1_Template, 4, 4, "th", 37);
41464
+ i0.ɵɵelementStart(2, "td", 38)(3, "span", 39);
41465
+ i0.ɵɵelement(4, "ccd-field-read", 40);
41423
41466
  i0.ɵɵelementEnd()()();
41424
41467
  } if (rf & 2) {
41425
- const field_r7 = i0.ɵɵnextContext().$implicit;
41468
+ const field_r9 = i0.ɵɵnextContext().$implicit;
41426
41469
  const ctx_r1 = i0.ɵɵnextContext(4);
41427
41470
  i0.ɵɵadvance();
41428
- i0.ɵɵproperty("ngIf", !ctx_r1.isFieldToHaveNoLabel(field_r7) && field_r7.label);
41471
+ i0.ɵɵproperty("ngIf", !ctx_r1.isFieldToHaveNoLabel(field_r9) && field_r9.label);
41429
41472
  i0.ɵɵadvance();
41430
- i0.ɵɵproperty("id", "case-viewer-field-read--" + field_r7.id);
41473
+ i0.ɵɵproperty("id", "case-viewer-field-read--" + field_r9.id);
41431
41474
  i0.ɵɵadvance(2);
41432
- i0.ɵɵproperty("topLevelFormGroup", ctx_r1.formGroup == null ? null : ctx_r1.formGroup.controls["data"])("caseFields", ctx_r1.caseFields)("caseField", field_r7)("caseReference", ctx_r1.caseDetails.case_id);
41475
+ i0.ɵɵproperty("topLevelFormGroup", ctx_r1.formGroup == null ? null : ctx_r1.formGroup.controls["data"])("caseFields", ctx_r1.caseFields)("caseField", field_r9)("caseReference", ctx_r1.caseDetails.case_id);
41433
41476
  } }
41434
- function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_container_3_tr_5_Template(rf, ctx) { if (rf & 1) {
41435
- i0.ɵɵelementStart(0, "tr", 41)(1, "td", 42);
41477
+ function CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_3_ng_container_3_tr_5_Template(rf, ctx) { if (rf & 1) {
41478
+ i0.ɵɵelementStart(0, "tr", 43)(1, "td", 44);
41436
41479
  i0.ɵɵpipe(2, "rpxTranslate");
41437
- i0.ɵɵelementStart(3, "span", 37);
41438
- i0.ɵɵelement(4, "ccd-field-read", 38);
41480
+ i0.ɵɵelementStart(3, "span", 39);
41481
+ i0.ɵɵelement(4, "ccd-field-read", 40);
41439
41482
  i0.ɵɵelementEnd()()();
41440
41483
  } if (rf & 2) {
41441
- const field_r7 = i0.ɵɵnextContext().$implicit;
41484
+ const field_r9 = i0.ɵɵnextContext().$implicit;
41442
41485
  const ctx_r1 = i0.ɵɵnextContext(4);
41443
41486
  i0.ɵɵadvance();
41444
- i0.ɵɵproperty("id", "case-viewer-field-read--" + field_r7.id);
41445
- i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(2, 6, field_r7.label || field_r7.id));
41487
+ i0.ɵɵproperty("id", "case-viewer-field-read--" + field_r9.id);
41488
+ i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(2, 6, field_r9.label || field_r9.id));
41446
41489
  i0.ɵɵadvance(3);
41447
- i0.ɵɵproperty("topLevelFormGroup", ctx_r1.formGroup.controls["data"])("caseFields", ctx_r1.caseFields)("caseField", field_r7)("caseReference", ctx_r1.caseDetails.case_id);
41490
+ i0.ɵɵproperty("topLevelFormGroup", ctx_r1.formGroup.controls["data"])("caseFields", ctx_r1.caseFields)("caseField", field_r9)("caseReference", ctx_r1.caseDetails.case_id);
41448
41491
  } }
41449
- function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_container_3_Template(rf, ctx) { if (rf & 1) {
41492
+ function CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_3_ng_container_3_Template(rf, ctx) { if (rf & 1) {
41450
41493
  i0.ɵɵelementContainerStart(0);
41451
- i0.ɵɵelementStart(1, "div", 31);
41452
- i0.ɵɵelementContainerStart(2, 32);
41494
+ i0.ɵɵelementStart(1, "div", 33);
41495
+ i0.ɵɵelementContainerStart(2, 34);
41453
41496
  i0.ɵɵpipe(3, "ccdIsCompound");
41454
- i0.ɵɵtemplate(4, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_container_3_tr_4_Template, 5, 6, "tr", 33)(5, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_container_3_tr_5_Template, 5, 8, "tr", 34);
41497
+ i0.ɵɵtemplate(4, CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_3_ng_container_3_tr_4_Template, 5, 6, "tr", 35)(5, CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_3_ng_container_3_tr_5_Template, 5, 8, "tr", 36);
41455
41498
  i0.ɵɵelementContainerEnd();
41456
41499
  i0.ɵɵelementEnd();
41457
41500
  i0.ɵɵelementContainerEnd();
41458
41501
  } if (rf & 2) {
41459
- const field_r7 = ctx.$implicit;
41502
+ const field_r9 = ctx.$implicit;
41460
41503
  const ctx_r1 = i0.ɵɵnextContext(4);
41461
41504
  i0.ɵɵadvance();
41462
- i0.ɵɵproperty("caseField", field_r7)("contextFields", ctx_r1.caseFields)("hidden", field_r7.hidden);
41505
+ i0.ɵɵproperty("caseField", field_r9)("contextFields", ctx_r1.caseFields)("hidden", field_r9.hidden);
41463
41506
  i0.ɵɵadvance();
41464
- i0.ɵɵproperty("ngSwitch", !i0.ɵɵpipeBind1(3, 6, field_r7));
41507
+ i0.ɵɵproperty("ngSwitch", !i0.ɵɵpipeBind1(3, 6, field_r9));
41465
41508
  i0.ɵɵadvance(2);
41466
41509
  i0.ɵɵproperty("ngSwitchCase", true);
41467
41510
  i0.ɵɵadvance();
41468
41511
  i0.ɵɵproperty("ngSwitchCase", false);
41469
41512
  } }
41470
- function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_Template(rf, ctx) { if (rf & 1) {
41513
+ function CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_3_Template(rf, ctx) { if (rf & 1) {
41471
41514
  i0.ɵɵelementStart(0, "table");
41472
41515
  i0.ɵɵpipe(1, "rpxTranslate");
41473
41516
  i0.ɵɵelementStart(2, "tbody");
41474
- i0.ɵɵtemplate(3, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_container_3_Template, 6, 8, "ng-container", 20);
41517
+ i0.ɵɵtemplate(3, CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_3_ng_container_3_Template, 6, 8, "ng-container", 21);
41475
41518
  i0.ɵɵpipe(4, "ccdTabFields");
41476
41519
  i0.ɵɵpipe(5, "ccdReadFieldsFilter");
41477
41520
  i0.ɵɵelementEnd()();
41478
41521
  } if (rf & 2) {
41479
- const tab_r8 = i0.ɵɵnextContext().$implicit;
41522
+ const tab_r10 = i0.ɵɵnextContext().$implicit;
41480
41523
  const ctx_r1 = i0.ɵɵnextContext(2);
41481
- i0.ɵɵclassMap(tab_r8.id);
41524
+ i0.ɵɵclassMap(tab_r10.id);
41482
41525
  i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(1, 4, "case viewer table"));
41483
41526
  i0.ɵɵadvance(3);
41484
- i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(5, 8, i0.ɵɵpureFunction2(14, _c1$3, i0.ɵɵpipeBind1(4, 6, tab_r8), ctx_r1.formGroup == null ? null : ctx_r1.formGroup.controls["data"])));
41527
+ i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(5, 8, i0.ɵɵpureFunction2(14, _c1$3, i0.ɵɵpipeBind1(4, 6, tab_r10), ctx_r1.formGroup == null ? null : ctx_r1.formGroup.controls["data"])));
41485
41528
  } }
41486
- function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_Template(rf, ctx) { if (rf & 1) {
41487
- i0.ɵɵelementStart(0, "mat-tab", 30);
41529
+ function CaseFullAccessViewComponent_ng_container_11_mat_tab_4_Template(rf, ctx) { if (rf & 1) {
41530
+ i0.ɵɵelementStart(0, "mat-tab", 32);
41488
41531
  i0.ɵɵpipe(1, "rpxTranslate");
41489
41532
  i0.ɵɵpipe(2, "rpxTranslate");
41490
- i0.ɵɵtemplate(3, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_Template, 6, 17, "ng-template", 29);
41533
+ i0.ɵɵtemplate(3, CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_3_Template, 6, 17, "ng-template", 31);
41491
41534
  i0.ɵɵelementEnd();
41492
41535
  } if (rf & 2) {
41493
- const tab_r8 = ctx.$implicit;
41494
- const curIdx_r9 = ctx.index;
41495
- i0.ɵɵproperty("label", i0.ɵɵpipeBind1(1, 3, tab_r8.label));
41496
- i0.ɵɵariaProperty("aria-label", curIdx_r9 === 0 ? tab_r8.label + ", Please use left and right arrow keys to navigate case tabs" : i0.ɵɵpipeBind1(2, 5, ""));
41497
- i0.ɵɵattribute("data-case-tab-id", tab_r8.id);
41536
+ const tab_r10 = ctx.$implicit;
41537
+ const curIdx_r11 = ctx.index;
41538
+ i0.ɵɵproperty("label", i0.ɵɵpipeBind1(1, 3, tab_r10.label));
41539
+ i0.ɵɵariaProperty("aria-label", curIdx_r11 === 0 ? tab_r10.label + ", Please use left and right arrow keys to navigate case tabs" : i0.ɵɵpipeBind1(2, 5, ""));
41540
+ i0.ɵɵattribute("data-case-tab-id", tab_r10.id);
41498
41541
  } }
41499
- function CaseFullAccessViewComponent_ng_container_12_mat_tab_5_ng_template_2_ng_container_0_Template(rf, ctx) { if (rf & 1) {
41542
+ function CaseFullAccessViewComponent_ng_container_11_mat_tab_5_ng_template_2_ng_container_0_Template(rf, ctx) { if (rf & 1) {
41500
41543
  i0.ɵɵelementContainerStart(0);
41501
41544
  i0.ɵɵelement(1, "exui-case-hearings-ce");
41502
41545
  i0.ɵɵelementContainerEnd();
41503
41546
  } }
41504
- function CaseFullAccessViewComponent_ng_container_12_mat_tab_5_ng_template_2_Template(rf, ctx) { if (rf & 1) {
41505
- i0.ɵɵtemplate(0, CaseFullAccessViewComponent_ng_container_12_mat_tab_5_ng_template_2_ng_container_0_Template, 2, 0, "ng-container", 11);
41547
+ function CaseFullAccessViewComponent_ng_container_11_mat_tab_5_ng_template_2_Template(rf, ctx) { if (rf & 1) {
41548
+ i0.ɵɵtemplate(0, CaseFullAccessViewComponent_ng_container_11_mat_tab_5_ng_template_2_ng_container_0_Template, 2, 0, "ng-container", 13);
41506
41549
  } if (rf & 2) {
41507
- const tab_r10 = i0.ɵɵnextContext().$implicit;
41508
- i0.ɵɵproperty("ngIf", tab_r10.id === "hearings");
41550
+ const tab_r12 = i0.ɵɵnextContext().$implicit;
41551
+ i0.ɵɵproperty("ngIf", tab_r12.id === "hearings");
41509
41552
  } }
41510
- function CaseFullAccessViewComponent_ng_container_12_mat_tab_5_Template(rf, ctx) { if (rf & 1) {
41511
- i0.ɵɵelementStart(0, "mat-tab", 28);
41553
+ function CaseFullAccessViewComponent_ng_container_11_mat_tab_5_Template(rf, ctx) { if (rf & 1) {
41554
+ i0.ɵɵelementStart(0, "mat-tab", 30);
41512
41555
  i0.ɵɵpipe(1, "rpxTranslate");
41513
- i0.ɵɵtemplate(2, CaseFullAccessViewComponent_ng_container_12_mat_tab_5_ng_template_2_Template, 1, 1, "ng-template", 29);
41556
+ i0.ɵɵtemplate(2, CaseFullAccessViewComponent_ng_container_11_mat_tab_5_ng_template_2_Template, 1, 1, "ng-template", 31);
41514
41557
  i0.ɵɵelementEnd();
41515
41558
  } if (rf & 2) {
41516
- const tab_r10 = ctx.$implicit;
41517
- i0.ɵɵproperty("label", i0.ɵɵpipeBind1(1, 2, tab_r10.label));
41518
- i0.ɵɵattribute("data-case-tab-id", tab_r10.id);
41559
+ const tab_r12 = ctx.$implicit;
41560
+ i0.ɵɵproperty("label", i0.ɵɵpipeBind1(1, 2, tab_r12.label));
41561
+ i0.ɵɵattribute("data-case-tab-id", tab_r12.id);
41519
41562
  } }
41520
- function CaseFullAccessViewComponent_ng_container_12_Template(rf, ctx) { if (rf & 1) {
41521
- const _r5 = i0.ɵɵgetCurrentView();
41563
+ function CaseFullAccessViewComponent_ng_container_11_Template(rf, ctx) { if (rf & 1) {
41564
+ const _r7 = i0.ɵɵgetCurrentView();
41522
41565
  i0.ɵɵelementContainerStart(0);
41523
- i0.ɵɵelementStart(1, "mat-tab-group", 25, 0);
41524
- i0.ɵɵlistener("selectedIndexChange", function CaseFullAccessViewComponent_ng_container_12_Template_mat_tab_group_selectedIndexChange_1_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.tabChanged($event)); });
41525
- i0.ɵɵtwoWayListener("selectedIndexChange", function CaseFullAccessViewComponent_ng_container_12_Template_mat_tab_group_selectedIndexChange_1_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r1.selectedTabIndex, $event) || (ctx_r1.selectedTabIndex = $event); return i0.ɵɵresetView($event); });
41526
- i0.ɵɵtemplate(3, CaseFullAccessViewComponent_ng_container_12_mat_tab_3_Template, 3, 4, "mat-tab", 26)(4, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_Template, 4, 7, "mat-tab", 27)(5, CaseFullAccessViewComponent_ng_container_12_mat_tab_5_Template, 3, 4, "mat-tab", 26);
41566
+ i0.ɵɵelementStart(1, "mat-tab-group", 27, 2);
41567
+ i0.ɵɵlistener("selectedIndexChange", function CaseFullAccessViewComponent_ng_container_11_Template_mat_tab_group_selectedIndexChange_1_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.tabChanged($event)); });
41568
+ i0.ɵɵtwoWayListener("selectedIndexChange", function CaseFullAccessViewComponent_ng_container_11_Template_mat_tab_group_selectedIndexChange_1_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r1.selectedTabIndex, $event) || (ctx_r1.selectedTabIndex = $event); return i0.ɵɵresetView($event); });
41569
+ i0.ɵɵtemplate(3, CaseFullAccessViewComponent_ng_container_11_mat_tab_3_Template, 3, 4, "mat-tab", 28)(4, CaseFullAccessViewComponent_ng_container_11_mat_tab_4_Template, 4, 7, "mat-tab", 29)(5, CaseFullAccessViewComponent_ng_container_11_mat_tab_5_Template, 3, 4, "mat-tab", 28);
41527
41570
  i0.ɵɵelementEnd();
41528
41571
  i0.ɵɵelementContainerEnd();
41529
41572
  } if (rf & 2) {
@@ -41999,26 +42042,24 @@ class CaseFullAccessViewComponent {
41999
42042
  } if (rf & 2) {
42000
42043
  let _t;
42001
42044
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tabGroup = _t.first);
42002
- } }, inputs: { hasPrint: "hasPrint", hasEventSelector: "hasEventSelector", caseDetails: "caseDetails", prependedTabs: "prependedTabs", appendedTabs: "appendedTabs" }, standalone: false, features: [i0.ɵɵNgOnChangesFeature], decls: 13, vars: 12, consts: [["tabGroup", ""], ["id", "case-full-access-error-summary", "class", "govuk-error-summary", "role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 4, "ngIf"], [3, "callbackErrorsContext", "triggerTextContinue", "triggerTextIgnore", "callbackErrorsSubject"], [3, "caseId", "displayMode"], [1, "grid-row"], [1, "column-one-half"], [3, "caseDetails"], ["class", "case-viewer-controls", 4, "ngIf"], ["class", "column-one-half", 4, "ngIf"], ["class", "grid-row", 4, "ngIf"], [1, "column-full"], [4, "ngIf"], ["id", "case-full-access-error-summary", "role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 1, "govuk-error-summary"], ["id", "edit-case-event_error-summary-heading", 1, "govuk-error-summary__title"], ["id", "edit-case-event_error-summary-body", 1, "govuk-error-summary__body"], [1, "govuk-body"], ["href", "get-help", "target", "_blank"], [1, "govuk-error-summary__body"], ["class", "govuk-list govuk-error-summary__list", 4, "ngIf"], [1, "govuk-list", "govuk-error-summary__list"], [4, "ngFor", "ngForOf"], [1, "case-viewer-controls"], ["id", "case-viewer-control-print", "routerLink", "print", 1, "govuk-button", "govuk-button--secondary"], [3, "onTriggerChange", "onTriggerSubmit", "isDisabled", "triggers", "triggerText", "eventId"], [3, "linkClicked", "notificationBannerConfig"], ["animationDuration", "0ms", 3, "selectedIndexChange", "disableRipple", "selectedIndex", "selectedIndex"], [3, "label", 4, "ngFor", "ngForOf"], [3, "label", "aria-label", 4, "ngFor", "ngForOf"], [3, "label"], ["matTabContent", ""], [3, "label", "aria-label"], ["ccdLabelSubstitutor", "", 3, "caseField", "contextFields", "hidden"], [3, "ngSwitch"], [4, "ngSwitchCase"], ["class", "compound-field", 4, "ngSwitchCase"], ["scope", "row", 3, "id", 4, "ngIf"], ["scope", "col", 3, "id"], [1, "text-16"], [3, "topLevelFormGroup", "caseFields", "caseField", "caseReference"], ["scope", "row", 3, "id"], [1, "case-viewer-label", "text-16"], [1, "compound-field"], ["role", "rowheader", 3, "id"]], template: function CaseFullAccessViewComponent_Template(rf, ctx) { if (rf & 1) {
42003
- i0.ɵɵtemplate(0, CaseFullAccessViewComponent_div_0_Template, 14, 12, "div", 1)(1, CaseFullAccessViewComponent_div_1_Template, 9, 7, "div", 1);
42004
- i0.ɵɵelementStart(2, "ccd-callback-errors", 2);
42005
- i0.ɵɵlistener("callbackErrorsContext", function CaseFullAccessViewComponent_Template_ccd_callback_errors_callbackErrorsContext_2_listener($event) { return ctx.callbackErrorsNotify($event); });
42045
+ } }, inputs: { hasPrint: "hasPrint", hasEventSelector: "hasEventSelector", caseDetails: "caseDetails", prependedTabs: "prependedTabs", appendedTabs: "appendedTabs" }, standalone: false, features: [i0.ɵɵNgOnChangesFeature], decls: 12, vars: 11, consts: [["genericErrorTitle", ""], ["genericErrorBody", ""], ["tabGroup", ""], ["id", "case-full-access-error-summary", "class", "govuk-error-summary", "role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 4, "ngIf"], [3, "callbackErrorsContext", "triggerTextContinue", "triggerTextIgnore", "callbackErrorsSubject"], [3, "caseId", "displayMode"], [1, "grid-row"], [1, "column-one-half"], [3, "caseDetails"], ["class", "case-viewer-controls", 4, "ngIf"], ["class", "column-one-half", 4, "ngIf"], ["class", "grid-row", 4, "ngIf"], [1, "column-full"], [4, "ngIf"], ["id", "case-full-access-error-summary", "role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 1, "govuk-error-summary"], ["id", "edit-case-event_error-summary-heading", 1, "govuk-error-summary__title"], [4, "ngIf", "ngIfElse"], ["id", "edit-case-event_error-summary-body", 1, "govuk-error-summary__body"], [1, "govuk-body"], ["class", "govuk-list govuk-error-summary__list", 4, "ngIf"], [1, "govuk-list", "govuk-error-summary__list"], [4, "ngFor", "ngForOf"], ["href", "get-help", "target", "_blank"], [1, "case-viewer-controls"], ["id", "case-viewer-control-print", "routerLink", "print", 1, "govuk-button", "govuk-button--secondary"], [3, "onTriggerChange", "onTriggerSubmit", "isDisabled", "triggers", "triggerText", "eventId"], [3, "linkClicked", "notificationBannerConfig"], ["animationDuration", "0ms", 3, "selectedIndexChange", "disableRipple", "selectedIndex", "selectedIndex"], [3, "label", 4, "ngFor", "ngForOf"], [3, "label", "aria-label", 4, "ngFor", "ngForOf"], [3, "label"], ["matTabContent", ""], [3, "label", "aria-label"], ["ccdLabelSubstitutor", "", 3, "caseField", "contextFields", "hidden"], [3, "ngSwitch"], [4, "ngSwitchCase"], ["class", "compound-field", 4, "ngSwitchCase"], ["scope", "row", 3, "id", 4, "ngIf"], ["scope", "col", 3, "id"], [1, "text-16"], [3, "topLevelFormGroup", "caseFields", "caseField", "caseReference"], ["scope", "row", 3, "id"], [1, "case-viewer-label", "text-16"], [1, "compound-field"], ["role", "rowheader", 3, "id"]], template: function CaseFullAccessViewComponent_Template(rf, ctx) { if (rf & 1) {
42046
+ i0.ɵɵtemplate(0, CaseFullAccessViewComponent_div_0_Template, 9, 4, "div", 3);
42047
+ i0.ɵɵelementStart(1, "ccd-callback-errors", 4);
42048
+ i0.ɵɵlistener("callbackErrorsContext", function CaseFullAccessViewComponent_Template_ccd_callback_errors_callbackErrorsContext_1_listener($event) { return ctx.callbackErrorsNotify($event); });
42006
42049
  i0.ɵɵelementEnd();
42007
- i0.ɵɵelement(3, "ccd-activity", 3);
42008
- i0.ɵɵelementStart(4, "div", 4)(5, "div", 5);
42009
- i0.ɵɵelement(6, "ccd-case-header", 6);
42010
- i0.ɵɵtemplate(7, CaseFullAccessViewComponent_div_7_Template, 4, 3, "div", 7);
42050
+ i0.ɵɵelement(2, "ccd-activity", 5);
42051
+ i0.ɵɵelementStart(3, "div", 6)(4, "div", 7);
42052
+ i0.ɵɵelement(5, "ccd-case-header", 8);
42053
+ i0.ɵɵtemplate(6, CaseFullAccessViewComponent_div_6_Template, 4, 3, "div", 9);
42011
42054
  i0.ɵɵelementEnd();
42012
- i0.ɵɵtemplate(8, CaseFullAccessViewComponent_div_8_Template, 2, 4, "div", 8);
42055
+ i0.ɵɵtemplate(7, CaseFullAccessViewComponent_div_7_Template, 2, 4, "div", 10);
42013
42056
  i0.ɵɵelementEnd();
42014
- i0.ɵɵtemplate(9, CaseFullAccessViewComponent_div_9_Template, 3, 1, "div", 9);
42015
- i0.ɵɵelementStart(10, "div", 4)(11, "div", 10);
42016
- i0.ɵɵtemplate(12, CaseFullAccessViewComponent_ng_container_12_Template, 6, 6, "ng-container", 11);
42057
+ i0.ɵɵtemplate(8, CaseFullAccessViewComponent_div_8_Template, 3, 1, "div", 11);
42058
+ i0.ɵɵelementStart(9, "div", 6)(10, "div", 12);
42059
+ i0.ɵɵtemplate(11, CaseFullAccessViewComponent_ng_container_11_Template, 6, 6, "ng-container", 13);
42017
42060
  i0.ɵɵelementEnd()();
42018
42061
  } if (rf & 2) {
42019
- i0.ɵɵproperty("ngIf", ctx.error && !(ctx.error.callbackErrors || ctx.error.callbackWarnings || ctx.error.details));
42020
- i0.ɵɵadvance();
42021
- i0.ɵɵproperty("ngIf", ctx.error && ctx.error.details);
42062
+ i0.ɵɵproperty("ngIf", ctx.error && (ctx.error.details || !(ctx.error.callbackErrors || ctx.error.callbackWarnings)));
42022
42063
  i0.ɵɵadvance();
42023
42064
  i0.ɵɵproperty("triggerTextContinue", ctx.triggerTextStart)("triggerTextIgnore", ctx.triggerTextIgnoreWarnings)("callbackErrorsSubject", ctx.callbackErrorsSubject);
42024
42065
  i0.ɵɵadvance();
@@ -42037,7 +42078,7 @@ class CaseFullAccessViewComponent {
42037
42078
  }
42038
42079
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFullAccessViewComponent, [{
42039
42080
  type: Component,
42040
- args: [{ selector: 'ccd-case-full-access-view', standalone: false, template: "<!-- Generic error heading and error message to be displayed only if there are no specific callback errors or warnings, or no error details -->\n<div *ngIf=\"error && !(error.callbackErrors || error.callbackWarnings || error.details)\"\n id=\"case-full-access-error-summary\" class=\"govuk-error-summary\"\n role=\"group\" aria-labelledby=\"edit-case-event_error-summary-heading\" tabindex=\"-1\">\n <h2 class=\"govuk-error-summary__title\" id=\"edit-case-event_error-summary-heading\">\n {{'Something went wrong' | rpxTranslate}}\n </h2>\n <div class=\"govuk-error-summary__body\" id=\"edit-case-event_error-summary-body\">\n <p class=\"govuk-body\">{{\"We're working to fix the problem. Try again shortly.\" | rpxTranslate}}</p>\n <p class=\"govuk-body\">\n <a href=\"get-help\" target=\"_blank\">\n {{\"Contact us\" | rpxTranslate}}</a> {{\"if you're still having problems.\" | rpxTranslate}}\n </p>\n </div>\n</div>\n<!-- Callback error heading and error message to be displayed if there are specific error details -->\n<div *ngIf=\"error && error.details\" id=\"case-full-access-error-summary\" class=\"govuk-error-summary\" role=\"group\"\n aria-labelledby=\"edit-case-event_error-summary-heading\" tabindex=\"-1\">\n <h2 class=\"govuk-error-summary__title\" id=\"edit-case-event_error-summary-heading\">\n {{'The callback data failed validation' | rpxTranslate}}\n </h2>\n <div class=\"govuk-error-summary__body\">\n <p class=\"govuk-body\">{{error.message | rpxTranslate}}</p>\n <ul *ngIf=\"error.details?.field_errors\" class=\"govuk-list govuk-error-summary__list\">\n <li *ngFor=\"let fieldError of error.details.field_errors\">\n {{fieldError.message | rpxTranslate}}\n </li>\n </ul>\n </div>\n</div>\n<ccd-callback-errors\n [triggerTextContinue]=\"triggerTextStart\"\n [triggerTextIgnore]=\"triggerTextIgnoreWarnings\"\n [callbackErrorsSubject]=\"callbackErrorsSubject\"\n (callbackErrorsContext)=\"callbackErrorsNotify($event)\">\n</ccd-callback-errors>\n<ccd-activity [caseId]=\"caseDetails.case_id\" [displayMode]=\"BANNER\"></ccd-activity>\n<div class=\"grid-row\">\n <div class=\"column-one-half\">\n <ccd-case-header [caseDetails]=\"caseDetails\"></ccd-case-header>\n <div class=\"case-viewer-controls\" *ngIf=\"hasPrint && !isDraft() && isPrintEnabled()\">\n <a id=\"case-viewer-control-print\" routerLink=\"print\" class=\"govuk-button govuk-button--secondary\">{{'Print' | rpxTranslate}}</a>\n </div>\n </div>\n <div *ngIf=\"hasEventSelector\" class=\"column-one-half\">\n <ccd-event-trigger [isDisabled]=\"isTriggerButtonDisabled()\" [triggers]=\"caseDetails.triggers\"\n [triggerText]=\"triggerText\"\n [eventId]=\"eventId\"\n (onTriggerChange)=\"clearErrorsAndWarnings()\"\n (onTriggerSubmit)=\"applyTrigger($event)\"></ccd-event-trigger>\n </div>\n</div>\n<div class=\"grid-row\" *ngIf=\"activeCaseFlags && !caseFlagsExternalUser\">\n <div class=\"column-full\">\n <ccd-notification-banner [notificationBannerConfig]=\"notificationBannerConfig\" (linkClicked)=\"onLinkClicked($event)\">\n </ccd-notification-banner>\n </div>\n</div>\n<div class=\"grid-row\">\n <div class=\"column-full\">\n <ng-container *ngIf=\"hasTabsPresent()\">\n <!-- Let Material generate header IDs so URL tab fragments do not trigger anchor scrolling. -->\n <mat-tab-group #tabGroup animationDuration=\"0ms\" (selectedIndexChange)=\"tabChanged($event)\" [disableRipple]=\"true\" [(selectedIndex)]=\"selectedTabIndex\"\n [selectedIndex]=\"selectedTabIndex\">\n <mat-tab *ngFor=\"let tab of prependedTabs\" [attr.data-case-tab-id]=\"tab.id\" [label]=\"tab.label | rpxTranslate\">\n <ng-template matTabContent>\n <ng-container *ngIf=\"tab.id === 'tasks'\">\n <exui-tasks-ce></exui-tasks-ce>\n </ng-container>\n <ng-container *ngIf=\"tab.id === 'roles-and-access'\">\n <exui-roles-and-access-ce></exui-roles-and-access-ce>\n </ng-container>\n </ng-template>\n </mat-tab>\n <mat-tab *ngFor=\"let tab of sortedTabs; let curIdx=index\" [attr.data-case-tab-id]=\"tab.id\" [label]=\"tab.label | rpxTranslate\" [aria-label]=\"curIdx === 0 ? tab.label + ', Please use left and right arrow keys to navigate case tabs' : '' | rpxTranslate\">\n <ng-template matTabContent>\n <table [class]=\"tab.id\" [attr.aria-label]=\"'case viewer table' | rpxTranslate\">\n <tbody>\n <ng-container *ngFor=\"let field of tab | ccdTabFields | ccdReadFieldsFilter:false :undefined :true : formGroup?.controls['data']\">\n <div ccdLabelSubstitutor [caseField]=\"field\" [contextFields]=\"caseFields\" [hidden]=\"field.hidden\">\n <ng-container [ngSwitch]=\"!(field | ccdIsCompound)\">\n <tr *ngSwitchCase=\"true\">\n <th [id]=\"'case-viewer-field-label--' + field.id\" scope=\"row\" *ngIf=\"!isFieldToHaveNoLabel(field) && field.label\">\n <div class=\"case-viewer-label text-16\">\n {{field.label | rpxTranslate}}</div>\n </th>\n <td [id]=\"'case-viewer-field-read--' + field.id\" scope=\"col\">\n <span class=\"text-16\">\n <ccd-field-read [topLevelFormGroup]=\"formGroup?.controls['data']\" [caseFields]=\"caseFields\"\n [caseField]=\"field\" [caseReference]=\"caseDetails.case_id\">\n </ccd-field-read>\n </span>\n </td>\n </tr>\n <tr *ngSwitchCase=\"false\" class=\"compound-field\">\n <td role=\"rowheader\" [attr.aria-label]=\"(field.label || field.id) | rpxTranslate\" [id]=\"'case-viewer-field-read--' + field.id\">\n <span class=\"text-16\">\n <ccd-field-read [topLevelFormGroup]=\"formGroup.controls['data']\" [caseFields]=\"caseFields\"\n [caseField]=\"field\" [caseReference]=\"caseDetails.case_id\">\n </ccd-field-read>\n </span>\n </td>\n </tr>\n </ng-container>\n </div>\n </ng-container>\n </tbody>\n </table>\n </ng-template>\n </mat-tab>\n <mat-tab *ngFor=\"let tab of appendedTabs\" [attr.data-case-tab-id]=\"tab.id\" [label]=\"tab.label | rpxTranslate\">\n <ng-template matTabContent>\n <ng-container *ngIf=\"tab.id === 'hearings'\">\n <exui-case-hearings-ce></exui-case-hearings-ce>\n </ng-container>\n </ng-template>\n </mat-tab>\n </mat-tab-group>\n </ng-container>\n </div>\n</div>\n", styles: ["th,.compound-field>td{width:1%;white-space:nowrap;vertical-align:top}.compound-field th{padding:0}.compound-field>td{padding:0}.case-viewer-controls{margin-top:47px;margin-bottom:20px}ccd-case-header{float:left;margin-right:10px}ccd-event-trigger{float:right}.case-viewer-label{min-width:300px;white-space:normal}.markdown h3{margin-bottom:0}.hide-table-capion{position:absolute;visibility:hidden}\n"] }]
42081
+ args: [{ selector: 'ccd-case-full-access-view', standalone: false, template: "<div *ngIf=\"error && (error.details || !(error.callbackErrors || error.callbackWarnings))\"\n id=\"case-full-access-error-summary\" class=\"govuk-error-summary\"\n role=\"group\" aria-labelledby=\"edit-case-event_error-summary-heading\" tabindex=\"-1\">\n <h2 class=\"govuk-error-summary__title\" id=\"edit-case-event_error-summary-heading\">\n <ng-container *ngIf=\"error.details; else genericErrorTitle\">{{'The callback data failed validation' | rpxTranslate}}</ng-container>\n <ng-template #genericErrorTitle>{{'Something went wrong' | rpxTranslate}}</ng-template>\n </h2>\n <div class=\"govuk-error-summary__body\" id=\"edit-case-event_error-summary-body\">\n <ng-container *ngIf=\"error.details; else genericErrorBody\">\n <p class=\"govuk-body\">{{error.message | rpxTranslate}}</p>\n <ul *ngIf=\"error.details?.field_errors\" class=\"govuk-list govuk-error-summary__list\">\n <li *ngFor=\"let fieldError of error.details.field_errors\">\n {{fieldError.message | rpxTranslate}}\n </li>\n </ul>\n </ng-container>\n <ng-template #genericErrorBody>\n <p class=\"govuk-body\">{{\"We're working to fix the problem. Try again shortly.\" | rpxTranslate}}</p>\n <p class=\"govuk-body\">\n <a href=\"get-help\" target=\"_blank\">\n {{\"Contact us\" | rpxTranslate}}</a> {{\"if you're still having problems.\" | rpxTranslate}}\n </p>\n </ng-template>\n </div>\n</div>\n<ccd-callback-errors\n [triggerTextContinue]=\"triggerTextStart\"\n [triggerTextIgnore]=\"triggerTextIgnoreWarnings\"\n [callbackErrorsSubject]=\"callbackErrorsSubject\"\n (callbackErrorsContext)=\"callbackErrorsNotify($event)\">\n</ccd-callback-errors>\n<ccd-activity [caseId]=\"caseDetails.case_id\" [displayMode]=\"BANNER\"></ccd-activity>\n<div class=\"grid-row\">\n <div class=\"column-one-half\">\n <ccd-case-header [caseDetails]=\"caseDetails\"></ccd-case-header>\n <div class=\"case-viewer-controls\" *ngIf=\"hasPrint && !isDraft() && isPrintEnabled()\">\n <a id=\"case-viewer-control-print\" routerLink=\"print\" class=\"govuk-button govuk-button--secondary\">{{'Print' | rpxTranslate}}</a>\n </div>\n </div>\n <div *ngIf=\"hasEventSelector\" class=\"column-one-half\">\n <ccd-event-trigger [isDisabled]=\"isTriggerButtonDisabled()\" [triggers]=\"caseDetails.triggers\"\n [triggerText]=\"triggerText\"\n [eventId]=\"eventId\"\n (onTriggerChange)=\"clearErrorsAndWarnings()\"\n (onTriggerSubmit)=\"applyTrigger($event)\"></ccd-event-trigger>\n </div>\n</div>\n<div class=\"grid-row\" *ngIf=\"activeCaseFlags && !caseFlagsExternalUser\">\n <div class=\"column-full\">\n <ccd-notification-banner [notificationBannerConfig]=\"notificationBannerConfig\" (linkClicked)=\"onLinkClicked($event)\">\n </ccd-notification-banner>\n </div>\n</div>\n<div class=\"grid-row\">\n <div class=\"column-full\">\n <ng-container *ngIf=\"hasTabsPresent()\">\n <!-- Let Material generate header IDs so URL tab fragments do not trigger anchor scrolling. -->\n <mat-tab-group #tabGroup animationDuration=\"0ms\" (selectedIndexChange)=\"tabChanged($event)\" [disableRipple]=\"true\" [(selectedIndex)]=\"selectedTabIndex\"\n [selectedIndex]=\"selectedTabIndex\">\n <mat-tab *ngFor=\"let tab of prependedTabs\" [attr.data-case-tab-id]=\"tab.id\" [label]=\"tab.label | rpxTranslate\">\n <ng-template matTabContent>\n <ng-container *ngIf=\"tab.id === 'tasks'\">\n <exui-tasks-ce></exui-tasks-ce>\n </ng-container>\n <ng-container *ngIf=\"tab.id === 'roles-and-access'\">\n <exui-roles-and-access-ce></exui-roles-and-access-ce>\n </ng-container>\n </ng-template>\n </mat-tab>\n <mat-tab *ngFor=\"let tab of sortedTabs; let curIdx=index\" [attr.data-case-tab-id]=\"tab.id\" [label]=\"tab.label | rpxTranslate\" [aria-label]=\"curIdx === 0 ? tab.label + ', Please use left and right arrow keys to navigate case tabs' : '' | rpxTranslate\">\n <ng-template matTabContent>\n <table [class]=\"tab.id\" [attr.aria-label]=\"'case viewer table' | rpxTranslate\">\n <tbody>\n <ng-container *ngFor=\"let field of tab | ccdTabFields | ccdReadFieldsFilter:false :undefined :true : formGroup?.controls['data']\">\n <div ccdLabelSubstitutor [caseField]=\"field\" [contextFields]=\"caseFields\" [hidden]=\"field.hidden\">\n <ng-container [ngSwitch]=\"!(field | ccdIsCompound)\">\n <tr *ngSwitchCase=\"true\">\n <th [id]=\"'case-viewer-field-label--' + field.id\" scope=\"row\" *ngIf=\"!isFieldToHaveNoLabel(field) && field.label\">\n <div class=\"case-viewer-label text-16\">\n {{field.label | rpxTranslate}}</div>\n </th>\n <td [id]=\"'case-viewer-field-read--' + field.id\" scope=\"col\">\n <span class=\"text-16\">\n <ccd-field-read [topLevelFormGroup]=\"formGroup?.controls['data']\" [caseFields]=\"caseFields\"\n [caseField]=\"field\" [caseReference]=\"caseDetails.case_id\">\n </ccd-field-read>\n </span>\n </td>\n </tr>\n <tr *ngSwitchCase=\"false\" class=\"compound-field\">\n <td role=\"rowheader\" [attr.aria-label]=\"(field.label || field.id) | rpxTranslate\" [id]=\"'case-viewer-field-read--' + field.id\">\n <span class=\"text-16\">\n <ccd-field-read [topLevelFormGroup]=\"formGroup.controls['data']\" [caseFields]=\"caseFields\"\n [caseField]=\"field\" [caseReference]=\"caseDetails.case_id\">\n </ccd-field-read>\n </span>\n </td>\n </tr>\n </ng-container>\n </div>\n </ng-container>\n </tbody>\n </table>\n </ng-template>\n </mat-tab>\n <mat-tab *ngFor=\"let tab of appendedTabs\" [attr.data-case-tab-id]=\"tab.id\" [label]=\"tab.label | rpxTranslate\">\n <ng-template matTabContent>\n <ng-container *ngIf=\"tab.id === 'hearings'\">\n <exui-case-hearings-ce></exui-case-hearings-ce>\n </ng-container>\n </ng-template>\n </mat-tab>\n </mat-tab-group>\n </ng-container>\n </div>\n</div>\n", styles: ["th,.compound-field>td{width:1%;white-space:nowrap;vertical-align:top}.compound-field th{padding:0}.compound-field>td{padding:0}.case-viewer-controls{margin-top:47px;margin-bottom:20px}ccd-case-header{float:left;margin-right:10px}ccd-event-trigger{float:right}.case-viewer-label{min-width:300px;white-space:normal}.markdown h3{margin-bottom:0}.hide-table-capion{position:absolute;visibility:hidden}\n"] }]
42041
42082
  }], () => [{ type: i0.NgZone }, { type: i1$2.ActivatedRoute }, { type: i1$2.Router }, { type: NavigationNotifierService }, { type: OrderService }, { type: ActivityPollingService }, { type: i1$3.MatDialog }, { type: AlertService }, { type: DraftService }, { type: ErrorNotifierService }, { type: ConvertHrefToRouterService }, { type: i5.Location }, { type: i0.ChangeDetectorRef }, { type: SessionStorageService }, { type: i1.RpxTranslatePipe }, { type: LoadingService }, { type: LinkedCasesService }, { type: CaseFlagStateService }, { type: i0.NgZone }], { hasPrint: [{
42042
42083
  type: Input
42043
42084
  }], hasEventSelector: [{