@hmcts/ccd-case-ui-toolkit 7.0.41 → 7.0.42-exui-2007-rc1
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.
- package/esm2022/lib/shared/components/case-editor/case-edit-submit/case-edit-submit.component.mjs +107 -104
- package/esm2022/lib/shared/components/palette/linked-cases/components/linked-cases-table/linked-cases-from-table.component.mjs +52 -20
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs +157 -122
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/lib/shared/components/palette/linked-cases/components/linked-cases-table/linked-cases-from-table.component.d.ts +4 -0
- package/lib/shared/components/palette/linked-cases/components/linked-cases-table/linked-cases-from-table.component.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -16687,25 +16687,48 @@ function LinkedCasesFromTableComponent_a_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
16687
16687
|
i0.ɵɵadvance();
|
|
16688
16688
|
i0.ɵɵtextInterpolate(ctx_r1.showHideLinkText);
|
|
16689
16689
|
} }
|
|
16690
|
+
function LinkedCasesFromTableComponent_table_1_tbody_13_tr_1_td_18_span_1_a_4_Template(rf, ctx) { if (rf & 1) {
|
|
16691
|
+
i0.ɵɵelementStart(0, "a", 20);
|
|
16692
|
+
i0.ɵɵtext(1);
|
|
16693
|
+
i0.ɵɵelementEnd();
|
|
16694
|
+
} if (rf & 2) {
|
|
16695
|
+
const case_r3 = i0.ɵɵnextContext(3).$implicit;
|
|
16696
|
+
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
16697
|
+
i0.ɵɵpropertyInterpolate1("href", "cases/case-details/", case_r3.caseReference, "", i0.ɵɵsanitizeUrl);
|
|
16698
|
+
i0.ɵɵadvance();
|
|
16699
|
+
i0.ɵɵtextInterpolate(ctx_r1.getCaseReferenceLink(case_r3.caseReference));
|
|
16700
|
+
} }
|
|
16701
|
+
function LinkedCasesFromTableComponent_table_1_tbody_13_tr_1_td_18_span_1_br_5_Template(rf, ctx) { if (rf & 1) {
|
|
16702
|
+
i0.ɵɵelement(0, "br");
|
|
16703
|
+
} }
|
|
16690
16704
|
function LinkedCasesFromTableComponent_table_1_tbody_13_tr_1_td_18_span_1_Template(rf, ctx) { if (rf & 1) {
|
|
16691
16705
|
i0.ɵɵelementStart(0, "span");
|
|
16692
16706
|
i0.ɵɵtext(1);
|
|
16693
16707
|
i0.ɵɵpipe(2, "ccdLinkCasesFromReasonValue");
|
|
16694
|
-
i0.ɵɵ
|
|
16708
|
+
i0.ɵɵelementStart(3, "span");
|
|
16709
|
+
i0.ɵɵtemplate(4, LinkedCasesFromTableComponent_table_1_tbody_13_tr_1_td_18_span_1_a_4_Template, 2, 3, "a", 18);
|
|
16710
|
+
i0.ɵɵelementEnd();
|
|
16711
|
+
i0.ɵɵtemplate(5, LinkedCasesFromTableComponent_table_1_tbody_13_tr_1_td_18_span_1_br_5_Template, 1, 0, "br", 19);
|
|
16695
16712
|
i0.ɵɵelementEnd();
|
|
16696
16713
|
} if (rf & 2) {
|
|
16697
|
-
const
|
|
16714
|
+
const reason_r4 = ctx.$implicit;
|
|
16715
|
+
const isLast_r5 = ctx.last;
|
|
16716
|
+
const ctx_r1 = i0.ɵɵnextContext(5);
|
|
16717
|
+
i0.ɵɵadvance();
|
|
16718
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 3, reason_r4), "");
|
|
16719
|
+
i0.ɵɵadvance(3);
|
|
16720
|
+
i0.ɵɵproperty("ngIf", ctx_r1.hasLeadCaseOrConsolidated(reason_r4.reasonCode));
|
|
16698
16721
|
i0.ɵɵadvance();
|
|
16699
|
-
i0.ɵɵ
|
|
16722
|
+
i0.ɵɵproperty("ngIf", !isLast_r5);
|
|
16700
16723
|
} }
|
|
16701
16724
|
function LinkedCasesFromTableComponent_table_1_tbody_13_tr_1_td_18_Template(rf, ctx) { if (rf & 1) {
|
|
16702
16725
|
i0.ɵɵelementStart(0, "td", 14);
|
|
16703
|
-
i0.ɵɵtemplate(1, LinkedCasesFromTableComponent_table_1_tbody_13_tr_1_td_18_span_1_Template,
|
|
16726
|
+
i0.ɵɵtemplate(1, LinkedCasesFromTableComponent_table_1_tbody_13_tr_1_td_18_span_1_Template, 6, 5, "span", 17);
|
|
16704
16727
|
i0.ɵɵelementEnd();
|
|
16705
16728
|
} if (rf & 2) {
|
|
16706
|
-
const
|
|
16729
|
+
const details_r6 = ctx.$implicit;
|
|
16707
16730
|
i0.ɵɵadvance();
|
|
16708
|
-
i0.ɵɵproperty("ngForOf",
|
|
16731
|
+
i0.ɵɵproperty("ngForOf", details_r6.reasons);
|
|
16709
16732
|
} }
|
|
16710
16733
|
function LinkedCasesFromTableComponent_table_1_tbody_13_tr_1_Template(rf, ctx) { if (rf & 1) {
|
|
16711
16734
|
i0.ɵɵelementStart(0, "tr", 5)(1, "td", 11)(2, "p", 12)(3, "a", 13)(4, "span");
|
|
@@ -16726,28 +16749,28 @@ function LinkedCasesFromTableComponent_table_1_tbody_13_tr_1_Template(rf, ctx) {
|
|
|
16726
16749
|
i0.ɵɵtemplate(18, LinkedCasesFromTableComponent_table_1_tbody_13_tr_1_td_18_Template, 2, 1, "td", 16);
|
|
16727
16750
|
i0.ɵɵelementEnd();
|
|
16728
16751
|
} if (rf & 2) {
|
|
16729
|
-
const
|
|
16752
|
+
const case_r3 = ctx.$implicit;
|
|
16730
16753
|
i0.ɵɵadvance(3);
|
|
16731
|
-
i0.ɵɵpropertyInterpolate1("href", "cases/case-details/",
|
|
16754
|
+
i0.ɵɵpropertyInterpolate1("href", "cases/case-details/", case_r3.caseReference, "", i0.ɵɵsanitizeUrl);
|
|
16732
16755
|
i0.ɵɵadvance(2);
|
|
16733
|
-
i0.ɵɵtextInterpolate1("",
|
|
16756
|
+
i0.ɵɵtextInterpolate1("", case_r3.caseNameHmctsInternal, " ");
|
|
16734
16757
|
i0.ɵɵadvance(2);
|
|
16735
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(8, 10,
|
|
16758
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(8, 10, case_r3.caseReference), "");
|
|
16736
16759
|
i0.ɵɵadvance(3);
|
|
16737
|
-
i0.ɵɵproperty("title",
|
|
16760
|
+
i0.ɵɵproperty("title", case_r3.ccdCaseTypeDescription);
|
|
16738
16761
|
i0.ɵɵadvance();
|
|
16739
|
-
i0.ɵɵtextInterpolate(
|
|
16762
|
+
i0.ɵɵtextInterpolate(case_r3.ccdCaseType);
|
|
16740
16763
|
i0.ɵɵadvance(3);
|
|
16741
|
-
i0.ɵɵtextInterpolate(
|
|
16764
|
+
i0.ɵɵtextInterpolate(case_r3.ccdJurisdiction);
|
|
16742
16765
|
i0.ɵɵadvance(2);
|
|
16743
|
-
i0.ɵɵproperty("title",
|
|
16766
|
+
i0.ɵɵproperty("title", case_r3.stateDescription);
|
|
16744
16767
|
i0.ɵɵadvance();
|
|
16745
|
-
i0.ɵɵtextInterpolate(
|
|
16768
|
+
i0.ɵɵtextInterpolate(case_r3.state);
|
|
16746
16769
|
i0.ɵɵadvance();
|
|
16747
|
-
i0.ɵɵproperty("ngForOf",
|
|
16770
|
+
i0.ɵɵproperty("ngForOf", case_r3.linkDetails);
|
|
16748
16771
|
} }
|
|
16749
16772
|
function LinkedCasesFromTableComponent_table_1_tbody_13_tr_2_Template(rf, ctx) { if (rf & 1) {
|
|
16750
|
-
i0.ɵɵelementStart(0, "tr", 5)(1, "td",
|
|
16773
|
+
i0.ɵɵelementStart(0, "tr", 5)(1, "td", 21);
|
|
16751
16774
|
i0.ɵɵtext(2, " None ");
|
|
16752
16775
|
i0.ɵɵelementEnd()();
|
|
16753
16776
|
} }
|
|
@@ -16790,6 +16813,8 @@ class LinkedCasesFromTableComponent {
|
|
|
16790
16813
|
casesService;
|
|
16791
16814
|
linkedCasesService;
|
|
16792
16815
|
static CASE_NAME_MISSING_TEXT = 'Case name missing';
|
|
16816
|
+
static CASE_CONSOLIDATED_REASON_CODE = 'CLRC015';
|
|
16817
|
+
static CASE_PROGRESS_REASON_CODE = 'CLRC016';
|
|
16793
16818
|
caseField;
|
|
16794
16819
|
notifyAPIFailure = new EventEmitter(false);
|
|
16795
16820
|
caseDetails;
|
|
@@ -16856,13 +16881,20 @@ class LinkedCasesFromTableComponent {
|
|
|
16856
16881
|
mapLookupIDToValueFromJurisdictions(fieldName, fieldValue) {
|
|
16857
16882
|
return this.linkedCasesService.mapLookupIDToValueFromJurisdictions(fieldName, fieldValue);
|
|
16858
16883
|
}
|
|
16884
|
+
getCaseReferenceLink(caseRef) {
|
|
16885
|
+
return caseRef.slice(this.caseId.length - 4);
|
|
16886
|
+
}
|
|
16887
|
+
hasLeadCaseOrConsolidated(reasonCode) {
|
|
16888
|
+
return reasonCode === LinkedCasesFromTableComponent.CASE_PROGRESS_REASON_CODE ||
|
|
16889
|
+
reasonCode === LinkedCasesFromTableComponent.CASE_CONSOLIDATED_REASON_CODE;
|
|
16890
|
+
}
|
|
16859
16891
|
onClick() {
|
|
16860
16892
|
this.showHideLinkText = this.showHideLinkText === 'Show'
|
|
16861
16893
|
? 'Hide'
|
|
16862
16894
|
: 'Show';
|
|
16863
16895
|
}
|
|
16864
16896
|
static ɵfac = function LinkedCasesFromTableComponent_Factory(t) { return new (t || LinkedCasesFromTableComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(CasesService), i0.ɵɵdirectiveInject(LinkedCasesService)); };
|
|
16865
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LinkedCasesFromTableComponent, selectors: [["ccd-linked-cases-from-table"]], inputs: { caseField: "caseField" }, outputs: { notifyAPIFailure: "notifyAPIFailure" }, decls: 2, vars: 2, consts: [["id", "show-hide-link", "class", "govuk-link", "href", "javascript:void(0)", 3, "click", 4, "ngIf"], ["aria-describedby", "table to display cases linked from", 4, "ngIf"], ["id", "show-hide-link", "href", "javascript:void(0)", 1, "govuk-link", 3, "click"], ["aria-describedby", "table to display cases linked from"], [1, "govuk-table__head"], [1, "govuk-table__row"], ["scope", "col", "width", "20%", 1, "govuk-table__header", "case-table-column"], ["class", "govuk-table__body", 4, "ngIf"], [1, "govuk-table__body"], ["class", "govuk-table__row", 4, "ngFor", "ngForOf"], ["class", "govuk-table__row", 4, "ngIf"], [1, "govuk-table__header", "case-table-column", "width-20"], [1, "govuk-body"], ["target", "_blank", "rel", "noopener", 1, "govuk-link", 3, "href"], [1, "case-table-column"], [3, "title"], ["class", "case-table-column", 4, "ngFor", "ngForOf"], [4, "ngFor", "ngForOf"], ["colspan", "5", 1, "govuk-table__cell"]], template: function LinkedCasesFromTableComponent_Template(rf, ctx) { if (rf & 1) {
|
|
16897
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LinkedCasesFromTableComponent, selectors: [["ccd-linked-cases-from-table"]], inputs: { caseField: "caseField" }, outputs: { notifyAPIFailure: "notifyAPIFailure" }, decls: 2, vars: 2, consts: [["id", "show-hide-link", "class", "govuk-link", "href", "javascript:void(0)", 3, "click", 4, "ngIf"], ["aria-describedby", "table to display cases linked from", 4, "ngIf"], ["id", "show-hide-link", "href", "javascript:void(0)", 1, "govuk-link", 3, "click"], ["aria-describedby", "table to display cases linked from"], [1, "govuk-table__head"], [1, "govuk-table__row"], ["scope", "col", "width", "20%", 1, "govuk-table__header", "case-table-column"], ["class", "govuk-table__body", 4, "ngIf"], [1, "govuk-table__body"], ["class", "govuk-table__row", 4, "ngFor", "ngForOf"], ["class", "govuk-table__row", 4, "ngIf"], [1, "govuk-table__header", "case-table-column", "width-20"], [1, "govuk-body"], ["target", "_blank", "rel", "noopener", 1, "govuk-link", 3, "href"], [1, "case-table-column"], [3, "title"], ["class", "case-table-column", 4, "ngFor", "ngForOf"], [4, "ngFor", "ngForOf"], ["class", "govuk-!-padding-left-1", 3, "href", 4, "ngIf"], [4, "ngIf"], [1, "govuk-!-padding-left-1", 3, "href"], ["colspan", "5", 1, "govuk-table__cell"]], template: function LinkedCasesFromTableComponent_Template(rf, ctx) { if (rf & 1) {
|
|
16866
16898
|
i0.ɵɵtemplate(0, LinkedCasesFromTableComponent_a_0_Template, 2, 1, "a", 0)(1, LinkedCasesFromTableComponent_table_1_Template, 14, 1, "table", 1);
|
|
16867
16899
|
} if (rf & 2) {
|
|
16868
16900
|
i0.ɵɵproperty("ngIf", !ctx.noLinkedCases && !ctx.isServerError);
|
|
@@ -16872,7 +16904,7 @@ class LinkedCasesFromTableComponent {
|
|
|
16872
16904
|
}
|
|
16873
16905
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LinkedCasesFromTableComponent, [{
|
|
16874
16906
|
type: Component,
|
|
16875
|
-
args: [{ selector: 'ccd-linked-cases-from-table', template: "<a *ngIf=\"!noLinkedCases && !isServerError\" id=\"show-hide-link\" class=\"govuk-link\" href=\"javascript:void(0)\"\n (click)=\"onClick()\">{{showHideLinkText}}</a>\n<table *ngIf=\"(getLinkedCasesResponse && showHideLinkText === 'Hide') || noLinkedCases\"\n aria-describedby=\"table to display cases linked from\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Case name and number</th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Case type </th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Service</th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">State</th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Reasons for case link</th>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\" *ngIf=\"getLinkedCasesResponse && (!isServerError && !isServerReasonCodeError)\">\n <tr class=\"govuk-table__row\" *ngFor=\"let case of getLinkedCasesResponse\">\n <td class=\"govuk-table__header case-table-column width-20\">\n <p class=\"govuk-body\"><a target=\"_blank\" class=\"govuk-link\" href=\"cases/case-details/{{case.caseReference}}\"\n rel=\"noopener\"><span>{{case.caseNameHmctsInternal}} <br>\n {{case.caseReference | ccdCaseReference}}</span></a></p>\n </td>\n <td class=\"case-table-column\"><span [title]=\"case.ccdCaseTypeDescription\">{{case.ccdCaseType}}</span></td>\n <td class=\"case-table-column\"><span>{{case.ccdJurisdiction}}</span></td>\n <td class=\"case-table-column\"><span [title]=\"case.stateDescription\">{{case.state}}</span></td>\n <td class=\"case-table-column\" *ngFor=\"let details of case.linkDetails\">\n <span *ngFor=\"let reason of details.reasons; let i = index; let isLast = last\">\n {{reason | ccdLinkCasesFromReasonValue}} <br
|
|
16907
|
+
args: [{ selector: 'ccd-linked-cases-from-table', template: "<a *ngIf=\"!noLinkedCases && !isServerError\" id=\"show-hide-link\" class=\"govuk-link\" href=\"javascript:void(0)\"\n (click)=\"onClick()\">{{showHideLinkText}}</a>\n<table *ngIf=\"(getLinkedCasesResponse && showHideLinkText === 'Hide') || noLinkedCases\"\n aria-describedby=\"table to display cases linked from\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Case name and number</th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Case type </th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Service</th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">State</th>\n <th scope=\"col\" class=\"govuk-table__header case-table-column\" width=\"20%\">Reasons for case link</th>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\" *ngIf=\"getLinkedCasesResponse && (!isServerError && !isServerReasonCodeError)\">\n <tr class=\"govuk-table__row\" *ngFor=\"let case of getLinkedCasesResponse\">\n <td class=\"govuk-table__header case-table-column width-20\">\n <p class=\"govuk-body\"><a target=\"_blank\" class=\"govuk-link\" href=\"cases/case-details/{{case.caseReference}}\"\n rel=\"noopener\"><span>{{case.caseNameHmctsInternal}} <br>\n {{case.caseReference | ccdCaseReference}}</span></a></p>\n </td>\n <td class=\"case-table-column\"><span [title]=\"case.ccdCaseTypeDescription\">{{case.ccdCaseType}}</span></td>\n <td class=\"case-table-column\"><span>{{case.ccdJurisdiction}}</span></td>\n <td class=\"case-table-column\"><span [title]=\"case.stateDescription\">{{case.state}}</span></td>\n <td class=\"case-table-column\" *ngFor=\"let details of case.linkDetails\">\n <span *ngFor=\"let reason of details.reasons; let i = index; let isLast = last\">\n {{reason | ccdLinkCasesFromReasonValue}}<span><a class=\"govuk-!-padding-left-1\"\n href=\"cases/case-details/{{ case.caseReference }}\"\n *ngIf=\"hasLeadCaseOrConsolidated(reason.reasonCode)\">{{getCaseReferenceLink(case.caseReference)}}</a></span>\n <br *ngIf=\"!isLast\" />\n </span>\n </td>\n </tr>\n <tr class=\"govuk-table__row\" *ngIf=\"noLinkedCases\">\n <td class=\"govuk-table__cell\" colspan=\"5\">\n None\n </td>\n </tr>\n </tbody> \n</table>\n", styles: [".case-table-column{min-width:20%;max-width:20%}.heading-h2{margin-bottom:0}\n"] }]
|
|
16876
16908
|
}], () => [{ type: i1$1.ActivatedRoute }, { type: CasesService }, { type: LinkedCasesService }], { caseField: [{
|
|
16877
16909
|
type: Input
|
|
16878
16910
|
}], notifyAPIFailure: [{
|
|
@@ -28426,33 +28458,33 @@ var CaseEditSubmitTitles;
|
|
|
28426
28458
|
const _c0$d = (a0, a1) => [a0, false, undefined, true, a1];
|
|
28427
28459
|
const _c1$4 = a0 => ({ "form-group-error": a0 });
|
|
28428
28460
|
const _c2$1 = a0 => ({ "govuk-input--error": a0 });
|
|
28429
|
-
function
|
|
28461
|
+
function CaseEditSubmitComponent_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
28430
28462
|
i0.ɵɵelement(0, "div");
|
|
28431
28463
|
} }
|
|
28432
|
-
function
|
|
28464
|
+
function CaseEditSubmitComponent_ng_template_5_Template(rf, ctx) { if (rf & 1) {
|
|
28433
28465
|
i0.ɵɵelement(0, "ccd-markdown", 14);
|
|
28434
28466
|
i0.ɵɵpipe(1, "ccdCaseTitle");
|
|
28435
28467
|
} if (rf & 2) {
|
|
28436
|
-
const ctx_r1 = i0.ɵɵnextContext(
|
|
28468
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
28437
28469
|
i0.ɵɵproperty("content", i0.ɵɵpipeBind3(1, 1, ctx_r1.getCaseTitle(), ctx_r1.contextFields, ctx_r1.editForm.controls["data"]));
|
|
28438
28470
|
} }
|
|
28439
|
-
function
|
|
28471
|
+
function CaseEditSubmitComponent_ng_template_7_h2_0_Template(rf, ctx) { if (rf & 1) {
|
|
28440
28472
|
i0.ɵɵelementStart(0, "h2", 16);
|
|
28441
28473
|
i0.ɵɵtext(1);
|
|
28442
28474
|
i0.ɵɵpipe(2, "ccdCaseReference");
|
|
28443
28475
|
i0.ɵɵelementEnd();
|
|
28444
28476
|
} if (rf & 2) {
|
|
28445
|
-
const ctx_r1 = i0.ɵɵnextContext(
|
|
28477
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
28446
28478
|
i0.ɵɵadvance();
|
|
28447
28479
|
i0.ɵɵtextInterpolate1("#", i0.ɵɵpipeBind1(2, 1, ctx_r1.getCaseId()), "");
|
|
28448
28480
|
} }
|
|
28449
|
-
function
|
|
28450
|
-
i0.ɵɵtemplate(0,
|
|
28481
|
+
function CaseEditSubmitComponent_ng_template_7_Template(rf, ctx) { if (rf & 1) {
|
|
28482
|
+
i0.ɵɵtemplate(0, CaseEditSubmitComponent_ng_template_7_h2_0_Template, 3, 3, "h2", 15);
|
|
28451
28483
|
} if (rf & 2) {
|
|
28452
|
-
const ctx_r1 = i0.ɵɵnextContext(
|
|
28484
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
28453
28485
|
i0.ɵɵproperty("ngIf", ctx_r1.getCaseId());
|
|
28454
28486
|
} }
|
|
28455
|
-
function
|
|
28487
|
+
function CaseEditSubmitComponent_div_12_ng_container_1_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
28456
28488
|
i0.ɵɵelementStart(0, "span", 20);
|
|
28457
28489
|
i0.ɵɵtext(1);
|
|
28458
28490
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
@@ -28461,7 +28493,7 @@ function CaseEditSubmitComponent_div_0_ng_container_12_span_4_Template(rf, ctx)
|
|
|
28461
28493
|
i0.ɵɵadvance();
|
|
28462
28494
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "Check the information below carefully."));
|
|
28463
28495
|
} }
|
|
28464
|
-
function
|
|
28496
|
+
function CaseEditSubmitComponent_div_12_ng_container_1_ng_container_7_ng_container_1_ng_container_1_ng_container_1_th_2_Template(rf, ctx) { if (rf & 1) {
|
|
28465
28497
|
i0.ɵɵelementStart(0, "th", 25)(1, "span", 20);
|
|
28466
28498
|
i0.ɵɵtext(2);
|
|
28467
28499
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
@@ -28471,10 +28503,10 @@ function CaseEditSubmitComponent_div_0_ng_container_12_ng_container_7_ng_contain
|
|
|
28471
28503
|
i0.ɵɵadvance(2);
|
|
28472
28504
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 1, field_r3.label));
|
|
28473
28505
|
} }
|
|
28474
|
-
function
|
|
28506
|
+
function CaseEditSubmitComponent_div_12_ng_container_1_ng_container_7_ng_container_1_ng_container_1_ng_container_1_ng_container_5_a_2_Template(rf, ctx) { if (rf & 1) {
|
|
28475
28507
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
28476
28508
|
i0.ɵɵelementStart(0, "a", 13);
|
|
28477
|
-
i0.ɵɵlistener("click", function
|
|
28509
|
+
i0.ɵɵlistener("click", function CaseEditSubmitComponent_div_12_ng_container_1_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)); });
|
|
28478
28510
|
i0.ɵɵelementStart(1, "span", 20);
|
|
28479
28511
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
28480
28512
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
@@ -28488,10 +28520,10 @@ function CaseEditSubmitComponent_div_0_ng_container_12_ng_container_7_ng_contain
|
|
|
28488
28520
|
i0.ɵɵadvance(3);
|
|
28489
28521
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(5, 8, "Change"), " ");
|
|
28490
28522
|
} }
|
|
28491
|
-
function
|
|
28523
|
+
function CaseEditSubmitComponent_div_12_ng_container_1_ng_container_7_ng_container_1_ng_container_1_ng_container_1_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
28492
28524
|
i0.ɵɵelementContainerStart(0);
|
|
28493
28525
|
i0.ɵɵelementStart(1, "td", 26);
|
|
28494
|
-
i0.ɵɵtemplate(2,
|
|
28526
|
+
i0.ɵɵtemplate(2, CaseEditSubmitComponent_div_12_ng_container_1_ng_container_7_ng_container_1_ng_container_1_ng_container_1_ng_container_5_a_2_Template, 6, 10, "a", 27);
|
|
28495
28527
|
i0.ɵɵelementEnd();
|
|
28496
28528
|
i0.ɵɵelementContainerEnd();
|
|
28497
28529
|
} if (rf & 2) {
|
|
@@ -28500,14 +28532,14 @@ function CaseEditSubmitComponent_div_0_ng_container_12_ng_container_7_ng_contain
|
|
|
28500
28532
|
i0.ɵɵadvance(2);
|
|
28501
28533
|
i0.ɵɵproperty("ngIf", ctx_r1.isChangeAllowed(field_r3));
|
|
28502
28534
|
} }
|
|
28503
|
-
function
|
|
28535
|
+
function CaseEditSubmitComponent_div_12_ng_container_1_ng_container_7_ng_container_1_ng_container_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
28504
28536
|
i0.ɵɵelementContainerStart(0);
|
|
28505
28537
|
i0.ɵɵelementStart(1, "tr", 21);
|
|
28506
|
-
i0.ɵɵtemplate(2,
|
|
28538
|
+
i0.ɵɵtemplate(2, CaseEditSubmitComponent_div_12_ng_container_1_ng_container_7_ng_container_1_ng_container_1_ng_container_1_th_2_Template, 4, 3, "th", 22);
|
|
28507
28539
|
i0.ɵɵelementStart(3, "td", 23);
|
|
28508
28540
|
i0.ɵɵelement(4, "ccd-field-read", 24);
|
|
28509
28541
|
i0.ɵɵelementEnd();
|
|
28510
|
-
i0.ɵɵtemplate(5,
|
|
28542
|
+
i0.ɵɵtemplate(5, CaseEditSubmitComponent_div_12_ng_container_1_ng_container_7_ng_container_1_ng_container_1_ng_container_1_ng_container_5_Template, 3, 1, "ng-container", 7);
|
|
28511
28543
|
i0.ɵɵelementEnd();
|
|
28512
28544
|
i0.ɵɵelementContainerEnd();
|
|
28513
28545
|
} if (rf & 2) {
|
|
@@ -28524,9 +28556,9 @@ function CaseEditSubmitComponent_div_0_ng_container_12_ng_container_7_ng_contain
|
|
|
28524
28556
|
i0.ɵɵadvance();
|
|
28525
28557
|
i0.ɵɵproperty("ngIf", !ctx_r1.caseEdit.isCaseFlagSubmission);
|
|
28526
28558
|
} }
|
|
28527
|
-
function
|
|
28559
|
+
function CaseEditSubmitComponent_div_12_ng_container_1_ng_container_7_ng_container_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
28528
28560
|
i0.ɵɵelementContainerStart(0);
|
|
28529
|
-
i0.ɵɵtemplate(1,
|
|
28561
|
+
i0.ɵɵtemplate(1, CaseEditSubmitComponent_div_12_ng_container_1_ng_container_7_ng_container_1_ng_container_1_ng_container_1_Template, 6, 12, "ng-container", 7);
|
|
28530
28562
|
i0.ɵɵelementContainerEnd();
|
|
28531
28563
|
} if (rf & 2) {
|
|
28532
28564
|
const field_r3 = ctx.$implicit;
|
|
@@ -28534,9 +28566,9 @@ function CaseEditSubmitComponent_div_0_ng_container_12_ng_container_7_ng_contain
|
|
|
28534
28566
|
i0.ɵɵadvance();
|
|
28535
28567
|
i0.ɵɵproperty("ngIf", ctx_r1.canShowFieldInCYA(field_r3));
|
|
28536
28568
|
} }
|
|
28537
|
-
function
|
|
28569
|
+
function CaseEditSubmitComponent_div_12_ng_container_1_ng_container_7_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
28538
28570
|
i0.ɵɵelementContainerStart(0);
|
|
28539
|
-
i0.ɵɵtemplate(1,
|
|
28571
|
+
i0.ɵɵtemplate(1, CaseEditSubmitComponent_div_12_ng_container_1_ng_container_7_ng_container_1_ng_container_1_Template, 2, 1, "ng-container", 19);
|
|
28540
28572
|
i0.ɵɵpipe(2, "ccdPageFields");
|
|
28541
28573
|
i0.ɵɵpipe(3, "ccdReadFieldsFilter");
|
|
28542
28574
|
i0.ɵɵpipe(4, "ccdCYAPageLabelFilter");
|
|
@@ -28547,9 +28579,9 @@ function CaseEditSubmitComponent_div_0_ng_container_12_ng_container_7_ng_contain
|
|
|
28547
28579
|
i0.ɵɵadvance();
|
|
28548
28580
|
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))));
|
|
28549
28581
|
} }
|
|
28550
|
-
function
|
|
28582
|
+
function CaseEditSubmitComponent_div_12_ng_container_1_ng_container_7_Template(rf, ctx) { if (rf & 1) {
|
|
28551
28583
|
i0.ɵɵelementContainerStart(0);
|
|
28552
|
-
i0.ɵɵtemplate(1,
|
|
28584
|
+
i0.ɵɵtemplate(1, CaseEditSubmitComponent_div_12_ng_container_1_ng_container_7_ng_container_1_Template, 5, 15, "ng-container", 7);
|
|
28553
28585
|
i0.ɵɵelementContainerEnd();
|
|
28554
28586
|
} if (rf & 2) {
|
|
28555
28587
|
const page_r5 = ctx.$implicit;
|
|
@@ -28557,15 +28589,15 @@ function CaseEditSubmitComponent_div_0_ng_container_12_ng_container_7_Template(r
|
|
|
28557
28589
|
i0.ɵɵadvance();
|
|
28558
28590
|
i0.ɵɵproperty("ngIf", ctx_r1.isShown(page_r5));
|
|
28559
28591
|
} }
|
|
28560
|
-
function
|
|
28592
|
+
function CaseEditSubmitComponent_div_12_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
28561
28593
|
i0.ɵɵelementContainerStart(0);
|
|
28562
28594
|
i0.ɵɵelementStart(1, "h2", 16);
|
|
28563
28595
|
i0.ɵɵtext(2);
|
|
28564
28596
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
28565
28597
|
i0.ɵɵelementEnd();
|
|
28566
|
-
i0.ɵɵtemplate(4,
|
|
28598
|
+
i0.ɵɵtemplate(4, CaseEditSubmitComponent_div_12_ng_container_1_span_4_Template, 3, 3, "span", 17);
|
|
28567
28599
|
i0.ɵɵelementStart(5, "table", 18)(6, "tbody");
|
|
28568
|
-
i0.ɵɵtemplate(7,
|
|
28600
|
+
i0.ɵɵtemplate(7, CaseEditSubmitComponent_div_12_ng_container_1_ng_container_7_Template, 2, 1, "ng-container", 19);
|
|
28569
28601
|
i0.ɵɵelementEnd()();
|
|
28570
28602
|
i0.ɵɵelementContainerEnd();
|
|
28571
28603
|
} if (rf & 2) {
|
|
@@ -28577,7 +28609,7 @@ function CaseEditSubmitComponent_div_0_ng_container_12_Template(rf, ctx) { if (r
|
|
|
28577
28609
|
i0.ɵɵadvance(3);
|
|
28578
28610
|
i0.ɵɵproperty("ngForOf", ctx_r1.wizard.pages);
|
|
28579
28611
|
} }
|
|
28580
|
-
function
|
|
28612
|
+
function CaseEditSubmitComponent_div_12_ng_container_2_ng_container_3_tr_3_Template(rf, ctx) { if (rf & 1) {
|
|
28581
28613
|
i0.ɵɵelementStart(0, "tr", 32)(1, "th", 33);
|
|
28582
28614
|
i0.ɵɵtext(2);
|
|
28583
28615
|
i0.ɵɵelementEnd();
|
|
@@ -28593,7 +28625,7 @@ function CaseEditSubmitComponent_div_0_ng_container_13_ng_container_3_tr_3_Templ
|
|
|
28593
28625
|
i0.ɵɵadvance(2);
|
|
28594
28626
|
i0.ɵɵproperty("formGroup", ctx_r1.editForm.controls["data"])("caseField", ctx_r1.summaryCaseField(field_r6));
|
|
28595
28627
|
} }
|
|
28596
|
-
function
|
|
28628
|
+
function CaseEditSubmitComponent_div_12_ng_container_2_ng_container_3_tr_4_Template(rf, ctx) { if (rf & 1) {
|
|
28597
28629
|
i0.ɵɵelementStart(0, "tr", 36)(1, "td", 37);
|
|
28598
28630
|
i0.ɵɵelement(2, "ccd-field-read", 38);
|
|
28599
28631
|
i0.ɵɵelementEnd()();
|
|
@@ -28604,10 +28636,10 @@ function CaseEditSubmitComponent_div_0_ng_container_13_ng_container_3_tr_4_Templ
|
|
|
28604
28636
|
i0.ɵɵadvance(2);
|
|
28605
28637
|
i0.ɵɵproperty("formGroup", ctx_r1.editForm.controls["data"])("caseField", ctx_r1.summaryCaseField(field_r6))("caseFields", ctx_r1.contextFields);
|
|
28606
28638
|
} }
|
|
28607
|
-
function
|
|
28639
|
+
function CaseEditSubmitComponent_div_12_ng_container_2_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
28608
28640
|
i0.ɵɵelementContainerStart(0)(1, 29);
|
|
28609
28641
|
i0.ɵɵpipe(2, "ccdIsCompound");
|
|
28610
|
-
i0.ɵɵtemplate(3,
|
|
28642
|
+
i0.ɵɵtemplate(3, CaseEditSubmitComponent_div_12_ng_container_2_ng_container_3_tr_3_Template, 5, 6, "tr", 30)(4, CaseEditSubmitComponent_div_12_ng_container_2_ng_container_3_tr_4_Template, 3, 6, "tr", 31);
|
|
28611
28643
|
i0.ɵɵelementContainerEnd()();
|
|
28612
28644
|
} if (rf & 2) {
|
|
28613
28645
|
const field_r6 = ctx.$implicit;
|
|
@@ -28618,10 +28650,10 @@ function CaseEditSubmitComponent_div_0_ng_container_13_ng_container_3_Template(r
|
|
|
28618
28650
|
i0.ɵɵadvance();
|
|
28619
28651
|
i0.ɵɵproperty("ngSwitchCase", false);
|
|
28620
28652
|
} }
|
|
28621
|
-
function
|
|
28653
|
+
function CaseEditSubmitComponent_div_12_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
28622
28654
|
i0.ɵɵelementContainerStart(0);
|
|
28623
28655
|
i0.ɵɵelementStart(1, "table", 28)(2, "tbody");
|
|
28624
|
-
i0.ɵɵtemplate(3,
|
|
28656
|
+
i0.ɵɵtemplate(3, CaseEditSubmitComponent_div_12_ng_container_2_ng_container_3_Template, 5, 5, "ng-container", 19);
|
|
28625
28657
|
i0.ɵɵelementEnd()();
|
|
28626
28658
|
i0.ɵɵelementContainerEnd();
|
|
28627
28659
|
} if (rf & 2) {
|
|
@@ -28629,7 +28661,7 @@ function CaseEditSubmitComponent_div_0_ng_container_13_Template(rf, ctx) { if (r
|
|
|
28629
28661
|
i0.ɵɵadvance(3);
|
|
28630
28662
|
i0.ɵɵproperty("ngForOf", ctx_r1.showSummaryFields);
|
|
28631
28663
|
} }
|
|
28632
|
-
function
|
|
28664
|
+
function CaseEditSubmitComponent_div_12_ng_container_3_span_8_Template(rf, ctx) { if (rf & 1) {
|
|
28633
28665
|
i0.ɵɵelementStart(0, "span", 48);
|
|
28634
28666
|
i0.ɵɵtext(1);
|
|
28635
28667
|
i0.ɵɵpipe(2, "ccdFirstError");
|
|
@@ -28640,7 +28672,7 @@ function CaseEditSubmitComponent_div_0_ng_container_14_span_8_Template(rf, ctx)
|
|
|
28640
28672
|
i0.ɵɵadvance();
|
|
28641
28673
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 4, i0.ɵɵpipeBind2(2, 1, ctx_r1.summary.errors, ctx_r1.eventSummaryLabel)), " ");
|
|
28642
28674
|
} }
|
|
28643
|
-
function
|
|
28675
|
+
function CaseEditSubmitComponent_div_12_ng_container_3_span_13_Template(rf, ctx) { if (rf & 1) {
|
|
28644
28676
|
i0.ɵɵelementStart(0, "span", 48);
|
|
28645
28677
|
i0.ɵɵtext(1);
|
|
28646
28678
|
i0.ɵɵpipe(2, "ccdFirstError");
|
|
@@ -28651,7 +28683,7 @@ function CaseEditSubmitComponent_div_0_ng_container_14_span_13_Template(rf, ctx)
|
|
|
28651
28683
|
i0.ɵɵadvance();
|
|
28652
28684
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 4, i0.ɵɵpipeBind2(2, 1, ctx_r1.description.errors, ctx_r1.eventDescriptionLabel)), " ");
|
|
28653
28685
|
} }
|
|
28654
|
-
function
|
|
28686
|
+
function CaseEditSubmitComponent_div_12_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
28655
28687
|
i0.ɵɵelementContainerStart(0);
|
|
28656
28688
|
i0.ɵɵelementStart(1, "fieldset", 39);
|
|
28657
28689
|
i0.ɵɵelement(2, "legend", 40);
|
|
@@ -28660,13 +28692,13 @@ function CaseEditSubmitComponent_div_0_ng_container_14_Template(rf, ctx) { if (r
|
|
|
28660
28692
|
i0.ɵɵelementStart(6, "span", 43);
|
|
28661
28693
|
i0.ɵɵtext(7, "A few words describing the purpose of the event.");
|
|
28662
28694
|
i0.ɵɵelementEnd()();
|
|
28663
|
-
i0.ɵɵtemplate(8,
|
|
28695
|
+
i0.ɵɵtemplate(8, CaseEditSubmitComponent_div_12_ng_container_3_span_8_Template, 4, 6, "span", 44);
|
|
28664
28696
|
i0.ɵɵelement(9, "input", 45);
|
|
28665
28697
|
i0.ɵɵelementEnd();
|
|
28666
28698
|
i0.ɵɵelementStart(10, "div", 41)(11, "label", 46);
|
|
28667
28699
|
i0.ɵɵtext(12, "Event description (optional)");
|
|
28668
28700
|
i0.ɵɵelementEnd();
|
|
28669
|
-
i0.ɵɵtemplate(13,
|
|
28701
|
+
i0.ɵɵtemplate(13, CaseEditSubmitComponent_div_12_ng_container_3_span_13_Template, 4, 6, "span", 44);
|
|
28670
28702
|
i0.ɵɵelement(14, "textarea", 47);
|
|
28671
28703
|
i0.ɵɵelementEnd()();
|
|
28672
28704
|
i0.ɵɵelementContainerEnd();
|
|
@@ -28685,84 +28717,41 @@ function CaseEditSubmitComponent_div_0_ng_container_14_Template(rf, ctx) { if (r
|
|
|
28685
28717
|
i0.ɵɵadvance();
|
|
28686
28718
|
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)));
|
|
28687
28719
|
} }
|
|
28688
|
-
function
|
|
28689
|
-
|
|
28690
|
-
i0.ɵɵ
|
|
28691
|
-
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()); });
|
|
28692
|
-
i0.ɵɵtext(1);
|
|
28693
|
-
i0.ɵɵpipe(2, "rpxTranslate");
|
|
28694
|
-
i0.ɵɵelementEnd();
|
|
28695
|
-
} if (rf & 2) {
|
|
28696
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
28697
|
-
i0.ɵɵproperty("disabled", !ctx_r1.hasPrevious() || ctx_r1.caseEdit.isSubmitting);
|
|
28698
|
-
i0.ɵɵadvance();
|
|
28699
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 2, "Previous"), " ");
|
|
28700
|
-
} }
|
|
28701
|
-
function CaseEditSubmitComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
28702
|
-
const _r1 = i0.ɵɵgetCurrentView();
|
|
28703
|
-
i0.ɵɵelementStart(0, "div")(1, "h1", 4);
|
|
28704
|
-
i0.ɵɵtext(2);
|
|
28705
|
-
i0.ɵɵpipe(3, "rpxTranslate");
|
|
28720
|
+
function CaseEditSubmitComponent_div_12_Template(rf, ctx) { if (rf & 1) {
|
|
28721
|
+
i0.ɵɵelementStart(0, "div");
|
|
28722
|
+
i0.ɵɵtemplate(1, CaseEditSubmitComponent_div_12_ng_container_1_Template, 8, 5, "ng-container", 7)(2, CaseEditSubmitComponent_div_12_ng_container_2_Template, 4, 1, "ng-container", 7)(3, CaseEditSubmitComponent_div_12_ng_container_3_Template, 15, 14, "ng-container", 7);
|
|
28706
28723
|
i0.ɵɵelementEnd();
|
|
28707
|
-
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);
|
|
28708
|
-
i0.ɵɵelement(9, "ccd-case-edit-generic-errors", 6);
|
|
28709
|
-
i0.ɵɵelementStart(10, "ccd-callback-errors", 7);
|
|
28710
|
-
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)); });
|
|
28711
|
-
i0.ɵɵelementEnd();
|
|
28712
|
-
i0.ɵɵelementStart(11, "form", 8);
|
|
28713
|
-
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()); });
|
|
28714
|
-
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);
|
|
28715
|
-
i0.ɵɵelementStart(15, "div", 9);
|
|
28716
|
-
i0.ɵɵtemplate(16, CaseEditSubmitComponent_div_0_button_16_Template, 3, 4, "button", 10);
|
|
28717
|
-
i0.ɵɵelementStart(17, "button", 11);
|
|
28718
|
-
i0.ɵɵtext(18);
|
|
28719
|
-
i0.ɵɵpipe(19, "rpxTranslate");
|
|
28720
|
-
i0.ɵɵelementEnd()();
|
|
28721
|
-
i0.ɵɵelementStart(20, "p", 12)(21, "a", 13);
|
|
28722
|
-
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()); });
|
|
28723
|
-
i0.ɵɵtext(22);
|
|
28724
|
-
i0.ɵɵpipe(23, "rpxTranslate");
|
|
28725
|
-
i0.ɵɵelementEnd()()()();
|
|
28726
28724
|
} if (rf & 2) {
|
|
28727
|
-
const titleBlock_r8 = i0.ɵɵreference(6);
|
|
28728
|
-
const idBlock_r9 = i0.ɵɵreference(8);
|
|
28729
28725
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
28730
|
-
i0.ɵɵadvance(2);
|
|
28731
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 16, ctx_r1.eventTrigger.name));
|
|
28732
|
-
i0.ɵɵadvance(2);
|
|
28733
|
-
i0.ɵɵproperty("ngIf", ctx_r1.getCaseTitle())("ngIfThen", titleBlock_r8)("ngIfElse", idBlock_r9);
|
|
28734
|
-
i0.ɵɵadvance(5);
|
|
28735
|
-
i0.ɵɵproperty("error", ctx_r1.caseEdit.error);
|
|
28736
|
-
i0.ɵɵadvance();
|
|
28737
|
-
i0.ɵɵproperty("callbackErrorsSubject", ctx_r1.caseEdit.callbackErrorsSubject);
|
|
28738
|
-
i0.ɵɵadvance();
|
|
28739
|
-
i0.ɵɵproperty("formGroup", ctx_r1.editForm);
|
|
28740
28726
|
i0.ɵɵadvance();
|
|
28741
28727
|
i0.ɵɵproperty("ngIf", ctx_r1.checkYourAnswerFieldsToDisplayExists());
|
|
28742
28728
|
i0.ɵɵadvance();
|
|
28743
28729
|
i0.ɵɵproperty("ngIf", ctx_r1.readOnlySummaryFieldsToDisplayExists());
|
|
28744
28730
|
i0.ɵɵadvance();
|
|
28745
28731
|
i0.ɵɵproperty("ngIf", ctx_r1.showEventNotes());
|
|
28746
|
-
i0.ɵɵadvance(2);
|
|
28747
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.caseEdit.isCaseFlagSubmission);
|
|
28748
|
-
i0.ɵɵadvance();
|
|
28749
|
-
i0.ɵɵproperty("disabled", ctx_r1.isDisabled);
|
|
28750
|
-
i0.ɵɵadvance();
|
|
28751
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(19, 18, ctx_r1.triggerText), " ");
|
|
28752
|
-
i0.ɵɵadvance(3);
|
|
28753
|
-
i0.ɵɵclassProp("disabled", ctx_r1.caseEdit.isSubmitting);
|
|
28754
|
-
i0.ɵɵadvance();
|
|
28755
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(23, 20, ctx_r1.getCancelText()));
|
|
28756
28732
|
} }
|
|
28757
|
-
function
|
|
28758
|
-
const
|
|
28759
|
-
i0.ɵɵelementStart(0, "ccd-case-event-completion",
|
|
28760
|
-
i0.ɵɵlistener("eventCanBeCompleted", function
|
|
28733
|
+
function CaseEditSubmitComponent_ccd_case_event_completion_13_Template(rf, ctx) { if (rf & 1) {
|
|
28734
|
+
const _r7 = i0.ɵɵgetCurrentView();
|
|
28735
|
+
i0.ɵɵelementStart(0, "ccd-case-event-completion", 49);
|
|
28736
|
+
i0.ɵɵlistener("eventCanBeCompleted", function CaseEditSubmitComponent_ccd_case_event_completion_13_Template_ccd_case_event_completion_eventCanBeCompleted_0_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onEventCanBeCompleted($event)); });
|
|
28761
28737
|
i0.ɵɵelementEnd();
|
|
28762
28738
|
} if (rf & 2) {
|
|
28763
28739
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
28764
28740
|
i0.ɵɵproperty("eventCompletionParams", ctx_r1.caseEdit.eventCompletionParams);
|
|
28765
28741
|
} }
|
|
28742
|
+
function CaseEditSubmitComponent_button_15_Template(rf, ctx) { if (rf & 1) {
|
|
28743
|
+
const _r8 = i0.ɵɵgetCurrentView();
|
|
28744
|
+
i0.ɵɵelementStart(0, "button", 50);
|
|
28745
|
+
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()); });
|
|
28746
|
+
i0.ɵɵtext(1);
|
|
28747
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
28748
|
+
i0.ɵɵelementEnd();
|
|
28749
|
+
} if (rf & 2) {
|
|
28750
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
28751
|
+
i0.ɵɵproperty("disabled", !ctx_r1.hasPrevious() || ctx_r1.caseEdit.isSubmitting);
|
|
28752
|
+
i0.ɵɵadvance();
|
|
28753
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 2, "Previous"), " ");
|
|
28754
|
+
} }
|
|
28766
28755
|
// @dynamic
|
|
28767
28756
|
class CaseEditSubmitComponent {
|
|
28768
28757
|
caseEdit;
|
|
@@ -29000,17 +28989,63 @@ class CaseEditSubmitComponent {
|
|
|
29000
28989
|
return 'Cancel';
|
|
29001
28990
|
}
|
|
29002
28991
|
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)); };
|
|
29003
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseEditSubmitComponent, selectors: [["ccd-case-edit-submit"]], decls:
|
|
29004
|
-
|
|
28992
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseEditSubmitComponent, selectors: [["ccd-case-edit-submit"]], decls: 23, vars: 21, consts: [["titleBlock", ""], ["idBlock", ""], [1, "govuk-heading-l"], [4, "ngIf", "ngIfThen", "ngIfElse"], [3, "error"], [3, "callbackErrorsContext", "callbackErrorsSubject"], [1, "check-your-answers", 3, "submit", "formGroup"], [4, "ngIf"], [3, "eventCompletionParams", "eventCanBeCompleted", 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"], ["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"], [3, "eventCanBeCompleted", "eventCompletionParams"], ["type", "button", 1, "button", "button-secondary", 3, "click", "disabled"]], template: function CaseEditSubmitComponent_Template(rf, ctx) { if (rf & 1) {
|
|
28993
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
28994
|
+
i0.ɵɵelementStart(0, "div")(1, "h1", 2);
|
|
28995
|
+
i0.ɵɵtext(2);
|
|
28996
|
+
i0.ɵɵpipe(3, "rpxTranslate");
|
|
28997
|
+
i0.ɵɵelementEnd();
|
|
28998
|
+
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);
|
|
28999
|
+
i0.ɵɵelement(9, "ccd-case-edit-generic-errors", 4);
|
|
29000
|
+
i0.ɵɵelementStart(10, "ccd-callback-errors", 5);
|
|
29001
|
+
i0.ɵɵlistener("callbackErrorsContext", function CaseEditSubmitComponent_Template_ccd_callback_errors_callbackErrorsContext_10_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.callbackErrorsNotify($event)); });
|
|
29002
|
+
i0.ɵɵelementEnd();
|
|
29003
|
+
i0.ɵɵelementStart(11, "form", 6);
|
|
29004
|
+
i0.ɵɵlistener("submit", function CaseEditSubmitComponent_Template_form_submit_11_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.submit()); });
|
|
29005
|
+
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);
|
|
29006
|
+
i0.ɵɵelementStart(14, "div", 9);
|
|
29007
|
+
i0.ɵɵtemplate(15, CaseEditSubmitComponent_button_15_Template, 3, 4, "button", 10);
|
|
29008
|
+
i0.ɵɵelementStart(16, "button", 11);
|
|
29009
|
+
i0.ɵɵtext(17);
|
|
29010
|
+
i0.ɵɵpipe(18, "rpxTranslate");
|
|
29011
|
+
i0.ɵɵelementEnd()();
|
|
29012
|
+
i0.ɵɵelementStart(19, "p", 12)(20, "a", 13);
|
|
29013
|
+
i0.ɵɵlistener("click", function CaseEditSubmitComponent_Template_a_click_20_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.cancel()); });
|
|
29014
|
+
i0.ɵɵtext(21);
|
|
29015
|
+
i0.ɵɵpipe(22, "rpxTranslate");
|
|
29016
|
+
i0.ɵɵelementEnd()()()();
|
|
29005
29017
|
} if (rf & 2) {
|
|
29018
|
+
const titleBlock_r9 = i0.ɵɵreference(6);
|
|
29019
|
+
const idBlock_r10 = i0.ɵɵreference(8);
|
|
29020
|
+
i0.ɵɵadvance(2);
|
|
29021
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 15, ctx.eventTrigger.name));
|
|
29022
|
+
i0.ɵɵadvance(2);
|
|
29023
|
+
i0.ɵɵproperty("ngIf", ctx.getCaseTitle())("ngIfThen", titleBlock_r9)("ngIfElse", idBlock_r10);
|
|
29024
|
+
i0.ɵɵadvance(5);
|
|
29025
|
+
i0.ɵɵproperty("error", ctx.caseEdit.error);
|
|
29026
|
+
i0.ɵɵadvance();
|
|
29027
|
+
i0.ɵɵproperty("callbackErrorsSubject", ctx.caseEdit.callbackErrorsSubject);
|
|
29028
|
+
i0.ɵɵadvance();
|
|
29029
|
+
i0.ɵɵproperty("formGroup", ctx.editForm);
|
|
29030
|
+
i0.ɵɵadvance();
|
|
29006
29031
|
i0.ɵɵproperty("ngIf", !ctx.caseEdit.isEventCompletionChecksRequired);
|
|
29007
29032
|
i0.ɵɵadvance();
|
|
29008
29033
|
i0.ɵɵproperty("ngIf", ctx.caseEdit.isEventCompletionChecksRequired);
|
|
29034
|
+
i0.ɵɵadvance(2);
|
|
29035
|
+
i0.ɵɵproperty("ngIf", !ctx.caseEdit.isCaseFlagSubmission);
|
|
29036
|
+
i0.ɵɵadvance();
|
|
29037
|
+
i0.ɵɵproperty("disabled", ctx.isDisabled);
|
|
29038
|
+
i0.ɵɵadvance();
|
|
29039
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(18, 17, ctx.triggerText), " ");
|
|
29040
|
+
i0.ɵɵadvance(3);
|
|
29041
|
+
i0.ɵɵclassProp("disabled", ctx.caseEdit.isSubmitting);
|
|
29042
|
+
i0.ɵɵadvance();
|
|
29043
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(22, 19, ctx.getCancelText()));
|
|
29009
29044
|
} }, 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%}"] });
|
|
29010
29045
|
}
|
|
29011
29046
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseEditSubmitComponent, [{
|
|
29012
29047
|
type: Component,
|
|
29013
|
-
args: [{ selector: 'ccd-case-edit-submit', template: "<div
|
|
29048
|
+
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 <div *ngIf=\"!caseEdit.isEventCompletionChecksRequired\">\n <ng-container *ngIf=\"checkYourAnswerFieldsToDisplayExists()\">\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>\n <ccd-case-event-completion *ngIf=\"caseEdit.isEventCompletionChecksRequired\"\n [eventCompletionParams]=\"caseEdit.eventCompletionParams\"\n (eventCanBeCompleted)=\"onEventCanBeCompleted($event)\">\n </ccd-case-event-completion>\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\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"] }]
|
|
29014
29049
|
}], () => [{ type: CaseEditComponent }, { type: FieldsUtils }, { type: CaseFieldService }, { type: i1$1.ActivatedRoute }, { type: OrderService }, { type: ProfileNotifier }, { type: FormValidatorsService }], null); })();
|
|
29015
29050
|
(() => { (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 }); })();
|
|
29016
29051
|
|