@hmcts/ccd-case-ui-toolkit 7.0.39-exui-2007-rc1 → 7.0.40
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.
|
@@ -28412,33 +28412,33 @@ var CaseEditSubmitTitles;
|
|
|
28412
28412
|
const _c0$d = (a0, a1) => [a0, false, undefined, true, a1];
|
|
28413
28413
|
const _c1$4 = a0 => ({ "form-group-error": a0 });
|
|
28414
28414
|
const _c2$1 = a0 => ({ "govuk-input--error": a0 });
|
|
28415
|
-
function
|
|
28415
|
+
function CaseEditSubmitComponent_div_0_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
28416
28416
|
i0.ɵɵelement(0, "div");
|
|
28417
28417
|
} }
|
|
28418
|
-
function
|
|
28418
|
+
function CaseEditSubmitComponent_div_0_ng_template_5_Template(rf, ctx) { if (rf & 1) {
|
|
28419
28419
|
i0.ɵɵelement(0, "ccd-markdown", 14);
|
|
28420
28420
|
i0.ɵɵpipe(1, "ccdCaseTitle");
|
|
28421
28421
|
} if (rf & 2) {
|
|
28422
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
|
28422
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
28423
28423
|
i0.ɵɵproperty("content", i0.ɵɵpipeBind3(1, 1, ctx_r1.getCaseTitle(), ctx_r1.contextFields, ctx_r1.editForm.controls["data"]));
|
|
28424
28424
|
} }
|
|
28425
|
-
function
|
|
28425
|
+
function CaseEditSubmitComponent_div_0_ng_template_7_h2_0_Template(rf, ctx) { if (rf & 1) {
|
|
28426
28426
|
i0.ɵɵelementStart(0, "h2", 16);
|
|
28427
28427
|
i0.ɵɵtext(1);
|
|
28428
28428
|
i0.ɵɵpipe(2, "ccdCaseReference");
|
|
28429
28429
|
i0.ɵɵelementEnd();
|
|
28430
28430
|
} if (rf & 2) {
|
|
28431
|
-
const ctx_r1 = i0.ɵɵnextContext(
|
|
28431
|
+
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
28432
28432
|
i0.ɵɵadvance();
|
|
28433
28433
|
i0.ɵɵtextInterpolate1("#", i0.ɵɵpipeBind1(2, 1, ctx_r1.getCaseId()), "");
|
|
28434
28434
|
} }
|
|
28435
|
-
function
|
|
28436
|
-
i0.ɵɵtemplate(0,
|
|
28435
|
+
function CaseEditSubmitComponent_div_0_ng_template_7_Template(rf, ctx) { if (rf & 1) {
|
|
28436
|
+
i0.ɵɵtemplate(0, CaseEditSubmitComponent_div_0_ng_template_7_h2_0_Template, 3, 3, "h2", 15);
|
|
28437
28437
|
} if (rf & 2) {
|
|
28438
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
|
28438
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
28439
28439
|
i0.ɵɵproperty("ngIf", ctx_r1.getCaseId());
|
|
28440
28440
|
} }
|
|
28441
|
-
function
|
|
28441
|
+
function CaseEditSubmitComponent_div_0_ng_container_12_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
28442
28442
|
i0.ɵɵelementStart(0, "span", 20);
|
|
28443
28443
|
i0.ɵɵtext(1);
|
|
28444
28444
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
@@ -28447,7 +28447,7 @@ function CaseEditSubmitComponent_div_12_ng_container_1_span_4_Template(rf, ctx)
|
|
|
28447
28447
|
i0.ɵɵadvance();
|
|
28448
28448
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "Check the information below carefully."));
|
|
28449
28449
|
} }
|
|
28450
|
-
function
|
|
28450
|
+
function CaseEditSubmitComponent_div_0_ng_container_12_ng_container_7_ng_container_1_ng_container_1_ng_container_1_th_2_Template(rf, ctx) { if (rf & 1) {
|
|
28451
28451
|
i0.ɵɵelementStart(0, "th", 25)(1, "span", 20);
|
|
28452
28452
|
i0.ɵɵtext(2);
|
|
28453
28453
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
@@ -28457,10 +28457,10 @@ function CaseEditSubmitComponent_div_12_ng_container_1_ng_container_7_ng_contain
|
|
|
28457
28457
|
i0.ɵɵadvance(2);
|
|
28458
28458
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 1, field_r3.label));
|
|
28459
28459
|
} }
|
|
28460
|
-
function
|
|
28460
|
+
function CaseEditSubmitComponent_div_0_ng_container_12_ng_container_7_ng_container_1_ng_container_1_ng_container_1_ng_container_5_a_2_Template(rf, ctx) { if (rf & 1) {
|
|
28461
28461
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
28462
28462
|
i0.ɵɵelementStart(0, "a", 13);
|
|
28463
|
-
i0.ɵɵlistener("click", function
|
|
28463
|
+
i0.ɵɵlistener("click", function CaseEditSubmitComponent_div_0_ng_container_12_ng_container_7_ng_container_1_ng_container_1_ng_container_1_ng_container_5_a_2_Template_a_click_0_listener() { i0.ɵɵrestoreView(_r4); const page_r5 = i0.ɵɵnextContext(5).$implicit; const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.navigateToPage(page_r5.id)); });
|
|
28464
28464
|
i0.ɵɵelementStart(1, "span", 20);
|
|
28465
28465
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
28466
28466
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
@@ -28474,10 +28474,10 @@ function CaseEditSubmitComponent_div_12_ng_container_1_ng_container_7_ng_contain
|
|
|
28474
28474
|
i0.ɵɵadvance(3);
|
|
28475
28475
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(5, 8, "Change"), " ");
|
|
28476
28476
|
} }
|
|
28477
|
-
function
|
|
28477
|
+
function CaseEditSubmitComponent_div_0_ng_container_12_ng_container_7_ng_container_1_ng_container_1_ng_container_1_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
28478
28478
|
i0.ɵɵelementContainerStart(0);
|
|
28479
28479
|
i0.ɵɵelementStart(1, "td", 26);
|
|
28480
|
-
i0.ɵɵtemplate(2,
|
|
28480
|
+
i0.ɵɵtemplate(2, CaseEditSubmitComponent_div_0_ng_container_12_ng_container_7_ng_container_1_ng_container_1_ng_container_1_ng_container_5_a_2_Template, 6, 10, "a", 27);
|
|
28481
28481
|
i0.ɵɵelementEnd();
|
|
28482
28482
|
i0.ɵɵelementContainerEnd();
|
|
28483
28483
|
} if (rf & 2) {
|
|
@@ -28486,14 +28486,14 @@ function CaseEditSubmitComponent_div_12_ng_container_1_ng_container_7_ng_contain
|
|
|
28486
28486
|
i0.ɵɵadvance(2);
|
|
28487
28487
|
i0.ɵɵproperty("ngIf", ctx_r1.isChangeAllowed(field_r3));
|
|
28488
28488
|
} }
|
|
28489
|
-
function
|
|
28489
|
+
function CaseEditSubmitComponent_div_0_ng_container_12_ng_container_7_ng_container_1_ng_container_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
28490
28490
|
i0.ɵɵelementContainerStart(0);
|
|
28491
28491
|
i0.ɵɵelementStart(1, "tr", 21);
|
|
28492
|
-
i0.ɵɵtemplate(2,
|
|
28492
|
+
i0.ɵɵtemplate(2, CaseEditSubmitComponent_div_0_ng_container_12_ng_container_7_ng_container_1_ng_container_1_ng_container_1_th_2_Template, 4, 3, "th", 22);
|
|
28493
28493
|
i0.ɵɵelementStart(3, "td", 23);
|
|
28494
28494
|
i0.ɵɵelement(4, "ccd-field-read", 24);
|
|
28495
28495
|
i0.ɵɵelementEnd();
|
|
28496
|
-
i0.ɵɵtemplate(5,
|
|
28496
|
+
i0.ɵɵtemplate(5, CaseEditSubmitComponent_div_0_ng_container_12_ng_container_7_ng_container_1_ng_container_1_ng_container_1_ng_container_5_Template, 3, 1, "ng-container", 2);
|
|
28497
28497
|
i0.ɵɵelementEnd();
|
|
28498
28498
|
i0.ɵɵelementContainerEnd();
|
|
28499
28499
|
} if (rf & 2) {
|
|
@@ -28510,9 +28510,9 @@ function CaseEditSubmitComponent_div_12_ng_container_1_ng_container_7_ng_contain
|
|
|
28510
28510
|
i0.ɵɵadvance();
|
|
28511
28511
|
i0.ɵɵproperty("ngIf", !ctx_r1.caseEdit.isCaseFlagSubmission);
|
|
28512
28512
|
} }
|
|
28513
|
-
function
|
|
28513
|
+
function CaseEditSubmitComponent_div_0_ng_container_12_ng_container_7_ng_container_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
28514
28514
|
i0.ɵɵelementContainerStart(0);
|
|
28515
|
-
i0.ɵɵtemplate(1,
|
|
28515
|
+
i0.ɵɵtemplate(1, CaseEditSubmitComponent_div_0_ng_container_12_ng_container_7_ng_container_1_ng_container_1_ng_container_1_Template, 6, 12, "ng-container", 2);
|
|
28516
28516
|
i0.ɵɵelementContainerEnd();
|
|
28517
28517
|
} if (rf & 2) {
|
|
28518
28518
|
const field_r3 = ctx.$implicit;
|
|
@@ -28520,9 +28520,9 @@ function CaseEditSubmitComponent_div_12_ng_container_1_ng_container_7_ng_contain
|
|
|
28520
28520
|
i0.ɵɵadvance();
|
|
28521
28521
|
i0.ɵɵproperty("ngIf", ctx_r1.canShowFieldInCYA(field_r3));
|
|
28522
28522
|
} }
|
|
28523
|
-
function
|
|
28523
|
+
function CaseEditSubmitComponent_div_0_ng_container_12_ng_container_7_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
28524
28524
|
i0.ɵɵelementContainerStart(0);
|
|
28525
|
-
i0.ɵɵtemplate(1,
|
|
28525
|
+
i0.ɵɵtemplate(1, CaseEditSubmitComponent_div_0_ng_container_12_ng_container_7_ng_container_1_ng_container_1_Template, 2, 1, "ng-container", 19);
|
|
28526
28526
|
i0.ɵɵpipe(2, "ccdPageFields");
|
|
28527
28527
|
i0.ɵɵpipe(3, "ccdReadFieldsFilter");
|
|
28528
28528
|
i0.ɵɵpipe(4, "ccdCYAPageLabelFilter");
|
|
@@ -28533,9 +28533,9 @@ function CaseEditSubmitComponent_div_12_ng_container_1_ng_container_7_ng_contain
|
|
|
28533
28533
|
i0.ɵɵadvance();
|
|
28534
28534
|
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(4, 10, i0.ɵɵpipeBindV(3, 4, i0.ɵɵpureFunction2(12, _c0$d, i0.ɵɵpipeBind2(2, 1, page_r5, ctx_r1.editForm), ctx_r1.allFieldsValues))));
|
|
28535
28535
|
} }
|
|
28536
|
-
function
|
|
28536
|
+
function CaseEditSubmitComponent_div_0_ng_container_12_ng_container_7_Template(rf, ctx) { if (rf & 1) {
|
|
28537
28537
|
i0.ɵɵelementContainerStart(0);
|
|
28538
|
-
i0.ɵɵtemplate(1,
|
|
28538
|
+
i0.ɵɵtemplate(1, CaseEditSubmitComponent_div_0_ng_container_12_ng_container_7_ng_container_1_Template, 5, 15, "ng-container", 2);
|
|
28539
28539
|
i0.ɵɵelementContainerEnd();
|
|
28540
28540
|
} if (rf & 2) {
|
|
28541
28541
|
const page_r5 = ctx.$implicit;
|
|
@@ -28543,15 +28543,15 @@ function CaseEditSubmitComponent_div_12_ng_container_1_ng_container_7_Template(r
|
|
|
28543
28543
|
i0.ɵɵadvance();
|
|
28544
28544
|
i0.ɵɵproperty("ngIf", ctx_r1.isShown(page_r5));
|
|
28545
28545
|
} }
|
|
28546
|
-
function
|
|
28546
|
+
function CaseEditSubmitComponent_div_0_ng_container_12_Template(rf, ctx) { if (rf & 1) {
|
|
28547
28547
|
i0.ɵɵelementContainerStart(0);
|
|
28548
28548
|
i0.ɵɵelementStart(1, "h2", 16);
|
|
28549
28549
|
i0.ɵɵtext(2);
|
|
28550
28550
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
28551
28551
|
i0.ɵɵelementEnd();
|
|
28552
|
-
i0.ɵɵtemplate(4,
|
|
28552
|
+
i0.ɵɵtemplate(4, CaseEditSubmitComponent_div_0_ng_container_12_span_4_Template, 3, 3, "span", 17);
|
|
28553
28553
|
i0.ɵɵelementStart(5, "table", 18)(6, "tbody");
|
|
28554
|
-
i0.ɵɵtemplate(7,
|
|
28554
|
+
i0.ɵɵtemplate(7, CaseEditSubmitComponent_div_0_ng_container_12_ng_container_7_Template, 2, 1, "ng-container", 19);
|
|
28555
28555
|
i0.ɵɵelementEnd()();
|
|
28556
28556
|
i0.ɵɵelementContainerEnd();
|
|
28557
28557
|
} if (rf & 2) {
|
|
@@ -28563,7 +28563,7 @@ function CaseEditSubmitComponent_div_12_ng_container_1_Template(rf, ctx) { if (r
|
|
|
28563
28563
|
i0.ɵɵadvance(3);
|
|
28564
28564
|
i0.ɵɵproperty("ngForOf", ctx_r1.wizard.pages);
|
|
28565
28565
|
} }
|
|
28566
|
-
function
|
|
28566
|
+
function CaseEditSubmitComponent_div_0_ng_container_13_ng_container_3_tr_3_Template(rf, ctx) { if (rf & 1) {
|
|
28567
28567
|
i0.ɵɵelementStart(0, "tr", 32)(1, "th", 33);
|
|
28568
28568
|
i0.ɵɵtext(2);
|
|
28569
28569
|
i0.ɵɵelementEnd();
|
|
@@ -28579,7 +28579,7 @@ function CaseEditSubmitComponent_div_12_ng_container_2_ng_container_3_tr_3_Templ
|
|
|
28579
28579
|
i0.ɵɵadvance(2);
|
|
28580
28580
|
i0.ɵɵproperty("formGroup", ctx_r1.editForm.controls["data"])("caseField", ctx_r1.summaryCaseField(field_r6));
|
|
28581
28581
|
} }
|
|
28582
|
-
function
|
|
28582
|
+
function CaseEditSubmitComponent_div_0_ng_container_13_ng_container_3_tr_4_Template(rf, ctx) { if (rf & 1) {
|
|
28583
28583
|
i0.ɵɵelementStart(0, "tr", 36)(1, "td", 37);
|
|
28584
28584
|
i0.ɵɵelement(2, "ccd-field-read", 38);
|
|
28585
28585
|
i0.ɵɵelementEnd()();
|
|
@@ -28590,10 +28590,10 @@ function CaseEditSubmitComponent_div_12_ng_container_2_ng_container_3_tr_4_Templ
|
|
|
28590
28590
|
i0.ɵɵadvance(2);
|
|
28591
28591
|
i0.ɵɵproperty("formGroup", ctx_r1.editForm.controls["data"])("caseField", ctx_r1.summaryCaseField(field_r6))("caseFields", ctx_r1.contextFields);
|
|
28592
28592
|
} }
|
|
28593
|
-
function
|
|
28593
|
+
function CaseEditSubmitComponent_div_0_ng_container_13_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
28594
28594
|
i0.ɵɵelementContainerStart(0)(1, 29);
|
|
28595
28595
|
i0.ɵɵpipe(2, "ccdIsCompound");
|
|
28596
|
-
i0.ɵɵtemplate(3,
|
|
28596
|
+
i0.ɵɵtemplate(3, CaseEditSubmitComponent_div_0_ng_container_13_ng_container_3_tr_3_Template, 5, 6, "tr", 30)(4, CaseEditSubmitComponent_div_0_ng_container_13_ng_container_3_tr_4_Template, 3, 6, "tr", 31);
|
|
28597
28597
|
i0.ɵɵelementContainerEnd()();
|
|
28598
28598
|
} if (rf & 2) {
|
|
28599
28599
|
const field_r6 = ctx.$implicit;
|
|
@@ -28604,10 +28604,10 @@ function CaseEditSubmitComponent_div_12_ng_container_2_ng_container_3_Template(r
|
|
|
28604
28604
|
i0.ɵɵadvance();
|
|
28605
28605
|
i0.ɵɵproperty("ngSwitchCase", false);
|
|
28606
28606
|
} }
|
|
28607
|
-
function
|
|
28607
|
+
function CaseEditSubmitComponent_div_0_ng_container_13_Template(rf, ctx) { if (rf & 1) {
|
|
28608
28608
|
i0.ɵɵelementContainerStart(0);
|
|
28609
28609
|
i0.ɵɵelementStart(1, "table", 28)(2, "tbody");
|
|
28610
|
-
i0.ɵɵtemplate(3,
|
|
28610
|
+
i0.ɵɵtemplate(3, CaseEditSubmitComponent_div_0_ng_container_13_ng_container_3_Template, 5, 5, "ng-container", 19);
|
|
28611
28611
|
i0.ɵɵelementEnd()();
|
|
28612
28612
|
i0.ɵɵelementContainerEnd();
|
|
28613
28613
|
} if (rf & 2) {
|
|
@@ -28615,7 +28615,7 @@ function CaseEditSubmitComponent_div_12_ng_container_2_Template(rf, ctx) { if (r
|
|
|
28615
28615
|
i0.ɵɵadvance(3);
|
|
28616
28616
|
i0.ɵɵproperty("ngForOf", ctx_r1.showSummaryFields);
|
|
28617
28617
|
} }
|
|
28618
|
-
function
|
|
28618
|
+
function CaseEditSubmitComponent_div_0_ng_container_14_span_8_Template(rf, ctx) { if (rf & 1) {
|
|
28619
28619
|
i0.ɵɵelementStart(0, "span", 48);
|
|
28620
28620
|
i0.ɵɵtext(1);
|
|
28621
28621
|
i0.ɵɵpipe(2, "ccdFirstError");
|
|
@@ -28626,7 +28626,7 @@ function CaseEditSubmitComponent_div_12_ng_container_3_span_8_Template(rf, ctx)
|
|
|
28626
28626
|
i0.ɵɵadvance();
|
|
28627
28627
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 4, i0.ɵɵpipeBind2(2, 1, ctx_r1.summary.errors, ctx_r1.eventSummaryLabel)), " ");
|
|
28628
28628
|
} }
|
|
28629
|
-
function
|
|
28629
|
+
function CaseEditSubmitComponent_div_0_ng_container_14_span_13_Template(rf, ctx) { if (rf & 1) {
|
|
28630
28630
|
i0.ɵɵelementStart(0, "span", 48);
|
|
28631
28631
|
i0.ɵɵtext(1);
|
|
28632
28632
|
i0.ɵɵpipe(2, "ccdFirstError");
|
|
@@ -28637,7 +28637,7 @@ function CaseEditSubmitComponent_div_12_ng_container_3_span_13_Template(rf, ctx)
|
|
|
28637
28637
|
i0.ɵɵadvance();
|
|
28638
28638
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 4, i0.ɵɵpipeBind2(2, 1, ctx_r1.description.errors, ctx_r1.eventDescriptionLabel)), " ");
|
|
28639
28639
|
} }
|
|
28640
|
-
function
|
|
28640
|
+
function CaseEditSubmitComponent_div_0_ng_container_14_Template(rf, ctx) { if (rf & 1) {
|
|
28641
28641
|
i0.ɵɵelementContainerStart(0);
|
|
28642
28642
|
i0.ɵɵelementStart(1, "fieldset", 39);
|
|
28643
28643
|
i0.ɵɵelement(2, "legend", 40);
|
|
@@ -28646,13 +28646,13 @@ function CaseEditSubmitComponent_div_12_ng_container_3_Template(rf, ctx) { if (r
|
|
|
28646
28646
|
i0.ɵɵelementStart(6, "span", 43);
|
|
28647
28647
|
i0.ɵɵtext(7, "A few words describing the purpose of the event.");
|
|
28648
28648
|
i0.ɵɵelementEnd()();
|
|
28649
|
-
i0.ɵɵtemplate(8,
|
|
28649
|
+
i0.ɵɵtemplate(8, CaseEditSubmitComponent_div_0_ng_container_14_span_8_Template, 4, 6, "span", 44);
|
|
28650
28650
|
i0.ɵɵelement(9, "input", 45);
|
|
28651
28651
|
i0.ɵɵelementEnd();
|
|
28652
28652
|
i0.ɵɵelementStart(10, "div", 41)(11, "label", 46);
|
|
28653
28653
|
i0.ɵɵtext(12, "Event description (optional)");
|
|
28654
28654
|
i0.ɵɵelementEnd();
|
|
28655
|
-
i0.ɵɵtemplate(13,
|
|
28655
|
+
i0.ɵɵtemplate(13, CaseEditSubmitComponent_div_0_ng_container_14_span_13_Template, 4, 6, "span", 44);
|
|
28656
28656
|
i0.ɵɵelement(14, "textarea", 47);
|
|
28657
28657
|
i0.ɵɵelementEnd()();
|
|
28658
28658
|
i0.ɵɵelementContainerEnd();
|
|
@@ -28671,41 +28671,84 @@ function CaseEditSubmitComponent_div_12_ng_container_3_Template(rf, ctx) { if (r
|
|
|
28671
28671
|
i0.ɵɵadvance();
|
|
28672
28672
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(12, _c2$1, (ctx_r1.description == null ? null : ctx_r1.description.errors) && (ctx_r1.description.dirty || ctx_r1.description.touched)));
|
|
28673
28673
|
} }
|
|
28674
|
-
function
|
|
28675
|
-
i0.ɵɵ
|
|
28676
|
-
i0.ɵɵ
|
|
28674
|
+
function CaseEditSubmitComponent_div_0_button_16_Template(rf, ctx) { if (rf & 1) {
|
|
28675
|
+
const _r7 = i0.ɵɵgetCurrentView();
|
|
28676
|
+
i0.ɵɵelementStart(0, "button", 49);
|
|
28677
|
+
i0.ɵɵlistener("click", function CaseEditSubmitComponent_div_0_button_16_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.previous()); });
|
|
28678
|
+
i0.ɵɵtext(1);
|
|
28679
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
28677
28680
|
i0.ɵɵelementEnd();
|
|
28678
28681
|
} if (rf & 2) {
|
|
28682
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
28683
|
+
i0.ɵɵproperty("disabled", !ctx_r1.hasPrevious() || ctx_r1.caseEdit.isSubmitting);
|
|
28684
|
+
i0.ɵɵadvance();
|
|
28685
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 2, "Previous"), " ");
|
|
28686
|
+
} }
|
|
28687
|
+
function CaseEditSubmitComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
28688
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
28689
|
+
i0.ɵɵelementStart(0, "div")(1, "h1", 4);
|
|
28690
|
+
i0.ɵɵtext(2);
|
|
28691
|
+
i0.ɵɵpipe(3, "rpxTranslate");
|
|
28692
|
+
i0.ɵɵelementEnd();
|
|
28693
|
+
i0.ɵɵtemplate(4, CaseEditSubmitComponent_div_0_div_4_Template, 1, 0, "div", 5)(5, CaseEditSubmitComponent_div_0_ng_template_5_Template, 2, 5, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor)(7, CaseEditSubmitComponent_div_0_ng_template_7_Template, 1, 1, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
|
|
28694
|
+
i0.ɵɵelement(9, "ccd-case-edit-generic-errors", 6);
|
|
28695
|
+
i0.ɵɵelementStart(10, "ccd-callback-errors", 7);
|
|
28696
|
+
i0.ɵɵlistener("callbackErrorsContext", function CaseEditSubmitComponent_div_0_Template_ccd_callback_errors_callbackErrorsContext_10_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.callbackErrorsNotify($event)); });
|
|
28697
|
+
i0.ɵɵelementEnd();
|
|
28698
|
+
i0.ɵɵelementStart(11, "form", 8);
|
|
28699
|
+
i0.ɵɵlistener("submit", function CaseEditSubmitComponent_div_0_Template_form_submit_11_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.submit()); });
|
|
28700
|
+
i0.ɵɵtemplate(12, CaseEditSubmitComponent_div_0_ng_container_12_Template, 8, 5, "ng-container", 2)(13, CaseEditSubmitComponent_div_0_ng_container_13_Template, 4, 1, "ng-container", 2)(14, CaseEditSubmitComponent_div_0_ng_container_14_Template, 15, 14, "ng-container", 2);
|
|
28701
|
+
i0.ɵɵelementStart(15, "div", 9);
|
|
28702
|
+
i0.ɵɵtemplate(16, CaseEditSubmitComponent_div_0_button_16_Template, 3, 4, "button", 10);
|
|
28703
|
+
i0.ɵɵelementStart(17, "button", 11);
|
|
28704
|
+
i0.ɵɵtext(18);
|
|
28705
|
+
i0.ɵɵpipe(19, "rpxTranslate");
|
|
28706
|
+
i0.ɵɵelementEnd()();
|
|
28707
|
+
i0.ɵɵelementStart(20, "p", 12)(21, "a", 13);
|
|
28708
|
+
i0.ɵɵlistener("click", function CaseEditSubmitComponent_div_0_Template_a_click_21_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.cancel()); });
|
|
28709
|
+
i0.ɵɵtext(22);
|
|
28710
|
+
i0.ɵɵpipe(23, "rpxTranslate");
|
|
28711
|
+
i0.ɵɵelementEnd()()()();
|
|
28712
|
+
} if (rf & 2) {
|
|
28713
|
+
const titleBlock_r8 = i0.ɵɵreference(6);
|
|
28714
|
+
const idBlock_r9 = i0.ɵɵreference(8);
|
|
28679
28715
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
28716
|
+
i0.ɵɵadvance(2);
|
|
28717
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 16, ctx_r1.eventTrigger.name));
|
|
28718
|
+
i0.ɵɵadvance(2);
|
|
28719
|
+
i0.ɵɵproperty("ngIf", ctx_r1.getCaseTitle())("ngIfThen", titleBlock_r8)("ngIfElse", idBlock_r9);
|
|
28720
|
+
i0.ɵɵadvance(5);
|
|
28721
|
+
i0.ɵɵproperty("error", ctx_r1.caseEdit.error);
|
|
28722
|
+
i0.ɵɵadvance();
|
|
28723
|
+
i0.ɵɵproperty("callbackErrorsSubject", ctx_r1.caseEdit.callbackErrorsSubject);
|
|
28724
|
+
i0.ɵɵadvance();
|
|
28725
|
+
i0.ɵɵproperty("formGroup", ctx_r1.editForm);
|
|
28680
28726
|
i0.ɵɵadvance();
|
|
28681
28727
|
i0.ɵɵproperty("ngIf", ctx_r1.checkYourAnswerFieldsToDisplayExists());
|
|
28682
28728
|
i0.ɵɵadvance();
|
|
28683
28729
|
i0.ɵɵproperty("ngIf", ctx_r1.readOnlySummaryFieldsToDisplayExists());
|
|
28684
28730
|
i0.ɵɵadvance();
|
|
28685
28731
|
i0.ɵɵproperty("ngIf", ctx_r1.showEventNotes());
|
|
28732
|
+
i0.ɵɵadvance(2);
|
|
28733
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.caseEdit.isCaseFlagSubmission);
|
|
28734
|
+
i0.ɵɵadvance();
|
|
28735
|
+
i0.ɵɵproperty("disabled", ctx_r1.isDisabled);
|
|
28736
|
+
i0.ɵɵadvance();
|
|
28737
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(19, 18, ctx_r1.triggerText), " ");
|
|
28738
|
+
i0.ɵɵadvance(3);
|
|
28739
|
+
i0.ɵɵclassProp("disabled", ctx_r1.caseEdit.isSubmitting);
|
|
28740
|
+
i0.ɵɵadvance();
|
|
28741
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(23, 20, ctx_r1.getCancelText()));
|
|
28686
28742
|
} }
|
|
28687
|
-
function
|
|
28688
|
-
const
|
|
28689
|
-
i0.ɵɵelementStart(0, "ccd-case-event-completion",
|
|
28690
|
-
i0.ɵɵlistener("eventCanBeCompleted", function
|
|
28743
|
+
function CaseEditSubmitComponent_ccd_case_event_completion_1_Template(rf, ctx) { if (rf & 1) {
|
|
28744
|
+
const _r10 = i0.ɵɵgetCurrentView();
|
|
28745
|
+
i0.ɵɵelementStart(0, "ccd-case-event-completion", 50);
|
|
28746
|
+
i0.ɵɵlistener("eventCanBeCompleted", function CaseEditSubmitComponent_ccd_case_event_completion_1_Template_ccd_case_event_completion_eventCanBeCompleted_0_listener($event) { i0.ɵɵrestoreView(_r10); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onEventCanBeCompleted($event)); });
|
|
28691
28747
|
i0.ɵɵelementEnd();
|
|
28692
28748
|
} if (rf & 2) {
|
|
28693
28749
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
28694
28750
|
i0.ɵɵproperty("eventCompletionParams", ctx_r1.caseEdit.eventCompletionParams);
|
|
28695
28751
|
} }
|
|
28696
|
-
function CaseEditSubmitComponent_button_15_Template(rf, ctx) { if (rf & 1) {
|
|
28697
|
-
const _r8 = i0.ɵɵgetCurrentView();
|
|
28698
|
-
i0.ɵɵelementStart(0, "button", 50);
|
|
28699
|
-
i0.ɵɵlistener("click", function CaseEditSubmitComponent_button_15_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.previous()); });
|
|
28700
|
-
i0.ɵɵtext(1);
|
|
28701
|
-
i0.ɵɵpipe(2, "rpxTranslate");
|
|
28702
|
-
i0.ɵɵelementEnd();
|
|
28703
|
-
} if (rf & 2) {
|
|
28704
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
|
28705
|
-
i0.ɵɵproperty("disabled", !ctx_r1.hasPrevious() || ctx_r1.caseEdit.isSubmitting);
|
|
28706
|
-
i0.ɵɵadvance();
|
|
28707
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 2, "Previous"), " ");
|
|
28708
|
-
} }
|
|
28709
28752
|
// @dynamic
|
|
28710
28753
|
class CaseEditSubmitComponent {
|
|
28711
28754
|
caseEdit;
|
|
@@ -28943,63 +28986,17 @@ class CaseEditSubmitComponent {
|
|
|
28943
28986
|
return 'Cancel';
|
|
28944
28987
|
}
|
|
28945
28988
|
static ɵfac = function CaseEditSubmitComponent_Factory(t) { return new (t || CaseEditSubmitComponent)(i0.ɵɵdirectiveInject(CaseEditComponent), i0.ɵɵdirectiveInject(FieldsUtils), i0.ɵɵdirectiveInject(CaseFieldService), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(OrderService), i0.ɵɵdirectiveInject(ProfileNotifier), i0.ɵɵdirectiveInject(FormValidatorsService)); };
|
|
28946
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseEditSubmitComponent, selectors: [["ccd-case-edit-submit"]], decls:
|
|
28947
|
-
|
|
28948
|
-
i0.ɵɵelementStart(0, "div")(1, "h1", 2);
|
|
28949
|
-
i0.ɵɵtext(2);
|
|
28950
|
-
i0.ɵɵpipe(3, "rpxTranslate");
|
|
28951
|
-
i0.ɵɵelementEnd();
|
|
28952
|
-
i0.ɵɵtemplate(4, CaseEditSubmitComponent_div_4_Template, 1, 0, "div", 3)(5, CaseEditSubmitComponent_ng_template_5_Template, 2, 5, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor)(7, CaseEditSubmitComponent_ng_template_7_Template, 1, 1, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
|
|
28953
|
-
i0.ɵɵelement(9, "ccd-case-edit-generic-errors", 4);
|
|
28954
|
-
i0.ɵɵelementStart(10, "ccd-callback-errors", 5);
|
|
28955
|
-
i0.ɵɵlistener("callbackErrorsContext", function CaseEditSubmitComponent_Template_ccd_callback_errors_callbackErrorsContext_10_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.callbackErrorsNotify($event)); });
|
|
28956
|
-
i0.ɵɵelementEnd();
|
|
28957
|
-
i0.ɵɵelementStart(11, "form", 6);
|
|
28958
|
-
i0.ɵɵlistener("submit", function CaseEditSubmitComponent_Template_form_submit_11_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.submit()); });
|
|
28959
|
-
i0.ɵɵtemplate(12, CaseEditSubmitComponent_div_12_Template, 4, 3, "div", 7)(13, CaseEditSubmitComponent_ccd_case_event_completion_13_Template, 1, 1, "ccd-case-event-completion", 8);
|
|
28960
|
-
i0.ɵɵelementStart(14, "div", 9);
|
|
28961
|
-
i0.ɵɵtemplate(15, CaseEditSubmitComponent_button_15_Template, 3, 4, "button", 10);
|
|
28962
|
-
i0.ɵɵelementStart(16, "button", 11);
|
|
28963
|
-
i0.ɵɵtext(17);
|
|
28964
|
-
i0.ɵɵpipe(18, "rpxTranslate");
|
|
28965
|
-
i0.ɵɵelementEnd()();
|
|
28966
|
-
i0.ɵɵelementStart(19, "p", 12)(20, "a", 13);
|
|
28967
|
-
i0.ɵɵlistener("click", function CaseEditSubmitComponent_Template_a_click_20_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.cancel()); });
|
|
28968
|
-
i0.ɵɵtext(21);
|
|
28969
|
-
i0.ɵɵpipe(22, "rpxTranslate");
|
|
28970
|
-
i0.ɵɵelementEnd()()()();
|
|
28989
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseEditSubmitComponent, selectors: [["ccd-case-edit-submit"]], decls: 2, vars: 2, consts: [["titleBlock", ""], ["idBlock", ""], [4, "ngIf"], [3, "eventCompletionParams", "eventCanBeCompleted", 4, "ngIf"], [1, "govuk-heading-l"], [4, "ngIf", "ngIfThen", "ngIfElse"], [3, "error"], [3, "callbackErrorsContext", "callbackErrorsSubject"], [1, "check-your-answers", 3, "submit", "formGroup"], [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"], ["href", "javascript:void(0)", 3, "click"], [3, "content"], ["class", "heading-h2", 4, "ngIf"], [1, "heading-h2"], ["class", "text-16", 4, "ngIf"], ["aria-describedby", "check your answers table", 1, "form-table"], [4, "ngFor", "ngForOf"], [1, "text-16"], ["ccdLabelSubstitutor", "", 3, "caseField", "hidden", "formGroup", "contextFields"], ["class", "valign-top case-field-label", 4, "ngIf"], [1, "form-cell", "case-field-content"], [3, "formGroup", "topLevelFormGroup", "caseField", "context", "caseFields"], [1, "valign-top", "case-field-label"], [1, "valign-top", "check-your-answers__change", "case-field-change"], ["href", "javascript:void(0)", 3, "click", 4, "ngIf"], ["aria-describedby", "summary fields table", 1, "summary-fields"], [3, "ngSwitch"], ["ccdLabelSubstitutor", "", 3, "caseField", "formGroup", "contextFields", 4, "ngSwitchCase"], ["class", "compound-field", "ccdLabelSubstitutor", "", 3, "caseField", "formGroup", "contextFields", 4, "ngSwitchCase"], ["ccdLabelSubstitutor", "", 3, "caseField", "formGroup", "contextFields"], ["id", "summary-field-label"], [1, "form-cell"], [3, "formGroup", "caseField"], ["ccdLabelSubstitutor", "", 1, "compound-field", 3, "caseField", "formGroup", "contextFields"], ["colspan", "2"], [3, "formGroup", "caseField", "caseFields"], ["id", "fieldset-event", "formGroupName", "event"], [2, "display", "none"], [1, "form-group", 3, "ngClass"], ["for", "field-trigger-summary", 1, "form-label"], [1, "form-hint"], ["class", "error-message", 4, "ngIf"], ["type", "text", "id", "field-trigger-summary", "formControlName", "summary", "maxlength", "1024", 1, "form-control", "bottom-30", "width-50", 3, "ngClass"], ["for", "field-trigger-description", 1, "form-label"], ["id", "field-trigger-description", "formControlName", "description", "maxlength", "65536", 1, "form-control", "bottom-30", "width-50", 3, "ngClass"], [1, "error-message"], ["type", "button", 1, "button", "button-secondary", 3, "click", "disabled"], [3, "eventCanBeCompleted", "eventCompletionParams"]], template: function CaseEditSubmitComponent_Template(rf, ctx) { if (rf & 1) {
|
|
28990
|
+
i0.ɵɵtemplate(0, CaseEditSubmitComponent_div_0_Template, 24, 22, "div", 2)(1, CaseEditSubmitComponent_ccd_case_event_completion_1_Template, 1, 1, "ccd-case-event-completion", 3);
|
|
28971
28991
|
} if (rf & 2) {
|
|
28972
|
-
const titleBlock_r9 = i0.ɵɵreference(6);
|
|
28973
|
-
const idBlock_r10 = i0.ɵɵreference(8);
|
|
28974
|
-
i0.ɵɵadvance(2);
|
|
28975
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 15, ctx.eventTrigger.name));
|
|
28976
|
-
i0.ɵɵadvance(2);
|
|
28977
|
-
i0.ɵɵproperty("ngIf", ctx.getCaseTitle())("ngIfThen", titleBlock_r9)("ngIfElse", idBlock_r10);
|
|
28978
|
-
i0.ɵɵadvance(5);
|
|
28979
|
-
i0.ɵɵproperty("error", ctx.caseEdit.error);
|
|
28980
|
-
i0.ɵɵadvance();
|
|
28981
|
-
i0.ɵɵproperty("callbackErrorsSubject", ctx.caseEdit.callbackErrorsSubject);
|
|
28982
|
-
i0.ɵɵadvance();
|
|
28983
|
-
i0.ɵɵproperty("formGroup", ctx.editForm);
|
|
28984
|
-
i0.ɵɵadvance();
|
|
28985
28992
|
i0.ɵɵproperty("ngIf", !ctx.caseEdit.isEventCompletionChecksRequired);
|
|
28986
28993
|
i0.ɵɵadvance();
|
|
28987
28994
|
i0.ɵɵproperty("ngIf", ctx.caseEdit.isEventCompletionChecksRequired);
|
|
28988
|
-
i0.ɵɵadvance(2);
|
|
28989
|
-
i0.ɵɵproperty("ngIf", !ctx.caseEdit.isCaseFlagSubmission);
|
|
28990
|
-
i0.ɵɵadvance();
|
|
28991
|
-
i0.ɵɵproperty("disabled", ctx.isDisabled);
|
|
28992
|
-
i0.ɵɵadvance();
|
|
28993
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(18, 17, ctx.triggerText), " ");
|
|
28994
|
-
i0.ɵɵadvance(3);
|
|
28995
|
-
i0.ɵɵclassProp("disabled", ctx.caseEdit.isSubmitting);
|
|
28996
|
-
i0.ɵɵadvance();
|
|
28997
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(22, 19, ctx.getCancelText()));
|
|
28998
28995
|
} }, styles: ["#fieldset-case-data[_ngcontent-%COMP%]{margin-bottom:30px}#fieldset-case-data[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{width:1%;white-space:nowrap;vertical-align:top}.compound-field[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:0}#confirmation-header[_ngcontent-%COMP%]{width:630px;background-color:#17958b;border:solid 1px #979797;color:#fff;text-align:center}#confirmation-body[_ngcontent-%COMP%]{width:630px;background-color:#fff}.valign-top[_ngcontent-%COMP%]{vertical-align:top}.summary-fields[_ngcontent-%COMP%]{margin-bottom:30px}.summary-fields[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%], .summary-fields[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:0px}a.disabled[_ngcontent-%COMP%]{pointer-events:none;cursor:default}.case-field-label[_ngcontent-%COMP%]{width:45%}.case-field-content[_ngcontent-%COMP%]{width:50%}.no-bottom-border[_ngcontent-%COMP%]{border-bottom:none}.case-field-change[_ngcontent-%COMP%]{width:5%}"] });
|
|
28999
28996
|
}
|
|
29000
28997
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseEditSubmitComponent, [{
|
|
29001
28998
|
type: Component,
|
|
29002
|
-
args: [{ selector: 'ccd-case-edit-submit', template: "<div>\n <!-- Event trigger name -->\n <h1 class=\"govuk-heading-l\">{{eventTrigger.name | rpxTranslate}}</h1>\n\n <!--Case ID or Title -->\n <div *ngIf=\"getCaseTitle(); then titleBlock; else idBlock\"></div>\n <ng-template #titleBlock>\n <ccd-markdown [content]=\"getCaseTitle() | ccdCaseTitle: contextFields : editForm.controls['data']\"></ccd-markdown>\n </ng-template>\n <ng-template #idBlock>\n <h2 *ngIf=\"getCaseId()\" class=\"heading-h2\">#{{ getCaseId() | ccdCaseReference }}</h2>\n </ng-template>\n\n <ccd-case-edit-generic-errors [error]=\"caseEdit.error\"></ccd-case-edit-generic-errors>\n\n <ccd-callback-errors [callbackErrorsSubject]=\"caseEdit.callbackErrorsSubject\"\n (callbackErrorsContext)=\"callbackErrorsNotify($event)\"></ccd-callback-errors>\n\n <form class=\"check-your-answers\" [formGroup]=\"editForm\" (submit)=\"submit()\">\n <
|
|
28999
|
+
args: [{ selector: 'ccd-case-edit-submit', template: "<div *ngIf=\"!caseEdit.isEventCompletionChecksRequired\">\n <!-- Event trigger name -->\n <h1 class=\"govuk-heading-l\">{{eventTrigger.name | rpxTranslate}}</h1>\n\n <!--Case ID or Title -->\n <div *ngIf=\"getCaseTitle(); then titleBlock; else idBlock\"></div>\n <ng-template #titleBlock>\n <ccd-markdown [content]=\"getCaseTitle() | ccdCaseTitle: contextFields : editForm.controls['data']\"></ccd-markdown>\n </ng-template>\n <ng-template #idBlock>\n <h2 *ngIf=\"getCaseId()\" class=\"heading-h2\">#{{ getCaseId() | ccdCaseReference }}</h2>\n </ng-template>\n\n <ccd-case-edit-generic-errors [error]=\"caseEdit.error\"></ccd-case-edit-generic-errors>\n\n <ccd-callback-errors [callbackErrorsSubject]=\"caseEdit.callbackErrorsSubject\"\n (callbackErrorsContext)=\"callbackErrorsNotify($event)\"></ccd-callback-errors>\n\n <form class=\"check-your-answers\" [formGroup]=\"editForm\" (submit)=\"submit()\">\n <ng-container *ngIf=\"checkYourAnswerFieldsToDisplayExists()\">\n\n <h2 class=\"heading-h2\">{{pageTitle | rpxTranslate }}</h2>\n <span class=\"text-16\" *ngIf=\"!caseEdit.isCaseFlagSubmission\">{{'Check the information below carefully.' | rpxTranslate}}</span>\n\n <table class=\"form-table\" aria-describedby=\"check your answers table\">\n <tbody>\n <ng-container *ngFor=\"let page of wizard.pages\">\n <ng-container *ngIf=\"isShown(page)\">\n <ng-container *ngFor=\"let field of page\n | ccdPageFields: editForm\n | ccdReadFieldsFilter: false :undefined :true :allFieldsValues\n | ccdCYAPageLabelFilter\">\n <ng-container *ngIf=\"canShowFieldInCYA(field)\">\n <tr ccdLabelSubstitutor [caseField]=\"field\" [hidden]=\"field.hidden\"\n [formGroup]=\"editForm.controls['data']\" [contextFields]=\"contextFields\">\n <th *ngIf=\"!isLabel(field) && !caseEdit.isCaseFlagSubmission\" class=\"valign-top case-field-label\">\n <span class=\"text-16\">{{field.label | rpxTranslate}}</span>\n </th>\n <td class=\"form-cell case-field-content\" [attr.colspan]=\"isLabel(field) ? '2' : '1'\">\n <ccd-field-read\n [formGroup]=\"editForm.controls['data']\" [topLevelFormGroup]=\"editForm.controls['data']\"\n [caseField]=\"summaryCaseField(field)\" [context]=\"paletteContext\" [caseFields]=\"contextFields\"></ccd-field-read>\n </td>\n <ng-container *ngIf=\"!caseEdit.isCaseFlagSubmission\">\n <td class=\"valign-top check-your-answers__change case-field-change\">\n <a *ngIf=\"isChangeAllowed(field)\" (click)=\"navigateToPage(page.id)\"\n href=\"javascript:void(0)\">\n <span class=\"text-16\" attr.aria-label=\"{{'Change' | rpxTranslate}} {{ field.label | rpxTranslate }}\">\n {{'Change' | rpxTranslate}}\n </span>\n </a>\n </td>\n </ng-container>\n </tr>\n </ng-container>\n </ng-container>\n </ng-container>\n </ng-container>\n </tbody>\n </table>\n </ng-container>\n <ng-container *ngIf=\"readOnlySummaryFieldsToDisplayExists()\">\n\n <table class=\"summary-fields\" aria-describedby=\"summary fields table\">\n <tbody>\n <ng-container *ngFor=\"let field of showSummaryFields\">\n <ng-container [ngSwitch]=\"!(field | ccdIsCompound)\">\n <tr *ngSwitchCase=\"true\" ccdLabelSubstitutor [caseField]=\"field\" [formGroup]=\"editForm.controls['data']\" [contextFields]=\"contextFields\">\n <th id=\"summary-field-label\">{{field.label}}</th>\n <td class=\"form-cell\">\n <ccd-field-read [formGroup]=\"editForm.controls['data']\" [caseField]=\"summaryCaseField(field)\"></ccd-field-read>\n </td>\n </tr>\n <tr *ngSwitchCase=\"false\" class=\"compound-field\" ccdLabelSubstitutor [caseField]=\"field\" [formGroup]=\"editForm.controls['data']\" [contextFields]=\"contextFields\">\n <td colspan=\"2\">\n <ccd-field-read [formGroup]=\"editForm.controls['data']\" [caseField]=\"summaryCaseField(field)\" [caseFields]=\"contextFields\"></ccd-field-read>\n </td>\n </tr>\n </ng-container>\n </ng-container>\n </tbody>\n </table>\n </ng-container>\n <ng-container *ngIf=\"showEventNotes()\">\n <fieldset id=\"fieldset-event\" formGroupName=\"event\">\n <legend style=\"display: none;\"></legend>\n <div class=\"form-group\" [ngClass]=\"{'form-group-error': !!summary && !summary.valid && (summary.dirty || summary.touched)}\">\n <label for=\"field-trigger-summary\" class=\"form-label\">\n Event summary (optional)\n <span class=\"form-hint\">A few words describing the purpose of the event.</span>\n </label>\n <span class=\"error-message\" *ngIf=\"summary?.errors && (summary.dirty || summary.touched)\">\n {{summary.errors | ccdFirstError: eventSummaryLabel | rpxTranslate}}\n </span>\n <input type=\"text\" id=\"field-trigger-summary\" class=\"form-control bottom-30 width-50\"\n [ngClass]=\"{'govuk-input--error': summary?.errors && (summary.dirty || summary.touched)}\" formControlName=\"summary\" maxlength=\"1024\">\n </div>\n <div class=\"form-group\" [ngClass]=\"{'form-group-error': !!description && !description.valid && (description.dirty || description.touched)}\">\n <label for=\"field-trigger-description\" class=\"form-label\">Event description (optional)</label>\n <span class=\"error-message\" *ngIf=\"description?.errors && (description.dirty || description.touched)\">\n {{description.errors | ccdFirstError: eventDescriptionLabel | rpxTranslate}}\n </span>\n <textarea id=\"field-trigger-description\" class=\"form-control bottom-30 width-50\" formControlName=\"description\"\n [ngClass]=\"{'govuk-input--error': description?.errors && (description.dirty || description.touched)}\" maxlength=\"65536\"></textarea>\n </div>\n </fieldset>\n </ng-container>\n <div class=\"form-group form-group-related\">\n <button *ngIf=\"!caseEdit.isCaseFlagSubmission\" class=\"button button-secondary\" type=\"button\" [disabled]=\"!hasPrevious() || caseEdit.isSubmitting\" (click)=\"previous()\">\n {{'Previous' | rpxTranslate}}\n </button>\n <button type=\"submit\" [disabled]=\"isDisabled\" class=\"button\">\n {{triggerText | rpxTranslate}}\n </button>\n </div>\n <p class=\"cancel\">\n <a (click)=\"cancel()\" href=\"javascript:void(0)\" [class.disabled]=\"caseEdit.isSubmitting\">{{getCancelText() | rpxTranslate}}</a>\n </p>\n </form>\n</div>\n<ccd-case-event-completion *ngIf=\"caseEdit.isEventCompletionChecksRequired\"\n [eventCompletionParams]=\"caseEdit.eventCompletionParams\"\n (eventCanBeCompleted)=\"onEventCanBeCompleted($event)\">\n</ccd-case-event-completion>\n", styles: ["#fieldset-case-data{margin-bottom:30px}#fieldset-case-data th{width:1%;white-space:nowrap;vertical-align:top}.compound-field td{padding:0}#confirmation-header{width:630px;background-color:#17958b;border:solid 1px #979797;color:#fff;text-align:center}#confirmation-body{width:630px;background-color:#fff}.valign-top{vertical-align:top}.summary-fields{margin-bottom:30px}.summary-fields tbody tr th,.summary-fields tbody tr td{border-bottom:0px}a.disabled{pointer-events:none;cursor:default}.case-field-label{width:45%}.case-field-content{width:50%}.no-bottom-border{border-bottom:none}.case-field-change{width:5%}\n"] }]
|
|
29003
29000
|
}], () => [{ type: CaseEditComponent }, { type: FieldsUtils }, { type: CaseFieldService }, { type: i1$1.ActivatedRoute }, { type: OrderService }, { type: ProfileNotifier }, { type: FormValidatorsService }], null); })();
|
|
29004
29001
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseEditSubmitComponent, { className: "CaseEditSubmitComponent", filePath: "lib/shared/components/case-editor/case-edit-submit/case-edit-submit.component.ts", lineNumber: 27 }); })();
|
|
29005
29002
|
|