@hmcts/ccd-case-ui-toolkit 7.3.79-govuk5 → 7.3.79-govuk5-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.
|
@@ -12395,9 +12395,9 @@ function CaseEditPageComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
12395
12395
|
} if (rf & 2) {
|
|
12396
12396
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
12397
12397
|
i0.ɵɵadvance();
|
|
12398
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.currentPage.label);
|
|
12398
|
+
i0.ɵɵproperty("ngIf", !(ctx_r1.currentPage == null ? null : ctx_r1.currentPage.label));
|
|
12399
12399
|
i0.ɵɵadvance();
|
|
12400
|
-
i0.ɵɵproperty("ngIf", ctx_r1.currentPage.label);
|
|
12400
|
+
i0.ɵɵproperty("ngIf", ctx_r1.currentPage == null ? null : ctx_r1.currentPage.label);
|
|
12401
12401
|
} }
|
|
12402
12402
|
function CaseEditPageComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
12403
12403
|
i0.ɵɵelement(0, "div");
|
|
@@ -12408,7 +12408,7 @@ function CaseEditPageComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
12408
12408
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
12409
12409
|
} if (rf & 2) {
|
|
12410
12410
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
12411
|
-
i0.ɵɵproperty("content", i0.ɵɵpipeBind1(2, 5, i0.ɵɵpipeBind3(1, 1, ctx_r1.getCaseTitle(), ctx_r1.caseFields, ctx_r1.editForm.controls["data"])));
|
|
12411
|
+
i0.ɵɵproperty("content", ctx_r1.demoteCaseTitleHeadingLevel(i0.ɵɵpipeBind1(2, 5, i0.ɵɵpipeBind3(1, 1, ctx_r1.getCaseTitle(), ctx_r1.caseFields, ctx_r1.editForm.controls["data"]))));
|
|
12412
12412
|
} }
|
|
12413
12413
|
function CaseEditPageComponent_ng_template_4_h2_0_Template(rf, ctx) { if (rf & 1) {
|
|
12414
12414
|
i0.ɵɵelementStart(0, "h2", 15);
|
|
@@ -12454,21 +12454,21 @@ function CaseEditPageComponent_div_6_Template(rf, ctx) { if (rf & 1) {
|
|
|
12454
12454
|
i0.ɵɵadvance(2);
|
|
12455
12455
|
i0.ɵɵproperty("ngForOf", ctx_r1.validationErrors);
|
|
12456
12456
|
} }
|
|
12457
|
-
function
|
|
12457
|
+
function CaseEditPageComponent_form_10_ccd_case_edit_form_2_Template(rf, ctx) { if (rf & 1) {
|
|
12458
12458
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
12459
|
-
i0.ɵɵelementStart(0, "ccd-case-edit-form",
|
|
12460
|
-
i0.ɵɵlistener("valuesChanged", function
|
|
12459
|
+
i0.ɵɵelementStart(0, "ccd-case-edit-form", 31);
|
|
12460
|
+
i0.ɵɵlistener("valuesChanged", function CaseEditPageComponent_form_10_ccd_case_edit_form_2_Template_ccd_case_edit_form_valuesChanged_0_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.applyValuesChanged($event)); });
|
|
12461
12461
|
i0.ɵɵelementEnd();
|
|
12462
12462
|
} if (rf & 2) {
|
|
12463
12463
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
12464
12464
|
i0.ɵɵproperty("fields", ctx_r1.currentPage.getCol1Fields())("formGroup", ctx_r1.editForm.controls["data"])("caseFields", ctx_r1.caseFields)("pageChangeSubject", ctx_r1.pageChangeSubject);
|
|
12465
12465
|
} }
|
|
12466
|
-
function
|
|
12467
|
-
i0.ɵɵelementStart(0, "div",
|
|
12468
|
-
i0.ɵɵelement(2, "ccd-case-edit-form",
|
|
12466
|
+
function CaseEditPageComponent_form_10_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
12467
|
+
i0.ɵɵelementStart(0, "div", 32)(1, "div", 33);
|
|
12468
|
+
i0.ɵɵelement(2, "ccd-case-edit-form", 34);
|
|
12469
12469
|
i0.ɵɵelementEnd();
|
|
12470
|
-
i0.ɵɵelementStart(3, "div",
|
|
12471
|
-
i0.ɵɵelement(4, "ccd-case-edit-form",
|
|
12470
|
+
i0.ɵɵelementStart(3, "div", 35);
|
|
12471
|
+
i0.ɵɵelement(4, "ccd-case-edit-form", 36);
|
|
12472
12472
|
i0.ɵɵelementEnd()();
|
|
12473
12473
|
} if (rf & 2) {
|
|
12474
12474
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
@@ -12477,10 +12477,10 @@ function CaseEditPageComponent_form_10_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
12477
12477
|
i0.ɵɵadvance(2);
|
|
12478
12478
|
i0.ɵɵproperty("fields", ctx_r1.currentPage.getCol2Fields())("formGroup", ctx_r1.editForm.controls["data"])("caseFields", ctx_r1.caseFields);
|
|
12479
12479
|
} }
|
|
12480
|
-
function
|
|
12480
|
+
function CaseEditPageComponent_form_10_button_5_Template(rf, ctx) { if (rf & 1) {
|
|
12481
12481
|
const _r7 = i0.ɵɵgetCurrentView();
|
|
12482
|
-
i0.ɵɵelementStart(0, "button",
|
|
12483
|
-
i0.ɵɵlistener("click", function
|
|
12482
|
+
i0.ɵɵelementStart(0, "button", 37);
|
|
12483
|
+
i0.ɵɵlistener("click", function CaseEditPageComponent_form_10_button_5_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.toPreviousPage()); });
|
|
12484
12484
|
i0.ɵɵtext(1);
|
|
12485
12485
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
12486
12486
|
i0.ɵɵelementEnd();
|
|
@@ -12494,25 +12494,24 @@ function CaseEditPageComponent_form_10_Template(rf, ctx) { if (rf & 1) {
|
|
|
12494
12494
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
12495
12495
|
i0.ɵɵelementStart(0, "form", 22);
|
|
12496
12496
|
i0.ɵɵlistener("submit", function CaseEditPageComponent_form_10_Template_form_submit_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.nextStep()); });
|
|
12497
|
-
i0.ɵɵelementStart(1, "
|
|
12498
|
-
i0.ɵɵ
|
|
12499
|
-
i0.ɵɵtemplate(3, CaseEditPageComponent_form_10_ccd_case_edit_form_3_Template, 1, 4, "ccd-case-edit-form", 25)(4, CaseEditPageComponent_form_10_div_4_Template, 5, 6, "div", 26);
|
|
12497
|
+
i0.ɵɵelementStart(1, "div", 23);
|
|
12498
|
+
i0.ɵɵtemplate(2, CaseEditPageComponent_form_10_ccd_case_edit_form_2_Template, 1, 4, "ccd-case-edit-form", 24)(3, CaseEditPageComponent_form_10_div_3_Template, 5, 6, "div", 25);
|
|
12500
12499
|
i0.ɵɵelementEnd();
|
|
12501
|
-
i0.ɵɵelementStart(
|
|
12502
|
-
i0.ɵɵtemplate(
|
|
12503
|
-
i0.ɵɵelementStart(
|
|
12504
|
-
i0.ɵɵtext(
|
|
12505
|
-
i0.ɵɵpipe(
|
|
12500
|
+
i0.ɵɵelementStart(4, "div", 26);
|
|
12501
|
+
i0.ɵɵtemplate(5, CaseEditPageComponent_form_10_button_5_Template, 3, 4, "button", 27);
|
|
12502
|
+
i0.ɵɵelementStart(6, "button", 28);
|
|
12503
|
+
i0.ɵɵtext(7);
|
|
12504
|
+
i0.ɵɵpipe(8, "rpxTranslate");
|
|
12506
12505
|
i0.ɵɵelementEnd()();
|
|
12507
|
-
i0.ɵɵelementStart(
|
|
12508
|
-
i0.ɵɵlistener("click", function
|
|
12509
|
-
i0.ɵɵtext(
|
|
12510
|
-
i0.ɵɵpipe(
|
|
12506
|
+
i0.ɵɵelementStart(9, "p", 29)(10, "button", 30);
|
|
12507
|
+
i0.ɵɵlistener("click", function CaseEditPageComponent_form_10_Template_button_click_10_listener() { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.cancel()); });
|
|
12508
|
+
i0.ɵɵtext(11);
|
|
12509
|
+
i0.ɵɵpipe(12, "rpxTranslate");
|
|
12511
12510
|
i0.ɵɵelementEnd()()();
|
|
12512
12511
|
} if (rf & 2) {
|
|
12513
12512
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
12514
12513
|
i0.ɵɵproperty("formGroup", ctx_r1.editForm);
|
|
12515
|
-
i0.ɵɵadvance(
|
|
12514
|
+
i0.ɵɵadvance(2);
|
|
12516
12515
|
i0.ɵɵproperty("ngIf", !ctx_r1.currentPage.isMultiColumn());
|
|
12517
12516
|
i0.ɵɵadvance();
|
|
12518
12517
|
i0.ɵɵproperty("ngIf", ctx_r1.currentPage.isMultiColumn());
|
|
@@ -12521,13 +12520,13 @@ function CaseEditPageComponent_form_10_Template(rf, ctx) { if (rf & 1) {
|
|
|
12521
12520
|
i0.ɵɵadvance();
|
|
12522
12521
|
i0.ɵɵproperty("disabled", ctx_r1.submitting());
|
|
12523
12522
|
i0.ɵɵadvance();
|
|
12524
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
12523
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(8, 7, ctx_r1.triggerText));
|
|
12525
12524
|
i0.ɵɵadvance(4);
|
|
12526
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
12525
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(12, 9, ctx_r1.getCancelText()));
|
|
12527
12526
|
} }
|
|
12528
12527
|
function CaseEditPageComponent_ccd_case_event_completion_11_Template(rf, ctx) { if (rf & 1) {
|
|
12529
12528
|
const _r8 = i0.ɵɵgetCurrentView();
|
|
12530
|
-
i0.ɵɵelementStart(0, "ccd-case-event-completion",
|
|
12529
|
+
i0.ɵɵelementStart(0, "ccd-case-event-completion", 38);
|
|
12531
12530
|
i0.ɵɵlistener("eventCanBeCompleted", function CaseEditPageComponent_ccd_case_event_completion_11_Template_ccd_case_event_completion_eventCanBeCompleted_0_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onEventCanBeCompleted($event)); });
|
|
12532
12531
|
i0.ɵɵelementEnd();
|
|
12533
12532
|
} if (rf & 2) {
|
|
@@ -13097,6 +13096,9 @@ class CaseEditPageComponent {
|
|
|
13097
13096
|
return (this.caseEdit.caseDetails && this.caseEdit.caseDetails.state &&
|
|
13098
13097
|
this.caseEdit.caseDetails.state.title_display ? this.caseEdit.caseDetails.state.title_display : '');
|
|
13099
13098
|
}
|
|
13099
|
+
demoteCaseTitleHeadingLevel(title) {
|
|
13100
|
+
return title ? title.replace(/^#(?!#)(\s+)/, '##$1') : title;
|
|
13101
|
+
}
|
|
13100
13102
|
getCancelText() {
|
|
13101
13103
|
return this.eventTrigger.can_save_draft ? 'Return to case list' : 'Cancel';
|
|
13102
13104
|
}
|
|
@@ -13274,7 +13276,7 @@ class CaseEditPageComponent {
|
|
|
13274
13276
|
} if (rf & 2) {
|
|
13275
13277
|
let _t;
|
|
13276
13278
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.caseEditFormComponents = _t);
|
|
13277
|
-
} }, standalone: false, decls: 12, vars: 11, consts: [["titleBlock", ""], ["idBlock", ""], [4, "ngIf"], [4, "ngIf", "ngIfThen", "ngIfElse"], ["class", "govuk-error-summary", "aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "govuk-error-summary", 4, "ngIf"], [3, "error"], [3, "callbackErrorsContext", "triggerTextContinue", "triggerTextIgnore", "callbackErrorsSubject"], [1, "width-50"], ["class", "form", 3, "formGroup", "submit", 4, "ngIf"], [3, "eventCompletionParams", "eventCanBeCompleted", 4, "ngIf"], ["class", "govuk-heading-l", 4, "ngIf"], [1, "govuk-heading-l"], [1, "govuk-caption-l"], [3, "content"], ["class", "heading-h2", 4, "ngIf"], [1, "heading-h2"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "govuk-error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], ["class", "govuk-error-summary__body", 4, "ngFor", "ngForOf"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], ["tabindex", "0", 1, "validation-error", 3, "click", "keyup.enter"], [1, "form", 3, "submit", "formGroup"], ["id", "fieldset-case-data"], [
|
|
13279
|
+
} }, standalone: false, decls: 12, vars: 11, consts: [["titleBlock", ""], ["idBlock", ""], [4, "ngIf"], [4, "ngIf", "ngIfThen", "ngIfElse"], ["class", "govuk-error-summary", "aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "govuk-error-summary", 4, "ngIf"], [3, "error"], [3, "callbackErrorsContext", "triggerTextContinue", "triggerTextIgnore", "callbackErrorsSubject"], [1, "width-50"], ["class", "form", 3, "formGroup", "submit", 4, "ngIf"], [3, "eventCompletionParams", "eventCanBeCompleted", 4, "ngIf"], ["class", "govuk-heading-l", 4, "ngIf"], [1, "govuk-heading-l"], [1, "govuk-caption-l"], [3, "content"], ["class", "heading-h2", 4, "ngIf"], [1, "heading-h2"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "govuk-error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], ["class", "govuk-error-summary__body", 4, "ngFor", "ngForOf"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], ["tabindex", "0", 1, "validation-error", 3, "click", "keyup.enter"], [1, "form", 3, "submit", "formGroup"], ["id", "fieldset-case-data"], ["id", "caseEditForm", 3, "fields", "formGroup", "caseFields", "pageChangeSubject", "valuesChanged", 4, "ngIf"], ["class", "grid-row", 4, "ngIf"], [1, "form-group", "form-group-related"], ["class", "button button-secondary", "type", "button", 3, "disabled", "click", 4, "ngIf"], ["type", "submit", 1, "button", 3, "disabled"], [1, "cancel"], ["type", "button", 1, "govuk-js-link", 3, "click"], ["id", "caseEditForm", 3, "valuesChanged", "fields", "formGroup", "caseFields", "pageChangeSubject"], [1, "grid-row"], [1, "column-two-thirds", "rightBorderSeparator"], ["id", "caseEditForm1", 3, "fields", "formGroup", "caseFields"], [1, "column-one-third"], ["id", "caseEditForm2", 3, "fields", "formGroup", "caseFields"], ["type", "button", 1, "button", "button-secondary", 3, "click", "disabled"], [3, "eventCanBeCompleted", "eventCompletionParams"]], template: function CaseEditPageComponent_Template(rf, ctx) { if (rf & 1) {
|
|
13278
13280
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
13279
13281
|
i0.ɵɵtemplate(0, CaseEditPageComponent_ng_container_0_Template, 3, 2, "ng-container", 2)(1, CaseEditPageComponent_div_1_Template, 1, 0, "div", 3)(2, CaseEditPageComponent_ng_template_2_Template, 3, 7, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor)(4, CaseEditPageComponent_ng_template_4_Template, 1, 1, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor)(6, CaseEditPageComponent_div_6_Template, 5, 4, "div", 4);
|
|
13280
13282
|
i0.ɵɵelement(7, "ccd-case-edit-generic-errors", 5);
|
|
@@ -13282,13 +13284,13 @@ class CaseEditPageComponent {
|
|
|
13282
13284
|
i0.ɵɵlistener("callbackErrorsContext", function CaseEditPageComponent_Template_ccd_callback_errors_callbackErrorsContext_8_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.callbackErrorsNotify($event)); });
|
|
13283
13285
|
i0.ɵɵelementEnd();
|
|
13284
13286
|
i0.ɵɵelementStart(9, "div", 7);
|
|
13285
|
-
i0.ɵɵtemplate(10, CaseEditPageComponent_form_10_Template,
|
|
13287
|
+
i0.ɵɵtemplate(10, CaseEditPageComponent_form_10_Template, 13, 11, "form", 8);
|
|
13286
13288
|
i0.ɵɵelementEnd();
|
|
13287
13289
|
i0.ɵɵtemplate(11, CaseEditPageComponent_ccd_case_event_completion_11_Template, 1, 1, "ccd-case-event-completion", 9);
|
|
13288
13290
|
} if (rf & 2) {
|
|
13289
13291
|
const titleBlock_r9 = i0.ɵɵreference(3);
|
|
13290
13292
|
const idBlock_r10 = i0.ɵɵreference(5);
|
|
13291
|
-
i0.ɵɵproperty("ngIf", ctx.
|
|
13293
|
+
i0.ɵɵproperty("ngIf", ctx.eventTrigger);
|
|
13292
13294
|
i0.ɵɵadvance();
|
|
13293
13295
|
i0.ɵɵproperty("ngIf", ctx.getCaseTitle())("ngIfThen", titleBlock_r9)("ngIfElse", idBlock_r10);
|
|
13294
13296
|
i0.ɵɵadvance(5);
|
|
@@ -13305,7 +13307,7 @@ class CaseEditPageComponent {
|
|
|
13305
13307
|
}
|
|
13306
13308
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseEditPageComponent, [{
|
|
13307
13309
|
type: Component,
|
|
13308
|
-
args: [{ selector: 'ccd-case-edit-page', standalone: false, template: "<ng-container *ngIf=\"
|
|
13310
|
+
args: [{ selector: 'ccd-case-edit-page', standalone: false, template: "<ng-container *ngIf=\"eventTrigger\">\n <h1 *ngIf=\"!currentPage?.label\" class=\"govuk-heading-l\">{{eventTrigger.name | rpxTranslate}}</h1>\n <ng-container *ngIf=\"currentPage?.label\">\n <span class=\"govuk-caption-l\">{{ eventTrigger.name | rpxTranslate}}</span>\n <h1 class=\"govuk-heading-l\">{{currentPage.label | rpxTranslate}}</h1>\n </ng-container>\n</ng-container>\n\n<!--Case ID or Title -->\n<div *ngIf=\"getCaseTitle(); then titleBlock; else idBlock\"></div>\n<ng-template #titleBlock>\n <ccd-markdown [content]=\"demoteCaseTitleHeadingLevel(getCaseTitle() | ccdCaseTitle: caseFields : editForm.controls['data'] | rpxTranslate)\"></ccd-markdown>\n</ng-template>\n<ng-template #idBlock>\n <h2 *ngIf=\"getCaseId()\" class=\"heading-h2\">#{{ getCaseId() | ccdCaseReference }}</h2>\n</ng-template>\n\n<!-- Error message summary -->\n<div *ngIf=\"validationErrors.length > 0\" class=\"govuk-error-summary\" aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\" data-module=\"govuk-error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">\n {{'There is a problem' | rpxTranslate}}\n </h2>\n <div *ngFor=\"let validationError of validationErrors\" class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li>\n <a (click)=\"navigateToErrorElement(validationError.id)\" (keyup.enter)=\"navigateToErrorElement(validationError.id)\" tabindex=\"0\" class=\"validation-error\">\n {{ validationError.message | rpxTranslate: getRpxTranslatePipeArgs(validationError.label | rpxTranslate): null }}\n </a>\n </li>\n </ul>\n </div>\n</div>\n\n<ccd-case-edit-generic-errors [error]=\"caseEdit.error\"></ccd-case-edit-generic-errors>\n\n<ccd-callback-errors\n [triggerTextContinue]=\"triggerTextStart\"\n [triggerTextIgnore]=\"triggerTextIgnoreWarnings\"\n [callbackErrorsSubject]=\"caseEdit.callbackErrorsSubject\"\n (callbackErrorsContext)=\"callbackErrorsNotify($event)\">\n</ccd-callback-errors>\n<div class=\"width-50\">\n <form *ngIf=\"currentPage\" class=\"form\" [formGroup]=\"editForm\" (submit)=\"nextStep()\">\n <div id=\"fieldset-case-data\">\n <!-- single column -->\n <ccd-case-edit-form id='caseEditForm' *ngIf=\"!currentPage.isMultiColumn()\" [fields]=\"currentPage.getCol1Fields()\"\n [formGroup]=\"editForm.controls['data']\" [caseFields]=\"caseFields\"\n [pageChangeSubject]=\"pageChangeSubject\"\n (valuesChanged)=\"applyValuesChanged($event)\"></ccd-case-edit-form>\n <!-- two columns -->\n <div *ngIf=\"currentPage.isMultiColumn()\" class=\"grid-row\">\n <div class=\"column-two-thirds rightBorderSeparator\">\n <ccd-case-edit-form id='caseEditForm1' [fields]=\"currentPage.getCol1Fields()\"\n [formGroup]=\"editForm.controls['data']\" [caseFields]=\"caseFields\"></ccd-case-edit-form>\n </div>\n <div class=\"column-one-third\">\n <ccd-case-edit-form id='caseEditForm2' [fields]=\"currentPage.getCol2Fields()\"\n [formGroup]=\"editForm.controls['data']\" [caseFields]=\"caseFields\"></ccd-case-edit-form>\n </div>\n </div>\n </div>\n\n <div class=\"form-group form-group-related\">\n <button class=\"button button-secondary\" type=\"button\" (click)=\"toPreviousPage()\" *ngIf=\"!isAtStart()\" [disabled]=\"isDisabled()\">\n {{'Previous' | rpxTranslate}}\n </button>\n <button class=\"button\" type=\"submit\" [disabled]=\"submitting()\">{{triggerText | rpxTranslate}}</button>\n </div>\n\n <p class=\"cancel\"><button type=\"button\" (click)=\"cancel()\" class=\"govuk-js-link\">{{getCancelText() | rpxTranslate}}</button></p>\n </form>\n</div>\n\n<ccd-case-event-completion *ngIf=\"caseEdit.isEventCompletionChecksRequired\"\n [eventCompletionParams]=\"caseEdit.eventCompletionParams\"\n (eventCanBeCompleted)=\"onEventCanBeCompleted($event)\">\n</ccd-case-event-completion>\n", styles: [".govuk-js-link{appearance:none;background:none;border:none;color:#005ea5;cursor:pointer;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0;text-decoration:underline}.govuk-js-link:hover{color:#2b8cc4;text-decoration-thickness:max(3px,.1875rem,.12em)}.govuk-js-link:focus{background-color:#ffbf47;color:#000;outline:3px solid transparent;text-decoration:none;box-shadow:0 -2px #ffbf47,0 4px #000}.govuk-js-link:visited{color:#4c2c92}.rightBorderSeparator{border-right-width:4px;border-right-color:#ffcc02;border-right-style:solid}.validation-error{cursor:pointer;text-decoration:underline;color:#d4351c}\n"] }]
|
|
13309
13311
|
}], () => [{ type: CaseEditComponent }, { type: i1$1.ActivatedRoute }, { type: FormValueService }, { type: FormErrorService }, { type: i0.ChangeDetectorRef }, { type: PageValidationService }, { type: i1$3.MatLegacyDialog }, { type: CaseFieldService }, { type: CaseEditDataService }, { type: LoadingService }, { type: ValidPageListCaseFieldsService }, { type: MultipageComponentStateService }, { type: AddressesService }, { type: LinkedCasesService }, { type: CaseFlagStateService }, { type: FocusService }], { caseEditFormComponents: [{
|
|
13310
13312
|
type: ViewChildren,
|
|
13311
13313
|
args: [CaseEditFormComponent]
|
|
@@ -41096,12 +41098,13 @@ function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_
|
|
|
41096
41098
|
i0.ɵɵelementEnd()();
|
|
41097
41099
|
} if (rf & 2) {
|
|
41098
41100
|
const field_r7 = i0.ɵɵnextContext(2).$implicit;
|
|
41101
|
+
i0.ɵɵproperty("id", "case-viewer-field-label--" + field_r7.id);
|
|
41099
41102
|
i0.ɵɵadvance(2);
|
|
41100
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3,
|
|
41103
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, field_r7.label));
|
|
41101
41104
|
} }
|
|
41102
41105
|
function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_container_3_tr_4_Template(rf, ctx) { if (rf & 1) {
|
|
41103
41106
|
i0.ɵɵelementStart(0, "tr");
|
|
41104
|
-
i0.ɵɵtemplate(1, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_container_3_tr_4_th_1_Template, 4,
|
|
41107
|
+
i0.ɵɵtemplate(1, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_container_3_tr_4_th_1_Template, 4, 4, "th", 34);
|
|
41105
41108
|
i0.ɵɵelementStart(2, "td", 35)(3, "span", 36);
|
|
41106
41109
|
i0.ɵɵelement(4, "ccd-field-read", 37);
|
|
41107
41110
|
i0.ɵɵelementEnd()()();
|
|
@@ -41116,15 +41119,18 @@ function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_
|
|
|
41116
41119
|
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);
|
|
41117
41120
|
} }
|
|
41118
41121
|
function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_container_3_tr_5_Template(rf, ctx) { if (rf & 1) {
|
|
41119
|
-
i0.ɵɵelementStart(0, "tr", 40)(1, "td", 41)
|
|
41120
|
-
i0.ɵɵ
|
|
41122
|
+
i0.ɵɵelementStart(0, "tr", 40)(1, "td", 41);
|
|
41123
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
41124
|
+
i0.ɵɵelementStart(3, "span", 36);
|
|
41125
|
+
i0.ɵɵelement(4, "ccd-field-read", 37);
|
|
41121
41126
|
i0.ɵɵelementEnd()()();
|
|
41122
41127
|
} if (rf & 2) {
|
|
41123
41128
|
const field_r7 = i0.ɵɵnextContext().$implicit;
|
|
41124
41129
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
41125
41130
|
i0.ɵɵadvance();
|
|
41126
41131
|
i0.ɵɵproperty("id", "case-viewer-field-read--" + field_r7.id);
|
|
41127
|
-
i0.ɵɵ
|
|
41132
|
+
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(2, 6, field_r7.label || field_r7.id));
|
|
41133
|
+
i0.ɵɵadvance(3);
|
|
41128
41134
|
i0.ɵɵproperty("topLevelFormGroup", ctx_r1.formGroup.controls["data"])("caseFields", ctx_r1.caseFields)("caseField", field_r7)("caseReference", ctx_r1.caseDetails.case_id);
|
|
41129
41135
|
} }
|
|
41130
41136
|
function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -41132,7 +41138,7 @@ function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_
|
|
|
41132
41138
|
i0.ɵɵelementStart(1, "div", 30);
|
|
41133
41139
|
i0.ɵɵelementContainerStart(2, 31);
|
|
41134
41140
|
i0.ɵɵpipe(3, "ccdIsCompound");
|
|
41135
|
-
i0.ɵɵtemplate(4, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_container_3_tr_4_Template, 5, 6, "tr", 32)(5, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_container_3_tr_5_Template,
|
|
41141
|
+
i0.ɵɵtemplate(4, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_container_3_tr_4_Template, 5, 6, "tr", 32)(5, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_container_3_tr_5_Template, 5, 8, "tr", 33);
|
|
41136
41142
|
i0.ɵɵelementContainerEnd();
|
|
41137
41143
|
i0.ɵɵelementEnd();
|
|
41138
41144
|
i0.ɵɵelementContainerEnd();
|
|
@@ -41675,7 +41681,7 @@ class CaseFullAccessViewComponent {
|
|
|
41675
41681
|
} if (rf & 2) {
|
|
41676
41682
|
let _t;
|
|
41677
41683
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tabGroup = _t.first);
|
|
41678
|
-
} }, inputs: { hasPrint: "hasPrint", hasEventSelector: "hasEventSelector", caseDetails: "caseDetails", prependedTabs: "prependedTabs", appendedTabs: "appendedTabs" }, standalone: false, features: [i0.ɵɵNgOnChangesFeature], decls: 13, vars: 12, consts: [["tabGroup", ""], ["class", "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"], ["role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 1, "error-summary"], ["id", "edit-case-event_error-summary-heading", 1, "heading-h1", "error-summary-heading"], ["id", "edit-case-event_error-summary-body", 1, "govuk-error-summary__body"], ["href", "get-help", "target", "_blank"], ["id", "edit-case-event_error-summary-heading", 1, "heading-h2", "error-summary-heading"], ["class", "error-summary-list", 4, "ngIf"], [1, "error-summary-list"], [4, "ngFor", "ngForOf"], [1, "case-viewer-controls"], ["id", "case-viewer-control-print", "routerLink", "print", 1, "button", "button-secondary"], [3, "onTriggerChange", "onTriggerSubmit", "isDisabled", "triggers", "triggerText", "eventId"], [3, "linkClicked", "notificationBannerConfig"], ["animationDuration", "0ms", 3, "selectedIndexChange", "disableRipple", "selectedIndex", "selectedIndex"], [3, "id", "label", 4, "ngFor", "ngForOf"], [3, "id", "label", "aria-label", 4, "ngFor", "ngForOf"], [3, "id", "label"], ["matTabContent", ""], [3, "id", "label", "aria-label"], ["ccdLabelSubstitutor", "", 3, "caseField", "contextFields", "hidden"], [3, "ngSwitch"], [4, "ngSwitchCase"], ["class", "compound-field", 4, "ngSwitchCase"], ["
|
|
41684
|
+
} }, inputs: { hasPrint: "hasPrint", hasEventSelector: "hasEventSelector", caseDetails: "caseDetails", prependedTabs: "prependedTabs", appendedTabs: "appendedTabs" }, standalone: false, features: [i0.ɵɵNgOnChangesFeature], decls: 13, vars: 12, consts: [["tabGroup", ""], ["class", "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"], ["role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 1, "error-summary"], ["id", "edit-case-event_error-summary-heading", 1, "heading-h1", "error-summary-heading"], ["id", "edit-case-event_error-summary-body", 1, "govuk-error-summary__body"], ["href", "get-help", "target", "_blank"], ["id", "edit-case-event_error-summary-heading", 1, "heading-h2", "error-summary-heading"], ["class", "error-summary-list", 4, "ngIf"], [1, "error-summary-list"], [4, "ngFor", "ngForOf"], [1, "case-viewer-controls"], ["id", "case-viewer-control-print", "routerLink", "print", 1, "button", "button-secondary"], [3, "onTriggerChange", "onTriggerSubmit", "isDisabled", "triggers", "triggerText", "eventId"], [3, "linkClicked", "notificationBannerConfig"], ["animationDuration", "0ms", 3, "selectedIndexChange", "disableRipple", "selectedIndex", "selectedIndex"], [3, "id", "label", 4, "ngFor", "ngForOf"], [3, "id", "label", "aria-label", 4, "ngFor", "ngForOf"], [3, "id", "label"], ["matTabContent", ""], [3, "id", "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) {
|
|
41679
41685
|
i0.ɵɵtemplate(0, CaseFullAccessViewComponent_div_0_Template, 14, 12, "div", 1)(1, CaseFullAccessViewComponent_div_1_Template, 8, 7, "div", 1);
|
|
41680
41686
|
i0.ɵɵelementStart(2, "ccd-callback-errors", 2);
|
|
41681
41687
|
i0.ɵɵlistener("callbackErrorsContext", function CaseFullAccessViewComponent_Template_ccd_callback_errors_callbackErrorsContext_2_listener($event) { return ctx.callbackErrorsNotify($event); });
|
|
@@ -41713,7 +41719,7 @@ class CaseFullAccessViewComponent {
|
|
|
41713
41719
|
}
|
|
41714
41720
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFullAccessViewComponent, [{
|
|
41715
41721
|
type: Component,
|
|
41716
|
-
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)\" class=\"error-summary\"\n role=\"group\" aria-labelledby=\"edit-case-event_error-summary-heading\" tabindex=\"-1\">\n <h1 class=\"heading-h1 error-summary-heading\" id=\"edit-case-event_error-summary-heading\">\n {{'Something went wrong' | rpxTranslate}}\n </h1>\n <div class=\"govuk-error-summary__body\" id=\"edit-case-event_error-summary-body\">\n <p>{{\"We're working to fix the problem. Try again shortly.\" | rpxTranslate}}</p>\n <p>\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\" class=\"error-summary\" role=\"group\"\n aria-labelledby=\"edit-case-event_error-summary-heading\" tabindex=\"-1\">\n <h2 class=\"heading-h2 error-summary-heading\" id=\"edit-case-event_error-summary-heading\">\n {{'The callback data failed validation' | rpxTranslate}}\n </h2>\n <p>{{error.message | rpxTranslate}}</p>\n <ul *ngIf=\"error.details?.field_errors\" class=\"error-summary-list\">\n <li *ngFor=\"let fieldError of error.details.field_errors\">\n {{fieldError.message | rpxTranslate}}\n </li>\n </ul>\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=\"button 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 <mat-tab-group #tabGroup animationDuration=\"0ms\" (selectedIndexChange)=\"tabChanged($event)\" [disableRipple]=\"true\" [(selectedIndex)]=\"selectedTabIndex\"\n [selectedIndex]=\"selectedTabIndex\">\n <mat-tab *ngFor=\"let tab of prependedTabs\" [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\" [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\" *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 [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\" [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"] }]
|
|
41722
|
+
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)\" class=\"error-summary\"\n role=\"group\" aria-labelledby=\"edit-case-event_error-summary-heading\" tabindex=\"-1\">\n <h1 class=\"heading-h1 error-summary-heading\" id=\"edit-case-event_error-summary-heading\">\n {{'Something went wrong' | rpxTranslate}}\n </h1>\n <div class=\"govuk-error-summary__body\" id=\"edit-case-event_error-summary-body\">\n <p>{{\"We're working to fix the problem. Try again shortly.\" | rpxTranslate}}</p>\n <p>\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\" class=\"error-summary\" role=\"group\"\n aria-labelledby=\"edit-case-event_error-summary-heading\" tabindex=\"-1\">\n <h2 class=\"heading-h2 error-summary-heading\" id=\"edit-case-event_error-summary-heading\">\n {{'The callback data failed validation' | rpxTranslate}}\n </h2>\n <p>{{error.message | rpxTranslate}}</p>\n <ul *ngIf=\"error.details?.field_errors\" class=\"error-summary-list\">\n <li *ngFor=\"let fieldError of error.details.field_errors\">\n {{fieldError.message | rpxTranslate}}\n </li>\n </ul>\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=\"button 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 <mat-tab-group #tabGroup animationDuration=\"0ms\" (selectedIndexChange)=\"tabChanged($event)\" [disableRipple]=\"true\" [(selectedIndex)]=\"selectedTabIndex\"\n [selectedIndex]=\"selectedTabIndex\">\n <mat-tab *ngFor=\"let tab of prependedTabs\" [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\" [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\" [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"] }]
|
|
41717
41723
|
}], () => [{ type: i0.NgZone }, { type: i1$1.ActivatedRoute }, { type: i1$1.Router }, { type: NavigationNotifierService }, { type: OrderService }, { type: ActivityPollingService }, { type: i1$3.MatLegacyDialog }, { 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: [{
|
|
41718
41724
|
type: Input
|
|
41719
41725
|
}], hasEventSelector: [{
|
|
@@ -43214,7 +43220,7 @@ var ChallengedAccessRequestErrors;
|
|
|
43214
43220
|
ChallengedAccessRequestErrors["NO_REASON"] = "Enter a reason";
|
|
43215
43221
|
})(ChallengedAccessRequestErrors || (ChallengedAccessRequestErrors = {}));
|
|
43216
43222
|
|
|
43217
|
-
const _c0$4 = a0 => ({ "form-group
|
|
43223
|
+
const _c0$4 = a0 => ({ "govuk-form-group--error": a0 });
|
|
43218
43224
|
const _c1$2 = a0 => ({ "govuk-input--error": a0 });
|
|
43219
43225
|
const _c2 = a0 => ({ "govuk-textarea--error": a0 });
|
|
43220
43226
|
function CaseChallengedAccessRequestComponent_exui_error_message_0_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -43234,7 +43240,7 @@ function CaseChallengedAccessRequestComponent_div_17_Template(rf, ctx) { if (rf
|
|
|
43234
43240
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, ctx_r0.errorMessage.description), " ");
|
|
43235
43241
|
} }
|
|
43236
43242
|
function CaseChallengedAccessRequestComponent_div_24_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
43237
|
-
i0.ɵɵelementStart(0, "div",
|
|
43243
|
+
i0.ɵɵelementStart(0, "div", 31);
|
|
43238
43244
|
i0.ɵɵtext(1);
|
|
43239
43245
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
43240
43246
|
i0.ɵɵelementEnd();
|
|
@@ -43244,23 +43250,28 @@ function CaseChallengedAccessRequestComponent_div_24_div_4_Template(rf, ctx) { i
|
|
|
43244
43250
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, ctx_r0.errorMessage.description), " ");
|
|
43245
43251
|
} }
|
|
43246
43252
|
function CaseChallengedAccessRequestComponent_div_24_Template(rf, ctx) { if (rf & 1) {
|
|
43247
|
-
i0.ɵɵelementStart(0, "div", 27)(1, "div",
|
|
43253
|
+
i0.ɵɵelementStart(0, "div", 27)(1, "div", 3)(2, "label", 28);
|
|
43248
43254
|
i0.ɵɵtext(3);
|
|
43249
43255
|
i0.ɵɵelementEnd();
|
|
43250
|
-
i0.ɵɵtemplate(4, CaseChallengedAccessRequestComponent_div_24_div_4_Template, 3, 3, "div",
|
|
43251
|
-
i0.ɵɵelement(5, "input",
|
|
43256
|
+
i0.ɵɵtemplate(4, CaseChallengedAccessRequestComponent_div_24_div_4_Template, 3, 3, "div", 29);
|
|
43257
|
+
i0.ɵɵelement(5, "input", 30);
|
|
43252
43258
|
i0.ɵɵelementEnd()();
|
|
43253
43259
|
} if (rf & 2) {
|
|
43260
|
+
let tmp_1_0;
|
|
43261
|
+
let tmp_5_0;
|
|
43254
43262
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
43255
|
-
i0.ɵɵadvance(
|
|
43263
|
+
i0.ɵɵadvance();
|
|
43264
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c0$4, ((tmp_1_0 = ctx_r0.formGroup.get("caseReference")) == null ? null : tmp_1_0.invalid) && ctx_r0.submitted));
|
|
43265
|
+
i0.ɵɵadvance(2);
|
|
43256
43266
|
i0.ɵɵtextInterpolate1(" ", ctx_r0.caseRefLabel, " ");
|
|
43257
43267
|
i0.ɵɵadvance();
|
|
43258
43268
|
i0.ɵɵproperty("ngIf", ctx_r0.formGroup.get("caseReference").invalid && ctx_r0.submitted);
|
|
43259
43269
|
i0.ɵɵadvance();
|
|
43260
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
43270
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c1$2, ctx_r0.formGroup.get("caseReference").invalid && ctx_r0.submitted));
|
|
43271
|
+
i0.ɵɵattribute("aria-describedby", ((tmp_5_0 = ctx_r0.formGroup.get("caseReference")) == null ? null : tmp_5_0.invalid) && ctx_r0.submitted ? "case-reference-error-message" : null);
|
|
43261
43272
|
} }
|
|
43262
43273
|
function CaseChallengedAccessRequestComponent_div_40_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
43263
|
-
i0.ɵɵelementStart(0, "div",
|
|
43274
|
+
i0.ɵɵelementStart(0, "div", 35);
|
|
43264
43275
|
i0.ɵɵtext(1);
|
|
43265
43276
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
43266
43277
|
i0.ɵɵelementEnd();
|
|
@@ -43270,16 +43281,21 @@ function CaseChallengedAccessRequestComponent_div_40_div_2_Template(rf, ctx) { i
|
|
|
43270
43281
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, ctx_r0.errorMessage.description), " ");
|
|
43271
43282
|
} }
|
|
43272
43283
|
function CaseChallengedAccessRequestComponent_div_40_Template(rf, ctx) { if (rf & 1) {
|
|
43273
|
-
i0.ɵɵelementStart(0, "div",
|
|
43274
|
-
i0.ɵɵtemplate(2, CaseChallengedAccessRequestComponent_div_40_div_2_Template, 3, 3, "div",
|
|
43275
|
-
i0.ɵɵelement(3, "textarea",
|
|
43284
|
+
i0.ɵɵelementStart(0, "div", 32)(1, "div", 3);
|
|
43285
|
+
i0.ɵɵtemplate(2, CaseChallengedAccessRequestComponent_div_40_div_2_Template, 3, 3, "div", 33);
|
|
43286
|
+
i0.ɵɵelement(3, "textarea", 34);
|
|
43276
43287
|
i0.ɵɵelementEnd()();
|
|
43277
43288
|
} if (rf & 2) {
|
|
43289
|
+
let tmp_1_0;
|
|
43290
|
+
let tmp_4_0;
|
|
43278
43291
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
43279
|
-
i0.ɵɵadvance(
|
|
43292
|
+
i0.ɵɵadvance();
|
|
43293
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$4, ((tmp_1_0 = ctx_r0.formGroup.get("otherReason")) == null ? null : tmp_1_0.invalid) && ctx_r0.submitted));
|
|
43294
|
+
i0.ɵɵadvance();
|
|
43280
43295
|
i0.ɵɵproperty("ngIf", ctx_r0.formGroup.get("otherReason").invalid && ctx_r0.submitted);
|
|
43281
43296
|
i0.ɵɵadvance();
|
|
43282
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
43297
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c2, ctx_r0.formGroup.get("otherReason").invalid && ctx_r0.submitted));
|
|
43298
|
+
i0.ɵɵattribute("aria-describedby", "reason-3-label" + (((tmp_4_0 = ctx_r0.formGroup.get("otherReason")) == null ? null : tmp_4_0.invalid) && ctx_r0.submitted ? " other-reason-error-message" : ""));
|
|
43283
43299
|
} }
|
|
43284
43300
|
class CaseChallengedAccessRequestComponent {
|
|
43285
43301
|
fb;
|
|
@@ -43427,7 +43443,7 @@ class CaseChallengedAccessRequestComponent {
|
|
|
43427
43443
|
return input.value === null || input.value.trim().length === 0;
|
|
43428
43444
|
}
|
|
43429
43445
|
static ɵfac = function CaseChallengedAccessRequestComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseChallengedAccessRequestComponent)(i0.ɵɵdirectiveInject(i4.FormBuilder), i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(CasesService), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(i4$1.Title)); };
|
|
43430
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseChallengedAccessRequestComponent, selectors: [["ccd-case-challenged-access-request"]], standalone: false, decls: 50, vars:
|
|
43446
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseChallengedAccessRequestComponent, selectors: [["ccd-case-challenged-access-request"]], standalone: false, decls: 50, vars: 50, consts: [[3, "error", 4, "ngIf"], ["type", "information"], [3, "submit", "formGroup"], [1, "govuk-form-group", 3, "ngClass"], ["aria-describedby", "reason-hint", 1, "govuk-fieldset"], [1, "govuk-fieldset__legend", "govuk-fieldset__legend--l"], [1, "govuk-fieldset__heading"], ["id", "reason-hint", 1, "govuk-hint"], ["id", "error-message", "class", "govuk-error-message", 4, "ngIf"], ["data-module", "govuk-radios", 1, "govuk-radios", "govuk-radios--conditional"], [1, "govuk-radios__item"], ["id", "reason-0", "name", "radioSelected", "type", "radio", "data-aria-controls", "conditional-reason-0", "formControlName", "radioSelected", 1, "govuk-radios__input", 3, "change", "value", "checked"], ["for", "reason-0", 1, "govuk-label", "govuk-radios__label"], ["id", "conditional-reason-0", "class", "govuk-radios__conditional", 4, "ngIf"], ["id", "reason-1", "name", "radioSelected", "type", "radio", "formControlName", "radioSelected", 1, "govuk-radios__input", 3, "change", "value", "checked"], ["for", "reason-1", 1, "govuk-label", "govuk-radios__label"], ["id", "reason-2", "name", "radioSelected", "type", "radio", "formControlName", "radioSelected", 1, "govuk-radios__input", 3, "change", "value", "checked"], ["for", "reason-2", 1, "govuk-label", "govuk-radios__label"], ["id", "reason-3", "name", "radioSelected", "type", "radio", "data-aria-controls", "conditional-reason-3", "formControlName", "radioSelected", 1, "govuk-radios__input", 3, "change", "value", "checked"], ["for", "reason-3", "id", "reason-3-label", 1, "govuk-label", "govuk-radios__label"], ["id", "conditional-reason-3", "class", "govuk-radios__conditional", 4, "ngIf"], [1, "govuk-button-group"], ["type", "submit", 1, "govuk-button", "govuk-!-margin-right-3"], [1, "govuk-grid-column-full", "govuk-!-padding-left-0"], ["href", "#", 1, "govuk-body", 3, "click"], [3, "error"], ["id", "error-message", 1, "govuk-error-message"], ["id", "conditional-reason-0", 1, "govuk-radios__conditional"], ["for", "case-reference", 1, "govuk-label"], ["id", "case-reference-error-message", "class", "govuk-error-message", 4, "ngIf"], ["id", "case-reference", "name", "case-reference", "type", "text", "formControlName", "caseReference", 1, "govuk-input", "govuk-!-width-one-third", 3, "ngClass"], ["id", "case-reference-error-message", 1, "govuk-error-message"], ["id", "conditional-reason-3", 1, "govuk-radios__conditional"], ["id", "other-reason-error-message", "class", "govuk-error-message", 4, "ngIf"], ["id", "other-reason", "name", "other-reason", "rows", "5", "formControlName", "otherReason", 1, "govuk-textarea", 3, "ngClass"], ["id", "other-reason-error-message", 1, "govuk-error-message"]], template: function CaseChallengedAccessRequestComponent_Template(rf, ctx) { if (rf & 1) {
|
|
43431
43447
|
i0.ɵɵtemplate(0, CaseChallengedAccessRequestComponent_exui_error_message_0_Template, 1, 1, "exui-error-message", 0);
|
|
43432
43448
|
i0.ɵɵelementStart(1, "cut-alert", 1);
|
|
43433
43449
|
i0.ɵɵtext(2);
|
|
@@ -43454,7 +43470,7 @@ class CaseChallengedAccessRequestComponent {
|
|
|
43454
43470
|
i0.ɵɵtext(22);
|
|
43455
43471
|
i0.ɵɵpipe(23, "rpxTranslate");
|
|
43456
43472
|
i0.ɵɵelementEnd()();
|
|
43457
|
-
i0.ɵɵtemplate(24, CaseChallengedAccessRequestComponent_div_24_Template, 6,
|
|
43473
|
+
i0.ɵɵtemplate(24, CaseChallengedAccessRequestComponent_div_24_Template, 6, 9, "div", 13);
|
|
43458
43474
|
i0.ɵɵelementStart(25, "div", 10)(26, "input", 14);
|
|
43459
43475
|
i0.ɵɵlistener("change", function CaseChallengedAccessRequestComponent_Template_input_change_26_listener() { return ctx.onChange(); });
|
|
43460
43476
|
i0.ɵɵelementEnd();
|
|
@@ -43476,7 +43492,7 @@ class CaseChallengedAccessRequestComponent {
|
|
|
43476
43492
|
i0.ɵɵtext(38);
|
|
43477
43493
|
i0.ɵɵpipe(39, "rpxTranslate");
|
|
43478
43494
|
i0.ɵɵelementEnd()();
|
|
43479
|
-
i0.ɵɵtemplate(40, CaseChallengedAccessRequestComponent_div_40_Template, 4,
|
|
43495
|
+
i0.ɵɵtemplate(40, CaseChallengedAccessRequestComponent_div_40_Template, 4, 8, "div", 20);
|
|
43480
43496
|
i0.ɵɵelementEnd()()();
|
|
43481
43497
|
i0.ɵɵelementStart(41, "div", 21)(42, "button", 22);
|
|
43482
43498
|
i0.ɵɵtext(43);
|
|
@@ -43488,50 +43504,59 @@ class CaseChallengedAccessRequestComponent {
|
|
|
43488
43504
|
i0.ɵɵpipe(49, "rpxTranslate");
|
|
43489
43505
|
i0.ɵɵelementEnd()()()()();
|
|
43490
43506
|
} if (rf & 2) {
|
|
43507
|
+
let tmp_4_0;
|
|
43508
|
+
let tmp_10_0;
|
|
43509
|
+
let tmp_15_0;
|
|
43510
|
+
let tmp_19_0;
|
|
43511
|
+
let tmp_23_0;
|
|
43491
43512
|
i0.ɵɵproperty("ngIf", ctx.formGroup.invalid && ctx.submitted);
|
|
43492
43513
|
i0.ɵɵadvance(2);
|
|
43493
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3,
|
|
43514
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 28, "This case requires challenged access."));
|
|
43494
43515
|
i0.ɵɵadvance(3);
|
|
43495
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6,
|
|
43516
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 30, "This is because the case is outside your work area. If you request access to the case, it will be logged for auditing purposes."), "\n");
|
|
43496
43517
|
i0.ɵɵadvance(2);
|
|
43497
43518
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
43498
43519
|
i0.ɵɵadvance();
|
|
43499
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
43520
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(48, _c0$4, ((tmp_4_0 = ctx.formGroup.get("radioSelected")) == null ? null : tmp_4_0.invalid) && ctx.submitted));
|
|
43500
43521
|
i0.ɵɵadvance(4);
|
|
43501
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(13,
|
|
43522
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(13, 32, ctx.title), " ");
|
|
43502
43523
|
i0.ɵɵadvance(3);
|
|
43503
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(16,
|
|
43524
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(16, 34, ctx.hint), " ");
|
|
43504
43525
|
i0.ɵɵadvance(2);
|
|
43505
43526
|
i0.ɵɵproperty("ngIf", ctx.formGroup.get("radioSelected").invalid && ctx.submitted);
|
|
43506
43527
|
i0.ɵɵadvance(3);
|
|
43507
43528
|
i0.ɵɵproperty("value", ctx.accessReasons[0].reason)("checked", ctx.accessReasons[0].checked);
|
|
43529
|
+
i0.ɵɵattribute("aria-describedby", ((tmp_10_0 = ctx.formGroup.get("radioSelected")) == null ? null : tmp_10_0.invalid) && ctx.submitted ? "error-message" : null);
|
|
43508
43530
|
i0.ɵɵadvance(2);
|
|
43509
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(23,
|
|
43531
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(23, 36, ctx.accessReasons[0].reason), " ");
|
|
43510
43532
|
i0.ɵɵadvance(2);
|
|
43511
43533
|
i0.ɵɵproperty("ngIf", ctx.formGroup.get("radioSelected").value === ctx.accessReasons[0].reason);
|
|
43512
43534
|
i0.ɵɵadvance(2);
|
|
43513
43535
|
i0.ɵɵproperty("value", ctx.accessReasons[1].reason)("checked", ctx.accessReasons[1].checked);
|
|
43536
|
+
i0.ɵɵattribute("aria-describedby", ((tmp_15_0 = ctx.formGroup.get("radioSelected")) == null ? null : tmp_15_0.invalid) && ctx.submitted ? "error-message" : null);
|
|
43514
43537
|
i0.ɵɵadvance(2);
|
|
43515
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(29,
|
|
43538
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(29, 38, ctx.accessReasons[1].reason), " ");
|
|
43516
43539
|
i0.ɵɵadvance(3);
|
|
43517
43540
|
i0.ɵɵproperty("value", ctx.accessReasons[2].reason)("checked", ctx.accessReasons[2].checked);
|
|
43541
|
+
i0.ɵɵattribute("aria-describedby", ((tmp_19_0 = ctx.formGroup.get("radioSelected")) == null ? null : tmp_19_0.invalid) && ctx.submitted ? "error-message" : null);
|
|
43518
43542
|
i0.ɵɵadvance(2);
|
|
43519
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(34,
|
|
43543
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(34, 40, ctx.accessReasons[2].reason), " ");
|
|
43520
43544
|
i0.ɵɵadvance(3);
|
|
43521
43545
|
i0.ɵɵproperty("value", ctx.accessReasons[3].reason)("checked", ctx.accessReasons[3].checked);
|
|
43546
|
+
i0.ɵɵattribute("aria-describedby", ((tmp_23_0 = ctx.formGroup.get("radioSelected")) == null ? null : tmp_23_0.invalid) && ctx.submitted ? "error-message" : null);
|
|
43522
43547
|
i0.ɵɵadvance(2);
|
|
43523
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(39,
|
|
43548
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(39, 42, ctx.accessReasons[3].reason), " ");
|
|
43524
43549
|
i0.ɵɵadvance(2);
|
|
43525
43550
|
i0.ɵɵproperty("ngIf", ctx.formGroup.get("radioSelected").value === ctx.accessReasons[3].reason);
|
|
43526
43551
|
i0.ɵɵadvance(3);
|
|
43527
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(44,
|
|
43552
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(44, 44, "Submit"), " ");
|
|
43528
43553
|
i0.ɵɵadvance(5);
|
|
43529
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(49,
|
|
43554
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(49, 46, "Cancel"), " ");
|
|
43530
43555
|
} }, encapsulation: 2 });
|
|
43531
43556
|
}
|
|
43532
43557
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseChallengedAccessRequestComponent, [{
|
|
43533
43558
|
type: Component,
|
|
43534
|
-
args: [{ selector: 'ccd-case-challenged-access-request', standalone: false, template: "<exui-error-message *ngIf=\"formGroup.invalid && submitted\" [error]=\"errorMessage\"></exui-error-message>\n<cut-alert type=\"information\">\n {{'This case requires challenged access.' | rpxTranslate}}<br/>\n {{'This is because the case is outside your work area. If you request access to the case, it will be logged for auditing purposes.' | rpxTranslate}}\n</cut-alert>\n<form [formGroup]=\"formGroup\" (submit)=\"onSubmit()\">\n <div class=\"govuk-form-group\" [ngClass]=\"{'form-group
|
|
43559
|
+
args: [{ selector: 'ccd-case-challenged-access-request', standalone: false, template: "<exui-error-message *ngIf=\"formGroup.invalid && submitted\" [error]=\"errorMessage\"></exui-error-message>\n<cut-alert type=\"information\">\n {{'This case requires challenged access.' | rpxTranslate}}<br/>\n {{'This is because the case is outside your work area. If you request access to the case, it will be logged for auditing purposes.' | rpxTranslate}}\n</cut-alert>\n<form [formGroup]=\"formGroup\" (submit)=\"onSubmit()\">\n <div class=\"govuk-form-group\" [ngClass]=\"{'govuk-form-group--error': formGroup.get('radioSelected')?.invalid && submitted}\">\n <fieldset class=\"govuk-fieldset\" aria-describedby=\"reason-hint\">\n <legend class=\"govuk-fieldset__legend govuk-fieldset__legend--l\">\n <h1 class=\"govuk-fieldset__heading\">\n {{title | rpxTranslate}}\n </h1>\n </legend>\n <div id=\"reason-hint\" class=\"govuk-hint\">\n {{hint | rpxTranslate}}\n </div>\n <div id=\"error-message\" class=\"govuk-error-message\" *ngIf=\"formGroup.get('radioSelected').invalid && submitted\">\n {{errorMessage.description | rpxTranslate}}\n </div>\n <div class=\"govuk-radios govuk-radios--conditional\" data-module=\"govuk-radios\">\n <div class=\"govuk-radios__item\">\n <input class=\"govuk-radios__input\" id=\"reason-0\" name=\"radioSelected\" type=\"radio\" [value]=\"accessReasons[0].reason\"\n data-aria-controls=\"conditional-reason-0\" formControlName=\"radioSelected\" [checked]=\"accessReasons[0].checked\"\n [attr.aria-describedby]=\"formGroup.get('radioSelected')?.invalid && submitted ? 'error-message' : null\" (change)=\"onChange()\"/>\n <label class=\"govuk-label govuk-radios__label\" for=\"reason-0\">\n {{accessReasons[0].reason | rpxTranslate}}\n </label>\n </div>\n <div id=\"conditional-reason-0\" *ngIf=\"formGroup.get('radioSelected').value === accessReasons[0].reason\"\n class=\"govuk-radios__conditional\">\n <div class=\"govuk-form-group\" [ngClass]=\"{'govuk-form-group--error': formGroup.get('caseReference')?.invalid && submitted}\">\n <label class=\"govuk-label\" for=\"case-reference\">\n {{caseRefLabel}}\n </label>\n <div id=\"case-reference-error-message\" class=\"govuk-error-message\" *ngIf=\"formGroup.get('caseReference').invalid && submitted\">\n {{errorMessage.description | rpxTranslate}}\n </div>\n <input class=\"govuk-input govuk-!-width-one-third\"\n [ngClass]=\"{'govuk-input--error': formGroup.get('caseReference').invalid && submitted}\" id=\"case-reference\"\n name=\"case-reference\" type=\"text\" [attr.aria-describedby]=\"formGroup.get('caseReference')?.invalid && submitted ? 'case-reference-error-message' : null\" formControlName=\"caseReference\">\n </div>\n </div>\n <div class=\"govuk-radios__item\">\n <input class=\"govuk-radios__input\" id=\"reason-1\" name=\"radioSelected\" type=\"radio\" [value]=\"accessReasons[1].reason\"\n formControlName=\"radioSelected\" [checked]=\"accessReasons[1].checked\" [attr.aria-describedby]=\"formGroup.get('radioSelected')?.invalid && submitted ? 'error-message' : null\" (change)=\"onChange()\"/>\n <label class=\"govuk-label govuk-radios__label\" for=\"reason-1\">\n {{accessReasons[1].reason | rpxTranslate}}\n </label>\n </div>\n <div class=\"govuk-radios__item\">\n <input class=\"govuk-radios__input\" id=\"reason-2\" name=\"radioSelected\" type=\"radio\" [value]=\"accessReasons[2].reason\"\n formControlName=\"radioSelected\" [checked]=\"accessReasons[2].checked\" [attr.aria-describedby]=\"formGroup.get('radioSelected')?.invalid && submitted ? 'error-message' : null\" (change)=\"onChange()\"/>\n <label class=\"govuk-label govuk-radios__label\" for=\"reason-2\">\n {{accessReasons[2].reason | rpxTranslate}}\n </label>\n </div>\n <div class=\"govuk-radios__item\">\n <input class=\"govuk-radios__input\" id=\"reason-3\" name=\"radioSelected\" type=\"radio\" [value]=\"accessReasons[3].reason\"\n data-aria-controls=\"conditional-reason-3\" formControlName=\"radioSelected\" [checked]=\"accessReasons[3].checked\"\n [attr.aria-describedby]=\"formGroup.get('radioSelected')?.invalid && submitted ? 'error-message' : null\" (change)=\"onChange()\"/>\n <label class=\"govuk-label govuk-radios__label\" for=\"reason-3\" id=\"reason-3-label\">\n {{accessReasons[3].reason | rpxTranslate}}\n </label>\n </div>\n <div id=\"conditional-reason-3\" *ngIf=\"formGroup.get('radioSelected').value === accessReasons[3].reason\"\n class=\"govuk-radios__conditional\">\n <div class=\"govuk-form-group\" [ngClass]=\"{'govuk-form-group--error': formGroup.get('otherReason')?.invalid && submitted}\">\n <div id=\"other-reason-error-message\" class=\"govuk-error-message\" *ngIf=\"formGroup.get('otherReason').invalid && submitted\">\n {{errorMessage.description | rpxTranslate}}\n </div>\n <textarea class=\"govuk-textarea\" [ngClass]=\"{'govuk-textarea--error': formGroup.get('otherReason').invalid && submitted}\"\n id=\"other-reason\" name=\"other-reason\" rows=\"5\" [attr.aria-describedby]=\"'reason-3-label' + (formGroup.get('otherReason')?.invalid && submitted ? ' other-reason-error-message' : '')\" formControlName=\"otherReason\"></textarea>\n </div>\n </div>\n </div>\n </fieldset>\n </div>\n <div class=\"govuk-button-group\">\n <button class=\"govuk-button govuk-!-margin-right-3\" type=\"submit\">\n {{'Submit' | rpxTranslate}}\n </button>\n <div class=\"govuk-grid-column-full govuk-!-padding-left-0\">\n <p>\n <a class='govuk-body' (click)=\"onCancel(); $event.preventDefault()\" href=\"#\">\n {{'Cancel' | rpxTranslate}}\n </a>\n </p>\n </div>\n </div>\n</form>\n" }]
|
|
43535
43560
|
}], () => [{ type: i4.FormBuilder }, { type: i1$1.Router }, { type: CasesService }, { type: i1$1.ActivatedRoute }, { type: CaseNotifier }, { type: i4$1.Title }], null); })();
|
|
43536
43561
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseChallengedAccessRequestComponent, { className: "CaseChallengedAccessRequestComponent", filePath: "lib/shared/components/case-viewer/case-challenged-access-request/case-challenged-access-request.component.ts", lineNumber: 16 }); })();
|
|
43537
43562
|
|
|
@@ -43794,7 +43819,7 @@ class CaseReviewSpecificAccessRequestComponent {
|
|
|
43794
43819
|
}
|
|
43795
43820
|
}
|
|
43796
43821
|
static ɵfac = function CaseReviewSpecificAccessRequestComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseReviewSpecificAccessRequestComponent)(i0.ɵɵdirectiveInject(i4.FormBuilder), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(AbstractAppConfig)); };
|
|
43797
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseReviewSpecificAccessRequestComponent, selectors: [["ccd-case-review-specific-access-request"]], standalone: false, decls: 77, vars:
|
|
43822
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseReviewSpecificAccessRequestComponent, selectors: [["ccd-case-review-specific-access-request"]], standalone: false, decls: 77, vars: 58, consts: [[3, "error", 4, "ngIf"], [3, "submit", "formGroup"], [1, "govuk-form-group"], ["aria-describedby", "reason-hint", 1, "govuk-fieldset"], [1, "govuk-grid-column-two-thirds"], [1, "govuk-fieldset__legend", "govuk-fieldset__legend--l"], [1, "govuk-fieldset__heading"], [1, "govuk-table"], [1, "govuk-table__body"], [1, "govuk-table__row"], ["scope", "row", 1, "govuk-table__header", "leftLabel"], [1, "govuk-table__cell"], [1, "govuk-form-group", 3, "ngClass"], [1, "govuk-fieldset"], [1, "govuk-fieldset__legend", "govuk-fieldset__legend--m"], ["id", "error-message", "class", "govuk-error-message", 4, "ngIf"], [1, "govuk-radios__item"], ["id", "reason-0", "name", "radioSelected", "type", "radio", "formControlName", "radioSelected", 1, "govuk-radios__input", 3, "change", "value", "checked"], ["for", "reason-0", 1, "govuk-label", "govuk-radios__label"], ["id", "reason-1", "name", "radioSelected", "type", "radio", "formControlName", "radioSelected", 1, "govuk-radios__input", 3, "change", "value", "checked"], ["for", "reason-1", 1, "govuk-label", "govuk-radios__label"], ["id", "reason-2", "name", "radioSelected", "type", "radio", "formControlName", "radioSelected", 1, "govuk-radios__input", 3, "change", "value", "checked"], ["for", "reason-2", 1, "govuk-label", "govuk-radios__label"], [1, "govuk-button-group"], ["type", "submit", 1, "govuk-button", "govuk-!-margin-right-3"], [1, "govuk-grid-column-full", "govuk-!-padding-left-0"], ["href", "#", 1, "govuk-body", 3, "click"], [3, "error"], ["id", "error-message", 1, "govuk-error-message"]], template: function CaseReviewSpecificAccessRequestComponent_Template(rf, ctx) { if (rf & 1) {
|
|
43798
43823
|
i0.ɵɵtemplate(0, CaseReviewSpecificAccessRequestComponent_exui_error_message_0_Template, 1, 1, "exui-error-message", 0);
|
|
43799
43824
|
i0.ɵɵelementStart(1, "form", 1);
|
|
43800
43825
|
i0.ɵɵlistener("submit", function CaseReviewSpecificAccessRequestComponent_Template_form_submit_1_listener() { return ctx.onSubmit(); });
|
|
@@ -43880,58 +43905,64 @@ class CaseReviewSpecificAccessRequestComponent {
|
|
|
43880
43905
|
i0.ɵɵpipe(76, "rpxTranslate");
|
|
43881
43906
|
i0.ɵɵelementEnd()()()()();
|
|
43882
43907
|
} if (rf & 2) {
|
|
43908
|
+
let tmp_18_0;
|
|
43909
|
+
let tmp_22_0;
|
|
43910
|
+
let tmp_26_0;
|
|
43883
43911
|
i0.ɵɵproperty("ngIf", ctx.formGroup.invalid && ctx.submitted);
|
|
43884
43912
|
i0.ɵɵadvance();
|
|
43885
43913
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
43886
43914
|
i0.ɵɵadvance(7);
|
|
43887
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(9,
|
|
43915
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(9, 30, ctx.title), " ");
|
|
43888
43916
|
i0.ɵɵadvance(8);
|
|
43889
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(17,
|
|
43917
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(17, 32, "Case name"), " ");
|
|
43890
43918
|
i0.ɵɵadvance(3);
|
|
43891
43919
|
i0.ɵɵtextInterpolate(ctx.requestAccessDetails.caseName);
|
|
43892
43920
|
i0.ɵɵadvance(3);
|
|
43893
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(23,
|
|
43921
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(23, 34, "Case reference"), " ");
|
|
43894
43922
|
i0.ɵɵadvance(3);
|
|
43895
43923
|
i0.ɵɵtextInterpolate(ctx.requestAccessDetails.caseReference);
|
|
43896
43924
|
i0.ɵɵadvance(3);
|
|
43897
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(29,
|
|
43925
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(29, 36, "Date submitted"), " ");
|
|
43898
43926
|
i0.ɵɵadvance(3);
|
|
43899
43927
|
i0.ɵɵtextInterpolate(ctx.requestAccessDetails.dateSubmitted);
|
|
43900
43928
|
i0.ɵɵadvance(3);
|
|
43901
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(35,
|
|
43929
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(35, 38, "Request from"), " ");
|
|
43902
43930
|
i0.ɵɵadvance(3);
|
|
43903
43931
|
i0.ɵɵtextInterpolate(ctx.requestAccessDetails.requestFrom);
|
|
43904
43932
|
i0.ɵɵadvance(4);
|
|
43905
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(42,
|
|
43933
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(42, 40, "Reason for case access"), " ");
|
|
43906
43934
|
i0.ɵɵadvance(3);
|
|
43907
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(45,
|
|
43935
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(45, 42, ctx.requestAccessDetails.reasonForCaseAccess));
|
|
43908
43936
|
i0.ɵɵadvance(2);
|
|
43909
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
43937
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(56, _c0$2, ctx.formGroup.invalid && ctx.submitted));
|
|
43910
43938
|
i0.ɵɵadvance(4);
|
|
43911
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(51,
|
|
43939
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(51, 44, ctx.hint), " ");
|
|
43912
43940
|
i0.ɵɵadvance(2);
|
|
43913
43941
|
i0.ɵɵproperty("ngIf", ctx.formGroup.get("radioSelected").invalid && ctx.submitted);
|
|
43914
43942
|
i0.ɵɵadvance(2);
|
|
43915
43943
|
i0.ɵɵproperty("value", ctx.accessReasons[0].reason)("checked", ctx.accessReasons[0].checked);
|
|
43944
|
+
i0.ɵɵattribute("aria-describedby", ((tmp_18_0 = ctx.formGroup.get("radioSelected")) == null ? null : tmp_18_0.invalid) && ctx.submitted ? "error-message" : null);
|
|
43916
43945
|
i0.ɵɵadvance(2);
|
|
43917
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(57,
|
|
43946
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(57, 46, ctx.accessReasons[0].reason), " ");
|
|
43918
43947
|
i0.ɵɵadvance(3);
|
|
43919
43948
|
i0.ɵɵproperty("value", ctx.accessReasons[1].reason)("checked", ctx.accessReasons[1].checked);
|
|
43949
|
+
i0.ɵɵattribute("aria-describedby", ((tmp_22_0 = ctx.formGroup.get("radioSelected")) == null ? null : tmp_22_0.invalid) && ctx.submitted ? "error-message" : null);
|
|
43920
43950
|
i0.ɵɵadvance(2);
|
|
43921
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(62,
|
|
43951
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(62, 48, ctx.accessReasons[1].reason), " ");
|
|
43922
43952
|
i0.ɵɵadvance(3);
|
|
43923
43953
|
i0.ɵɵproperty("value", ctx.accessReasons[2].reason)("checked", ctx.accessReasons[2].checked);
|
|
43954
|
+
i0.ɵɵattribute("aria-describedby", ((tmp_26_0 = ctx.formGroup.get("radioSelected")) == null ? null : tmp_26_0.invalid) && ctx.submitted ? "error-message" : null);
|
|
43924
43955
|
i0.ɵɵadvance(2);
|
|
43925
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(67,
|
|
43956
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(67, 50, ctx.accessReasons[2].reason), " ");
|
|
43926
43957
|
i0.ɵɵadvance(4);
|
|
43927
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(71,
|
|
43958
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(71, 52, "Continue"), " ");
|
|
43928
43959
|
i0.ɵɵadvance(5);
|
|
43929
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(76,
|
|
43960
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(76, 54, "Cancel"), " ");
|
|
43930
43961
|
} }, styles: [".left-label[_ngcontent-%COMP%]{width:220px}"] });
|
|
43931
43962
|
}
|
|
43932
43963
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseReviewSpecificAccessRequestComponent, [{
|
|
43933
43964
|
type: Component,
|
|
43934
|
-
args: [{ selector: 'ccd-case-review-specific-access-request', standalone: false, template: "<exui-error-message\n *ngIf=\"formGroup.invalid && submitted\"\n [error]=\"errorMessage\">\n</exui-error-message>\n\n<form [formGroup]=\"formGroup\" (submit)=\"onSubmit()\">\n <div class=\"govuk-form-group\">\n <fieldset class=\"govuk-fieldset\" aria-describedby=\"reason-hint\">\n <div class=\"govuk-grid-column-two-thirds\">\n <p></p>\n <legend class=\"govuk-fieldset__legend govuk-fieldset__legend--l\">\n <h1 class=\"govuk-fieldset__heading\">\n {{ title | rpxTranslate }}\n </h1>\n </legend>\n <p></p>\n <table class=\"govuk-table\">\n <caption></caption>\n <tbody class=\"govuk-table__body\">\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header leftLabel\" >\n {{'Case name' | rpxTranslate}}\n </th>\n <td class=\"govuk-table__cell\">{{ requestAccessDetails.caseName }}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header leftLabel\" >\n {{'Case reference' | rpxTranslate}}\n </th>\n <td class=\"govuk-table__cell\">{{ requestAccessDetails.caseReference }}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header leftLabel\" >\n {{'Date submitted' | rpxTranslate}}\n </th>\n <td class=\"govuk-table__cell\">{{ requestAccessDetails.dateSubmitted }}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header leftLabel\" >\n {{'Request from' | rpxTranslate}}\n </th>\n <td class=\"govuk-table__cell\">{{ requestAccessDetails.requestFrom }}<br /></td>\n </tr>\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header leftLabel\" >\n {{'Reason for case access' | rpxTranslate}}\n </th>\n <td class=\"govuk-table__cell\">{{ requestAccessDetails.reasonForCaseAccess | rpxTranslate }}</td>\n </tr>\n </tbody>\n </table>\n\n <div\n class=\"govuk-form-group\"\n [ngClass]=\"{ 'form-group-error': formGroup.invalid && submitted }\">\n <fieldset class=\"govuk-fieldset\">\n <legend class=\"govuk-fieldset__legend govuk-fieldset__legend--m\">\n <h1 class=\"govuk-fieldset__heading\">\n {{ hint | rpxTranslate }}\n </h1>\n </legend>\n <div\n id=\"error-message\"\n class=\"govuk-error-message\"\n *ngIf=\"formGroup.get('radioSelected').invalid && submitted\">\n {{ errorMessage.description | rpxTranslate }}\n </div>\n <div class=\"govuk-radios__item\">\n <input\n class=\"govuk-radios__input\"\n id=\"reason-0\"\n name=\"radioSelected\"\n type=\"radio\"\n [value]=\"accessReasons[0].reason\"\n formControlName=\"radioSelected\"\n [checked]=\"accessReasons[0].checked\"\n (change)=\"onChange()\"/>\n <label class=\"govuk-label govuk-radios__label\" for=\"reason-0\">\n {{ accessReasons[0].reason | rpxTranslate }}\n </label>\n </div>\n <div class=\"govuk-radios__item\">\n <input\n class=\"govuk-radios__input\"\n id=\"reason-1\"\n name=\"radioSelected\"\n type=\"radio\"\n [value]=\"accessReasons[1].reason\"\n formControlName=\"radioSelected\"\n [checked]=\"accessReasons[1].checked\"\n (change)=\"onChange()\"/>\n <label class=\"govuk-label govuk-radios__label\" for=\"reason-1\">\n {{ accessReasons[1].reason | rpxTranslate }}\n </label>\n </div>\n <div class=\"govuk-radios__item\">\n <input\n class=\"govuk-radios__input\"\n id=\"reason-2\"\n name=\"radioSelected\"\n type=\"radio\"\n [value]=\"accessReasons[2].reason\"\n formControlName=\"radioSelected\"\n [checked]=\"accessReasons[2].checked\"\n (change)=\"onChange()\"/>\n <label class=\"govuk-label govuk-radios__label\" for=\"reason-2\">\n {{ accessReasons[2].reason | rpxTranslate }}\n </label>\n </div>\n </fieldset>\n </div>\n </div>\n </fieldset>\n </div>\n\n <div class=\"govuk-button-group\">\n <button class=\"govuk-button govuk-!-margin-right-3\" type=\"submit\">\n {{'Continue' | rpxTranslate}}\n </button>\n <div class=\"govuk-grid-column-full govuk-!-padding-left-0\">\n <p>\n <a class=\"govuk-body\" (click)=\"onCancel(); $event.preventDefault()\" href=\"#\">\n {{'Cancel' | rpxTranslate}}\n </a>\n </p>\n </div>\n </div>\n</form>\n", styles: [".left-label{width:220px}\n"] }]
|
|
43965
|
+
args: [{ selector: 'ccd-case-review-specific-access-request', standalone: false, template: "<exui-error-message\n *ngIf=\"formGroup.invalid && submitted\"\n [error]=\"errorMessage\">\n</exui-error-message>\n\n<form [formGroup]=\"formGroup\" (submit)=\"onSubmit()\">\n <div class=\"govuk-form-group\">\n <fieldset class=\"govuk-fieldset\" aria-describedby=\"reason-hint\">\n <div class=\"govuk-grid-column-two-thirds\">\n <p></p>\n <legend class=\"govuk-fieldset__legend govuk-fieldset__legend--l\">\n <h1 class=\"govuk-fieldset__heading\">\n {{ title | rpxTranslate }}\n </h1>\n </legend>\n <p></p>\n <table class=\"govuk-table\">\n <caption></caption>\n <tbody class=\"govuk-table__body\">\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header leftLabel\" >\n {{'Case name' | rpxTranslate}}\n </th>\n <td class=\"govuk-table__cell\">{{ requestAccessDetails.caseName }}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header leftLabel\" >\n {{'Case reference' | rpxTranslate}}\n </th>\n <td class=\"govuk-table__cell\">{{ requestAccessDetails.caseReference }}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header leftLabel\" >\n {{'Date submitted' | rpxTranslate}}\n </th>\n <td class=\"govuk-table__cell\">{{ requestAccessDetails.dateSubmitted }}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header leftLabel\" >\n {{'Request from' | rpxTranslate}}\n </th>\n <td class=\"govuk-table__cell\">{{ requestAccessDetails.requestFrom }}<br /></td>\n </tr>\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header leftLabel\" >\n {{'Reason for case access' | rpxTranslate}}\n </th>\n <td class=\"govuk-table__cell\">{{ requestAccessDetails.reasonForCaseAccess | rpxTranslate }}</td>\n </tr>\n </tbody>\n </table>\n\n <div\n class=\"govuk-form-group\"\n [ngClass]=\"{ 'form-group-error': formGroup.invalid && submitted }\">\n <fieldset class=\"govuk-fieldset\">\n <legend class=\"govuk-fieldset__legend govuk-fieldset__legend--m\">\n <h1 class=\"govuk-fieldset__heading\">\n {{ hint | rpxTranslate }}\n </h1>\n </legend>\n <div\n id=\"error-message\"\n class=\"govuk-error-message\"\n *ngIf=\"formGroup.get('radioSelected').invalid && submitted\">\n {{ errorMessage.description | rpxTranslate }}\n </div>\n <div class=\"govuk-radios__item\">\n <input\n class=\"govuk-radios__input\"\n id=\"reason-0\"\n name=\"radioSelected\"\n type=\"radio\"\n [value]=\"accessReasons[0].reason\"\n formControlName=\"radioSelected\"\n [checked]=\"accessReasons[0].checked\"\n [attr.aria-describedby]=\"formGroup.get('radioSelected')?.invalid && submitted ? 'error-message' : null\"\n (change)=\"onChange()\"/>\n <label class=\"govuk-label govuk-radios__label\" for=\"reason-0\">\n {{ accessReasons[0].reason | rpxTranslate }}\n </label>\n </div>\n <div class=\"govuk-radios__item\">\n <input\n class=\"govuk-radios__input\"\n id=\"reason-1\"\n name=\"radioSelected\"\n type=\"radio\"\n [value]=\"accessReasons[1].reason\"\n formControlName=\"radioSelected\"\n [checked]=\"accessReasons[1].checked\"\n [attr.aria-describedby]=\"formGroup.get('radioSelected')?.invalid && submitted ? 'error-message' : null\"\n (change)=\"onChange()\"/>\n <label class=\"govuk-label govuk-radios__label\" for=\"reason-1\">\n {{ accessReasons[1].reason | rpxTranslate }}\n </label>\n </div>\n <div class=\"govuk-radios__item\">\n <input\n class=\"govuk-radios__input\"\n id=\"reason-2\"\n name=\"radioSelected\"\n type=\"radio\"\n [value]=\"accessReasons[2].reason\"\n formControlName=\"radioSelected\"\n [checked]=\"accessReasons[2].checked\"\n [attr.aria-describedby]=\"formGroup.get('radioSelected')?.invalid && submitted ? 'error-message' : null\"\n (change)=\"onChange()\"/>\n <label class=\"govuk-label govuk-radios__label\" for=\"reason-2\">\n {{ accessReasons[2].reason | rpxTranslate }}\n </label>\n </div>\n </fieldset>\n </div>\n </div>\n </fieldset>\n </div>\n\n <div class=\"govuk-button-group\">\n <button class=\"govuk-button govuk-!-margin-right-3\" type=\"submit\">\n {{'Continue' | rpxTranslate}}\n </button>\n <div class=\"govuk-grid-column-full govuk-!-padding-left-0\">\n <p>\n <a class=\"govuk-body\" (click)=\"onCancel(); $event.preventDefault()\" href=\"#\">\n {{'Cancel' | rpxTranslate}}\n </a>\n </p>\n </div>\n </div>\n</form>\n", styles: [".left-label{width:220px}\n"] }]
|
|
43935
43966
|
}], () => [{ type: i4.FormBuilder }, { type: i1$1.ActivatedRoute }, { type: i1$1.Router }, { type: AbstractAppConfig }], null); })();
|
|
43936
43967
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseReviewSpecificAccessRequestComponent, { className: "CaseReviewSpecificAccessRequestComponent", filePath: "lib/shared/components/case-viewer/case-review-specific-access-request/case-review-specific-access-request.component.ts", lineNumber: 15 }); })();
|
|
43937
43968
|
|
|
@@ -44082,7 +44113,7 @@ class CaseSpecificAccessRequestComponent {
|
|
|
44082
44113
|
return input.value === null || input.value.trim().length === 0;
|
|
44083
44114
|
}
|
|
44084
44115
|
static ɵfac = function CaseSpecificAccessRequestComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseSpecificAccessRequestComponent)(i0.ɵɵdirectiveInject(i4.FormBuilder), i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(CasesService), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(i4$1.Title)); };
|
|
44085
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseSpecificAccessRequestComponent, selectors: [["ccd-case-specific-access-request"]], standalone: false, decls: 53, vars:
|
|
44116
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseSpecificAccessRequestComponent, selectors: [["ccd-case-specific-access-request"]], standalone: false, decls: 53, vars: 46, consts: [[3, "error", 4, "ngIf"], ["type", "information"], [3, "submit", "formGroup"], [1, "govuk-form-group", 3, "ngClass"], ["aria-describedby", "reason-hint", 1, "govuk-fieldset"], [1, "govuk-fieldset__legend", "govuk-fieldset__legend--l"], [1, "govuk-fieldset__heading"], ["data-module", "govuk-details", "role", "group", 1, "govuk-details"], ["aria-expanded", "false", 1, "govuk-details__summary"], [1, "govuk-details__summary-text"], ["aria-hidden", "true", 1, "govuk-details__text"], [1, "govuk-body"], [1, "govuk-list", "govuk-list--bullet"], ["id", "reason-hint", 1, "govuk-hint"], ["id", "conditional-reason-3"], [1, "govuk-form-group"], ["id", "specific-reason-error-message", "class", "govuk-error-message", 4, "ngIf"], ["for", "specific-reason", 1, "govuk-label", "govuk-visually-hidden"], ["id", "specific-reason", "name", "specific-reason", "rows", "8", "formControlName", "specificReason", 1, "govuk-textarea", 3, "ngClass"], [1, "govuk-button-group"], ["type", "submit", 1, "govuk-button", "govuk-!-margin-right-3"], [1, "govuk-grid-column-full", "govuk-!-padding-left-0"], ["href", "#", 1, "govuk-body", 3, "click"], [3, "error"], ["id", "specific-reason-error-message", 1, "govuk-error-message"]], template: function CaseSpecificAccessRequestComponent_Template(rf, ctx) { if (rf & 1) {
|
|
44086
44117
|
i0.ɵɵtemplate(0, CaseSpecificAccessRequestComponent_exui_error_message_0_Template, 1, 1, "exui-error-message", 0);
|
|
44087
44118
|
i0.ɵɵelementStart(1, "cut-alert", 1);
|
|
44088
44119
|
i0.ɵɵtext(2);
|
|
@@ -44140,44 +44171,46 @@ class CaseSpecificAccessRequestComponent {
|
|
|
44140
44171
|
i0.ɵɵpipe(52, "rpxTranslate");
|
|
44141
44172
|
i0.ɵɵelementEnd()()()()();
|
|
44142
44173
|
} if (rf & 2) {
|
|
44174
|
+
let tmp_15_0;
|
|
44143
44175
|
i0.ɵɵproperty("ngIf", ctx.formGroup.invalid && ctx.submitted || ctx.getSpecificAccessError);
|
|
44144
44176
|
i0.ɵɵadvance(2);
|
|
44145
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3,
|
|
44177
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 18, "Authorisation is needed to access this case."));
|
|
44146
44178
|
i0.ɵɵadvance(3);
|
|
44147
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6,
|
|
44179
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 20, "This could be because it's outside your jurisdiction, or you may be excluded from the case. If you request access to this case, it will be logged for auditing purposes."), "\n");
|
|
44148
44180
|
i0.ɵɵadvance(2);
|
|
44149
44181
|
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
44150
44182
|
i0.ɵɵadvance();
|
|
44151
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
44183
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(42, _c0$1, ctx.formGroup.invalid && ctx.submitted));
|
|
44152
44184
|
i0.ɵɵadvance(4);
|
|
44153
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(13,
|
|
44185
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(13, 22, ctx.title), " ");
|
|
44154
44186
|
i0.ɵɵadvance(5);
|
|
44155
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(18,
|
|
44187
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(18, 24, "Help with requesting case access"), " ");
|
|
44156
44188
|
i0.ɵɵadvance(4);
|
|
44157
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(22,
|
|
44189
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(22, 26, "You could include:"));
|
|
44158
44190
|
i0.ɵɵadvance(4);
|
|
44159
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(26,
|
|
44191
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(26, 28, "the case reference of the linked case"));
|
|
44160
44192
|
i0.ɵɵadvance(3);
|
|
44161
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(29,
|
|
44193
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(29, 30, "how long you require access to this case"));
|
|
44162
44194
|
i0.ɵɵadvance(3);
|
|
44163
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(32,
|
|
44195
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(32, 32, "any other reasons why you require access"));
|
|
44164
44196
|
i0.ɵɵadvance(3);
|
|
44165
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(35,
|
|
44197
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(35, 34, ctx.hint), " ");
|
|
44166
44198
|
i0.ɵɵadvance(4);
|
|
44167
44199
|
i0.ɵɵproperty("ngIf", ctx.formGroup.get("specificReason").invalid && ctx.submitted);
|
|
44168
44200
|
i0.ɵɵadvance(2);
|
|
44169
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(41,
|
|
44201
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(41, 36, ctx.title), " ");
|
|
44170
44202
|
i0.ɵɵadvance(2);
|
|
44171
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
44203
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(44, _c1$1, ctx.formGroup.get("specificReason").invalid && ctx.submitted));
|
|
44204
|
+
i0.ɵɵattribute("aria-describedby", ((tmp_15_0 = ctx.formGroup.get("specificReason")) == null ? null : tmp_15_0.invalid) && ctx.submitted ? "specific-reason-error-message" : null);
|
|
44172
44205
|
i0.ɵɵadvance(4);
|
|
44173
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(47,
|
|
44206
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(47, 38, "Submit"), " ");
|
|
44174
44207
|
i0.ɵɵadvance(5);
|
|
44175
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(52,
|
|
44208
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(52, 40, "Cancel"), " ");
|
|
44176
44209
|
} }, encapsulation: 2 });
|
|
44177
44210
|
}
|
|
44178
44211
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseSpecificAccessRequestComponent, [{
|
|
44179
44212
|
type: Component,
|
|
44180
|
-
args: [{ selector: 'ccd-case-specific-access-request', standalone: false, template: "<exui-error-message\n *ngIf=\"(formGroup.invalid && submitted) || getSpecificAccessError\"\n [error]=\"errorMessage\"></exui-error-message>\n<cut-alert type=\"information\">\n {{'Authorisation is needed to access this case.' | rpxTranslate}}<br />\n {{'This could be because it\\'s outside your jurisdiction, or you may be excluded from the case. If you request access to this case, it will be logged for auditing purposes.' | rpxTranslate}}\n</cut-alert>\n<form [formGroup]=\"formGroup\" (submit)=\"onSubmit()\">\n <div class=\"govuk-form-group\"\n [ngClass]=\"{ 'form-group-error': formGroup.invalid && submitted }\">\n <fieldset class=\"govuk-fieldset\" aria-describedby=\"reason-hint\">\n <legend class=\"govuk-fieldset__legend govuk-fieldset__legend--l\">\n <h1 class=\"govuk-fieldset__heading\">\n {{ title | rpxTranslate }}\n </h1>\n </legend>\n\n <details class=\"govuk-details\" data-module=\"govuk-details\" role=\"group\">\n <summary\n class=\"govuk-details__summary\"\n aria-expanded=\"false\">\n <span class=\"govuk-details__summary-text\">\n {{'Help with requesting case access' | rpxTranslate}}\n </span>\n </summary>\n <div\n class=\"govuk-details__text\"\n aria-hidden=\"true\">\n <p class=\"govuk-body\">{{'You could include:' | rpxTranslate}}</p>\n <ul class=\"govuk-list govuk-list--bullet\">\n <li>{{'the case reference of the linked case' | rpxTranslate}}</li>\n <li>{{'how long you require access to this case' | rpxTranslate}}</li>\n <li>{{'any other reasons why you require access' | rpxTranslate}}</li>\n </ul>\n </div>\n </details>\n\n <div id=\"reason-hint\" class=\"govuk-hint\">\n {{ hint | rpxTranslate }}\n </div>\n <div id=\"conditional-reason-3\">\n <div class=\"govuk-form-group\">\n <div\n id=\"specific-reason-error-message\"\n class=\"govuk-error-message\"\n *ngIf=\"formGroup.get('specificReason').invalid && submitted\">\n {{ errorMessage.description | rpxTranslate }}\n </div>\n <label class=\"govuk-label govuk-visually-hidden\" for=\"specific-reason\">\n {{ title | rpxTranslate }}\n </label>\n <textarea\n class=\"govuk-textarea\"\n [ngClass]=\"{\n 'govuk-textarea--error':\n formGroup.get('specificReason').invalid && submitted\n }\"\n id=\"specific-reason\"\n name=\"specific-reason\"\n rows=\"8\"\n formControlName=\"specificReason\">\n </textarea>\n </div>\n </div>\n </fieldset>\n </div>\n\n <div class=\"govuk-button-group\">\n <button class=\"govuk-button govuk-!-margin-right-3\" type=\"submit\">\n {{'Submit' | rpxTranslate}}\n </button>\n <div class=\"govuk-grid-column-full govuk-!-padding-left-0\">\n <p>\n <a class=\"govuk-body\" (click)=\"onCancel(); $event.preventDefault()\" href=\"#\">\n {{'Cancel' | rpxTranslate}}\n </a>\n </p>\n </div>\n </div>\n</form>\n" }]
|
|
44213
|
+
args: [{ selector: 'ccd-case-specific-access-request', standalone: false, template: "<exui-error-message\n *ngIf=\"(formGroup.invalid && submitted) || getSpecificAccessError\"\n [error]=\"errorMessage\"></exui-error-message>\n<cut-alert type=\"information\">\n {{'Authorisation is needed to access this case.' | rpxTranslate}}<br />\n {{'This could be because it\\'s outside your jurisdiction, or you may be excluded from the case. If you request access to this case, it will be logged for auditing purposes.' | rpxTranslate}}\n</cut-alert>\n<form [formGroup]=\"formGroup\" (submit)=\"onSubmit()\">\n <div class=\"govuk-form-group\"\n [ngClass]=\"{ 'form-group-error': formGroup.invalid && submitted }\">\n <fieldset class=\"govuk-fieldset\" aria-describedby=\"reason-hint\">\n <legend class=\"govuk-fieldset__legend govuk-fieldset__legend--l\">\n <h1 class=\"govuk-fieldset__heading\">\n {{ title | rpxTranslate }}\n </h1>\n </legend>\n\n <details class=\"govuk-details\" data-module=\"govuk-details\" role=\"group\">\n <summary\n class=\"govuk-details__summary\"\n aria-expanded=\"false\">\n <span class=\"govuk-details__summary-text\">\n {{'Help with requesting case access' | rpxTranslate}}\n </span>\n </summary>\n <div\n class=\"govuk-details__text\"\n aria-hidden=\"true\">\n <p class=\"govuk-body\">{{'You could include:' | rpxTranslate}}</p>\n <ul class=\"govuk-list govuk-list--bullet\">\n <li>{{'the case reference of the linked case' | rpxTranslate}}</li>\n <li>{{'how long you require access to this case' | rpxTranslate}}</li>\n <li>{{'any other reasons why you require access' | rpxTranslate}}</li>\n </ul>\n </div>\n </details>\n\n <div id=\"reason-hint\" class=\"govuk-hint\">\n {{ hint | rpxTranslate }}\n </div>\n <div id=\"conditional-reason-3\">\n <div class=\"govuk-form-group\">\n <div\n id=\"specific-reason-error-message\"\n class=\"govuk-error-message\"\n *ngIf=\"formGroup.get('specificReason').invalid && submitted\">\n {{ errorMessage.description | rpxTranslate }}\n </div>\n <label class=\"govuk-label govuk-visually-hidden\" for=\"specific-reason\">\n {{ title | rpxTranslate }}\n </label>\n <textarea\n class=\"govuk-textarea\"\n [ngClass]=\"{\n 'govuk-textarea--error':\n formGroup.get('specificReason').invalid && submitted\n }\"\n id=\"specific-reason\"\n name=\"specific-reason\"\n rows=\"8\"\n [attr.aria-describedby]=\"formGroup.get('specificReason')?.invalid && submitted ? 'specific-reason-error-message' : null\"\n formControlName=\"specificReason\">\n </textarea>\n </div>\n </div>\n </fieldset>\n </div>\n\n <div class=\"govuk-button-group\">\n <button class=\"govuk-button govuk-!-margin-right-3\" type=\"submit\">\n {{'Submit' | rpxTranslate}}\n </button>\n <div class=\"govuk-grid-column-full govuk-!-padding-left-0\">\n <p>\n <a class=\"govuk-body\" (click)=\"onCancel(); $event.preventDefault()\" href=\"#\">\n {{'Cancel' | rpxTranslate}}\n </a>\n </p>\n </div>\n </div>\n</form>\n" }]
|
|
44181
44214
|
}], () => [{ type: i4.FormBuilder }, { type: i1$1.Router }, { type: CasesService }, { type: i1$1.ActivatedRoute }, { type: CaseNotifier }, { type: i4$1.Title }], null); })();
|
|
44182
44215
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseSpecificAccessRequestComponent, { className: "CaseSpecificAccessRequestComponent", filePath: "lib/shared/components/case-viewer/case-specific-access-request/case-specific-access-request.component.ts", lineNumber: 24 }); })();
|
|
44183
44216
|
|